Skip to content

Conversation

navnit-elastic
Copy link
Contributor

@navnit-elastic navnit-elastic commented Sep 11, 2025

Proposed commit message

crowdstrike: migrate to combined alerts endpoint

Modify the CEL program to use "/alerts/combined/alerts/v1"
API endpoint in alert data stream.
Previously, it was making two API calls, first fetch alerts IDs
and then fetch the full details of each alert.

Migrate from "timestamp" field to "updated_timestamp" field
for sorting and cursor logic.

This commit modifies the system test configuration files
to use the new API endpoint.

Update the configuration variables and README
to ensure compatibility with the new API endpoint.

The previous implementation had few issues:

  1. It wasn't handling empty resources correctly in the first API call, resulted in duplicate records.
  2. The logic for updating page.start was not correct, See here.

API Documentation references (You will need CrowdStrike falcon credentials to open these):

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

@navnit-elastic navnit-elastic self-assigned this Sep 11, 2025
@navnit-elastic navnit-elastic added documentation Improvements or additions to documentation. Applied to PRs that modify *.md files. enhancement New feature or request Integration:crowdstrike CrowdStrike Category: Integration quality Category: Quality used for SI planning Team:Security-Service Integrations Security Service Integrations team [elastic/security-service-integrations] Team:Sit-Crest Crest developers on the Security Integrations team [elastic/sit-crest-contractors] labels Sep 11, 2025
@elastic-vault-github-plugin-prod

🚀 Benchmarks report

To see the full report comment with /test benchmark fullreport

@elasticmachine
Copy link

💚 Build Succeeded

History

cc @navnit-elastic

Copy link

@navnit-elastic navnit-elastic marked this pull request as ready for review September 12, 2025 07:00
@navnit-elastic navnit-elastic requested a review from a team as a code owner September 12, 2025 07:00
@elasticmachine
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Category: Integration quality Category: Quality used for SI planning documentation Improvements or additions to documentation. Applied to PRs that modify *.md files. enhancement New feature or request Integration:crowdstrike CrowdStrike Team:Security-Service Integrations Security Service Integrations team [elastic/security-service-integrations] Team:Sit-Crest Crest developers on the Security Integrations team [elastic/sit-crest-contractors]
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants