-
Notifications
You must be signed in to change notification settings - Fork 450
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[CrowdStrike] Add Support of Crowdstrike Event Stream #11773
base: main
Are you sure you want to change the base?
Changes from 2 commits
edfa58a
2679eec
e44c3fd
4d5507c
018d081
246fea3
f42a1c4
a3d39f8
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
@@ -0,0 +1,29 @@ | ||||||||||||||||
stream_type: crowdstrike | ||||||||||||||||
url: {{url}}/sensors/entities/datafeed/v2 | ||||||||||||||||
auth: | ||||||||||||||||
client_id: {{client_id}} | ||||||||||||||||
client_secret: {{client_secret}} | ||||||||||||||||
token_url: {{token_url}} | ||||||||||||||||
crowdstrike_app_id: {{app_id}} | ||||||||||||||||
redact: | ||||||||||||||||
fields: ~ | ||||||||||||||||
program: | | ||||||||||||||||
bytes(state.response).decode_json().as(body,{ | ||||||||||||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
We should not need the conversion since we are now on 8.16 which has mito v1.15.0 and the newer type checker. |
||||||||||||||||
"events": { | ||||||||||||||||
"message": body.encode_json(), | ||||||||||||||||
} | ||||||||||||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||||||||||||
}) | ||||||||||||||||
tags: | ||||||||||||||||
{{#if preserve_original_event}} | ||||||||||||||||
- preserve_original_event | ||||||||||||||||
{{/if}} | ||||||||||||||||
{{#each tags as |tag|}} | ||||||||||||||||
- {{tag}} | ||||||||||||||||
{{/each}} | ||||||||||||||||
{{#contains "forwarded" tags}} | ||||||||||||||||
publisher_pipeline.disable_host: true | ||||||||||||||||
{{/contains}} | ||||||||||||||||
processors: | ||||||||||||||||
{{#if processors}} | ||||||||||||||||
{{processors}} | ||||||||||||||||
{{/if}} | ||||||||||||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Final new line. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think we need to include this.