Skip to content

sentinel_one: fix duplicate event ingestion in threat_event and application_risk#20211

Merged
efd6 merged 1 commit into
elastic:mainfrom
efd6:s7342-sentinel_one-highwater
Jul 20, 2026
Merged

sentinel_one: fix duplicate event ingestion in threat_event and application_risk#20211
efd6 merged 1 commit into
elastic:mainfrom
efd6:s7342-sentinel_one-highwater

Conversation

@efd6

@efd6 efd6 commented Jul 19, 2026

Copy link
Copy Markdown
Contributor

Proposed commit message

sentinel_one: fix duplicate event ingestion in threat_event and application_risk

Add a time watermark (updatedAt__gte) to the threat_event CEL program
so each interval only fetches threats updated since the last completed
walk, rather than re-walking the entire catalog. The high-water mark
is tracked in cursor.last_timestamp and seeded from a new
initial_interval manifest variable on the first run. The default poll
interval drops from 24h to 5m since the watermark eliminates full
re-walks.

Add fingerprint processors to both the threat_event and
application_risk ingest pipelines so that re-emitted documents with
the same id are rejected within a backing index rather than
accumulating as duplicates.

Checklist

  • I have reviewed tips for building integrations and this pull request is aligned with them.
  • I have verified that all data streams collect metrics or logs.
  • I have added an entry to my package's changelog.yml file.
  • I have verified that Kibana version constraints are current according to guidelines.
  • I have verified that any added dashboard complies with Kibana's Dashboard good practices

Author's Checklist

  • [ ]

How to test this PR locally

Related issues

Screenshots

@efd6 efd6 self-assigned this Jul 19, 2026
@efd6 efd6 added Integration:sentinel_one SentinelOne bugfix Pull request that fixes a bug issue Team:Security-Service Integrations Security Service Integrations team [elastic/security-service-integrations] labels Jul 19, 2026
@efd6
efd6 force-pushed the s7342-sentinel_one-highwater branch from 23ddcba to 25194e0 Compare July 19, 2026 21:32
@github-actions

Copy link
Copy Markdown
Contributor

✅ Elastic Docs Style Checker (Vale)

No issues found on modified lines!


The Vale linter checks documentation changes against the Elastic Docs style guide. To use Vale locally or report issues, refer to Elastic style guide for Vale.

@elastic-vault-github-plugin-prod

elastic-vault-github-plugin-prod Bot commented Jul 19, 2026

Copy link
Copy Markdown
Contributor

🚀 Benchmarks report

Package sentinel_one 👍(5) 💚(10) 💔(3)

Expand to view
Data stream Previous EPS New EPS Diff (%) Result
threat_event 10060.36 5952.38 -4107.98 (-40.83%) 💔
application_risk 13661.2 9442.87 -4218.33 (-30.88%) 💔
threat_event 10060.36 8163.27 -1897.09 (-18.86%) 💔

To see the full report comment with /test benchmark fullreport

@efd6
efd6 marked this pull request as ready for review July 19, 2026 22:28
@efd6
efd6 requested review from a team as code owners July 19, 2026 22:28
@infra-vault-gh-plugin-prod

Copy link
Copy Markdown

Pinging @elastic/security-service-integrations (Team:Security-Service Integrations)

…cation_risk

Add a time watermark (updatedAt__gte) to the threat_event CEL program
so each interval only fetches threats updated since the last completed
walk, rather than re-walking the entire catalog. The high-water mark
is tracked in cursor.last_timestamp and seeded from a new
initial_interval manifest variable on the first run. The default poll
interval drops from 24h to 5m since the watermark eliminates full
re-walks.

Add fingerprint processors to both the threat_event and
application_risk ingest pipelines so that re-emitted documents with
the same id are rejected within a backing index rather than
accumulating as duplicates.
@efd6
efd6 force-pushed the s7342-sentinel_one-highwater branch from 25194e0 to 5e2e95f Compare July 20, 2026 08:10
@elastic-vault-github-plugin-prod

Copy link
Copy Markdown
Contributor

✅ All changelog entries have the correct PR link.

@vera-review-bot

Copy link
Copy Markdown

⚠️ @efd6 I couldn't complete the review for commits 5e2e95f after several attempts. A maintainer can re-run it with @vera-review-bot review.

@infra-vault-gh-plugin-prod

Copy link
Copy Markdown

💚 Build Succeeded

History

cc @efd6

@mergify

mergify Bot commented Jul 20, 2026

Copy link
Copy Markdown
Contributor

Tick the box to add this pull request to the merge queue (same as @mergifyio queue).

  • Queue this pull request

@efd6
efd6 merged commit ff31041 into elastic:main Jul 20, 2026
10 checks passed
@elastic-vault-github-plugin-prod

Copy link
Copy Markdown
Contributor

Package sentinel_one - 2.11.1 containing this change is available at https://epr.elastic.co/package/sentinel_one/2.11.1/

christophercutajar pushed a commit to christophercutajar/integrations that referenced this pull request Jul 21, 2026
…cation_risk (elastic#20211)

Add a time watermark (updatedAt__gte) to the threat_event CEL program
so each interval only fetches threats updated since the last completed
walk, rather than re-walking the entire catalog. The high-water mark
is tracked in cursor.last_timestamp and seeded from a new
initial_interval manifest variable on the first run. The default poll
interval drops from 24h to 5m since the watermark eliminates full
re-walks.

Add fingerprint processors to both the threat_event and
application_risk ingest pipelines so that re-emitted documents with
the same id are rejected within a backing index rather than
accumulating as duplicates.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bugfix Pull request that fixes a bug issue Integration:sentinel_one SentinelOne Team:Security-Service Integrations Security Service Integrations team [elastic/security-service-integrations]

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants