Skip to content
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

[8.1] Add Internal Alert/Signal ID to Endpoint Alert telemetry (#126216) #126739

Merged
merged 1 commit into from
Mar 3, 2022

Conversation

kibanamachine
Copy link
Contributor

Backport

This is an automatic backport to 8.1 of:

Questions ?

Please refer to the Backport tool documentation

)

* Attach the internal signal_id to the endpoint alert to join with insights

* Ensure we forward signal_id field properly

* Don't think we need to explicitly define the field in the top-level since it satisfies the key:string

* Updated unit test to check for signal id enrichment

* Addressed some comments about alert_id enrichment

* Refactored send_telemetry_events to be more performant and idiomatic

* Added test cases with a non-matching enrichment or non-existing enrichment

* Broke some tests that don't assume QueueTelemetryEvents are endpoint.alerts

* my types were still off

* Addressed comments to use more idiomatic 'toString' function

* Fixed 'Cannot access signalIdMap before initialization name' in reduce by instatiating map prior to reduce

Co-authored-by: Kibana Machine <[email protected]>
(cherry picked from commit 2f083bf)
@kibana-ci
Copy link
Collaborator

💚 Build Succeeded

Metrics [docs]

Unknown metric groups

ESLint disabled in files

id before after diff
securitySolution 67 68 +1

Total ESLint disabled count

id before after diff
securitySolution 514 515 +1

To update your PR or re-run it, just comment with:
@elasticmachine merge upstream

cc @donaherc

@kibanamachine kibanamachine merged commit 573f60e into elastic:8.1 Mar 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants