elastic / kibana

Your window into the Elastic Stack
https://www.elastic.co/products/kibana
Other
19.35k stars 7.98k forks source link

[Security solution] Add additional properties to attack discovery telemetry #182249

Closed stephmilovic closed 2 weeks ago

stephmilovic commented 2 weeks ago

Summary

Adds 3 new properties to the reportAttackDiscoveriesGenerated telemetry event: durationMs, alertsCount, and configuredAlertsCount. These fields represent how long the request took, how many alerts were used for the generation, and how many alerts were configured by the user for the generation.

I also added the provider and model arguments which were already defined, but not passed. Here is an example of what this looks like for Bedrock and Azure:

Screenshot 2024-05-01 at 12 56 07 PM Screenshot 2024-05-01 at 12 57 06 PM

CODEOWNERS change

Added the attack_discovery dir to be under @elastic/security-generative-ai ownership 👍

elasticmachine commented 2 weeks ago

Pinging @elastic/security-solution (Team: SecuritySolution)

kibana-ci commented 2 weeks ago

:green_heart: Build Succeeded

The CI Stats report is too large to be displayed here, check out the CI build annotation for this information.

History

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

kibanamachine commented 2 weeks ago

💔 All backports failed

Status Branch Result
8.14 Backport failed because of merge conflicts

You might need to backport the following PRs to 8.14:
- Don't render exceptions flyout if data is loading (#181588)
- [Obs AI Assistant] register alert details context in observability plugin (#181501)
- [Security Solution][Endpoint] Add validation to ensure a SentinelOne agent ID exists when enabling the Respond Take Action option (#182158)
- [Obs AI Assistant] Remove unneeded plugin references (#182116)

Manual backport

To create the backport manually run:

node scripts/backport --pr 182249

Questions ?

Please refer to the Backport tool documentation

stephmilovic commented 1 week ago

💚 All backports created successfully

Status Branch Result
8.14

Note: Successful backport PRs will be merged automatically after passing CI.

Questions ?

Please refer to the Backport tool documentation