-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
[Security assistant] Fix invoke_assistant_success
telemetry schema
#204280
Conversation
Pinging @elastic/security-solution (Team: SecuritySolution) |
invoke_assistant_success
telemetry schema
💚 Build Succeeded
Metrics [docs]
|
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.
Checked locally and do not see the error anymore. Thanks for the fix!
@elasticmachine merge upstream |
Starting backport for target branches: 8.16, 8.17, 8.x |
…elastic#204280) (cherry picked from commit 86fe148)
💔 Some backports could not be created
Note: Successful backport PRs will be merged automatically after passing CI. Manual backportTo create the backport manually run:
Questions ?Please refer to the Backport tool documentation |
…elastic#204280) (cherry picked from commit 86fe148) # Conflicts: # x-pack/plugins/security_solution/server/assistant/tools/index.ts
💚 All backports created successfully
Note: Successful backport PRs will be merged automatically after passing CI. Questions ?Please refer to the Backport tool documentation |
…elastic#204280) (cherry picked from commit 86fe148) # Conflicts: # x-pack/plugins/security_solution/server/assistant/tools/index.ts
… schema (#204280) (#204453) # Backport This will backport the following commits from `main` to `8.17`: - [[Security assistant] Fix `invoke_assistant_success ` telemetry schema (#204280)](#204280) <!--- Backport version: 8.9.8 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"Steph Milovic","email":"stephanie.milovic@elastic.co"},"sourceCommit":{"committedDate":"2024-12-16T17:00:59Z","message":"[Security assistant] Fix `invoke_assistant_success ` telemetry schema (#204280)","sha":"86fe148e963f2afaaa02cc1160a58bb959904a5c","branchLabelMapping":{"^v9.0.0$":"main","^v8.18.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","v9.0.0","Team: SecuritySolution","backport:prev-major","Team:Security Generative AI"],"number":204280,"url":"https://github.com/elastic/kibana/pull/204280","mergeCommit":{"message":"[Security assistant] Fix `invoke_assistant_success ` telemetry schema (#204280)","sha":"86fe148e963f2afaaa02cc1160a58bb959904a5c"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","labelRegex":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/204280","number":204280,"mergeCommit":{"message":"[Security assistant] Fix `invoke_assistant_success ` telemetry schema (#204280)","sha":"86fe148e963f2afaaa02cc1160a58bb959904a5c"}},{"url":"https://github.com/elastic/kibana/pull/204451","number":204451,"branch":"8.x","state":"OPEN"}]}] BACKPORT-->
…telemetry schema (#204280) (#204451) # Backport This will backport the following commits from `main` to `8.x`: - [[Security assistant] Fix `invoke_assistant_success ` telemetry schema (#204280)](#204280) <!--- Backport version: 9.4.3 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"Steph Milovic","email":"stephanie.milovic@elastic.co"},"sourceCommit":{"committedDate":"2024-12-16T17:00:59Z","message":"[Security assistant] Fix `invoke_assistant_success ` telemetry schema (#204280)","sha":"86fe148e963f2afaaa02cc1160a58bb959904a5c","branchLabelMapping":{"^v9.0.0$":"main","^v8.18.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","v9.0.0","Team: SecuritySolution","backport:prev-major","Team:Security Generative AI"],"title":"[Security assistant] Fix `invoke_assistant_success ` telemetry schema","number":204280,"url":"https://github.com/elastic/kibana/pull/204280","mergeCommit":{"message":"[Security assistant] Fix `invoke_assistant_success ` telemetry schema (#204280)","sha":"86fe148e963f2afaaa02cc1160a58bb959904a5c"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/204280","number":204280,"mergeCommit":{"message":"[Security assistant] Fix `invoke_assistant_success ` telemetry schema (#204280)","sha":"86fe148e963f2afaaa02cc1160a58bb959904a5c"}}]}] BACKPORT--> Co-authored-by: Steph Milovic <stephanie.milovic@elastic.co>
Looks like this PR has backport PRs but they still haven't been merged. Please merge them ASAP to keep the branches relatively in sync. |
… schema (#204280) (#204454) # Backport This will backport the following commits from `main` to `8.16`: - [[Security assistant] Fix `invoke_assistant_success ` telemetry schema (#204280)](#204280) <!--- Backport version: 8.9.8 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"Steph Milovic","email":"stephanie.milovic@elastic.co"},"sourceCommit":{"committedDate":"2024-12-16T17:00:59Z","message":"[Security assistant] Fix `invoke_assistant_success ` telemetry schema (#204280)","sha":"86fe148e963f2afaaa02cc1160a58bb959904a5c","branchLabelMapping":{"^v9.0.0$":"main","^v8.18.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","v9.0.0","Team: SecuritySolution","backport:prev-major","Team:Security Generative AI"],"number":204280,"url":"https://github.com/elastic/kibana/pull/204280","mergeCommit":{"message":"[Security assistant] Fix `invoke_assistant_success ` telemetry schema (#204280)","sha":"86fe148e963f2afaaa02cc1160a58bb959904a5c"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","labelRegex":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/204280","number":204280,"mergeCommit":{"message":"[Security assistant] Fix `invoke_assistant_success ` telemetry schema (#204280)","sha":"86fe148e963f2afaaa02cc1160a58bb959904a5c"}},{"url":"https://github.com/elastic/kibana/pull/204451","number":204451,"branch":"8.x","state":"OPEN"}]}] BACKPORT--> Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
Summary
For the
invoke_assistant_success
event, I had thetoolsInvoked
schema defined incorrectly. The data still reached the telemetry server and is searchable, but the result was a warning in the console:Correcting the schema clears the error
To test
toolsInvoked
toolsInvoked
like this: