Skip to content

[sentinel_one] Map UpdatedAt Field to custom Threat updated Timestamp - #22720

Open
mohitjha-elastic wants to merge 3 commits into
elastic:mainfrom
mohitjha-elastic:sentinel_one-2.15.0
Open

mohitjha-elastic wants to merge 3 commits into
elastic:mainfrom
mohitjha-elastic:sentinel_one-2.15.0

Conversation

@mohitjha-elastic

Copy link
Copy Markdown
Contributor

Proposed commit message

sentinel_one: map threatInfo.updatedAt to custom threat updated timestamp field

Previously, threatInfo.updatedAt was mapped to the ECS @timestamp field. Since this
timestamp is required for comparison with created_at field, added a custom mapping to 
sentinel_one.threat.updated_at in the threat dataset.

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

How to test this PR locally

To test the integration:

  • Clone integrations repo.
  • Install elastic package locally.
  • Start elastic stack using elastic-package.
  • Move to integrations/packages/sentinel_one directory.
  • Run the following command to run tests.

elastic-package test -v

@mohitjha-elastic mohitjha-elastic self-assigned this Nov 25, 2026
@mohitjha-elastic
mohitjha-elastic requested review from a team as code owners November 25, 2026 10:10
@mohitjha-elastic mohitjha-elastic added enhancement New feature or request Integration:sentinel_one SentinelOne Team:Security-Service Integrations Security Service Integrations team [elastic/security-service-integrations] Team:SDE-Crest Crest developers on the Security Integrations team [elastic/sit-crest-contractors] labels Nov 25, 2026
@infra-vault-gh-plugin-prod

Copy link
Copy Markdown

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

Copilot AI balanced review requested due to automatic review settings November 25, 2026 10:10
@mergify

mergify Bot commented Nov 25, 2026

Copy link
Copy Markdown
Contributor

Tick the box to add this pull request to the merge queue (same as @mergifyio queue). If it does not match the queue conditions yet, it enters the queue once it does.

  • Queue this pull request once it meets the queue conditions

@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.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Changes recommended

The release note links to an unrelated PR, and the timestamp documentation omits the timeline.createdAt exception, requiring corrections to the link and generated docs.

2 open issues
What changed in this PR

Adds sentinel_one.threat.updated_at to the SentinelOne threat dataset so users can compare creation and last-update times without changing existing @timestamp behavior.

Changes:

  • Maps threatInfo.updatedAt to a custom date field.
  • Updates pipeline expectations, sample data, and documentation.
  • Bumps the package to version 2.15.0 and adds a changelog entry.
File Description
packages/​sentinel_one/​manifest.yml Bumps the package version to 2.15.0.
packages/​sentinel_one/​docs/​README.md Documents the field and updates the example event.
packages/​sentinel_one/​data_stream/​threat/​sample_event.json Adds the mapped update timestamp.
packages/​sentinel_one/​data_stream/​threat/​fields/​fields.yml Defines updated_at as a date field.
packages/​sentinel_one/​data_stream/​threat/​elasticsearch/​ingest_pipeline/​default.yml Parses the source timestamp into the custom field.
packages/​sentinel_one/​data_stream/​threat/​_dev/​test/​pipeline/​test-pipeline-threat.log-expected.json Adds expected timestamps to existing test events.
packages/​sentinel_one/​changelog.yml Records the enhancement.
packages/​sentinel_one/​_dev/​build/​docs/​README.md Adds timestamp guidance to the documentation template.

Review effort: Balanced

Comment thread packages/sentinel_one/changelog.yml Resolved
Copilot AI balanced review requested due to automatic review settings November 25, 2026 10:14

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

No active review issues block the addition of the threat update timestamp field.

1 open issue
1 resolved since last review

Review effort: Balanced

@elastic-vault-github-plugin-prod

Copy link
Copy Markdown
Contributor

🚀 Benchmarks report

To see the full report comment with /test benchmark fullreport

@efd6 efd6 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please address the Copilot concern.

@vera-review-bot

Copy link
Copy Markdown
Contributor

🟢 No issues across the latest commits 216050d.

A new commit triggers another review — at most once every 15 minutes. I skip the PR while it's approved or has merge conflicts.

🤖 AI-Generated Review | Vera Review Bot - v0.4.8 | 📚 Knowledge base: integration-skills

⚠️ Automated review — verify suggestions before applying.

@elastic-vault-github-plugin-prod

Copy link
Copy Markdown
Contributor

✅ All changelog entries have the correct PR link.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

No active review issues are reported for the change adding a separate threat update timestamp.

No open issues 🎉

1 resolved since last review

Review effort: Balanced

@infra-vault-gh-plugin-prod

Copy link
Copy Markdown

💚 Build Succeeded

History

cc @mohitjha-elastic

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request Integration:sentinel_one SentinelOne Team:SDE-Crest Crest developers on the Security Integrations team [elastic/sit-crest-contractors] 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.

3 participants