-
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 Solution]{{alert.id}} and {{state.signals_count}} Object not working #156472
Comments
Pinging @elastic/security-solution (Team: SecuritySolution) |
@sukhwindersingh-qasource Please review |
Pinging @elastic/security-detections-response (Team:Detections and Resp) |
cc @karanbirsingh-qasource |
correct @e40pud for "Summary of alerts" the alert.id object variable is not showing but we are thinking of if user manually add alert.id in message box so any way we can restrict that behavior also moreover for other case "for each alert" the state.signals_count is available in variable list in first place for user to add and use in message body. |
Right now you can add whatever you want, but only those options that are available in the popup will work. There is no way at the moment to highlight the objects that won't work. As for the |
…ic#156472) (elastic#156707) ## Summary Original ticket: elastic#156472 These changes adds `{{state.signals_count}}` object to be available in message body for the `"For each alert"` option. (cherry picked from commit 99e5e38)
* main: (153 commits) [Security Solution] {{state.signals_count}} Object not working (#156472) (#156707) [Synthetics] refresh data on visualization scrubbing (#156777) [RAM] Docs for slack improvements (#153885) [RAM] Alert search bar only KQL (#155947) [ML] Functional tests - stabilize export job tests (#156586) [Saved Search] Update saved search schema to allow empty `sort` arrays (#156769) [ML] Rename `curated` model type to `elastic` (#156684) [Discover] Enable sharing for text based languages (#156652) [api-docs] 2023-05-05 Daily api_docs build (#156781) Upgrade EUI to v77.2.2 (#155208) [RAM][Maintenance Window][8.8]Fix window maintenance workflow (#156427) [DOCS] Case file attachments (#156459) [D4C] additional error handling for 'block' action added + policy editor UI fixes (#156629) [Enterprise Search] refactor(SearchApplications): rename telemetry ids (#156733) [Enterprise Search] Add telemetry to ELSER deployment buttons + error (#156545) [Security Solution] fixes Data Quality dashboard errors when a `basePath` is configured (#156233) [Logs onboarding] StepsFooter outside of main panel (#156686) [Security Solution] Add a migration to unmute custom Security Solution rules (#156593) [Enterprise Search][Behavioral Analytics] Update formulas (#156704) Add API Events to Endpoint Security Advanced Policy (#156718) ...
…156472) (#156707) (#156800) # Backport This will backport the following commits from `main` to `8.8`: - [[Security Solution] {{state.signals_count}} Object not working (#156472) (#156707)](#156707) <!--- Backport version: 8.9.7 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"Ievgen Sorokopud","email":"ievgen.sorokopud@elastic.co"},"sourceCommit":{"committedDate":"2023-05-05T08:23:37Z","message":"[Security Solution] {{state.signals_count}} Object not working (#156472) (#156707)\n\n## Summary\r\n\r\nOriginal ticket: https://github.com/elastic/kibana/issues/156472\r\n\r\nThese changes adds `{{state.signals_count}}` object to be available in\r\nmessage body for the `\"For each alert\"` option.","sha":"99e5e38111b9c82fca16645f939628aa72bfef73","branchLabelMapping":{"^v8.9.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","Team:ResponseOps","Team:Detection Alerts","backport:prev-minor","ci:cloud-deploy","v8.9.0"],"number":156707,"url":"https://github.com/elastic/kibana/pull/156707","mergeCommit":{"message":"[Security Solution] {{state.signals_count}} Object not working (#156472) (#156707)\n\n## Summary\r\n\r\nOriginal ticket: https://github.com/elastic/kibana/issues/156472\r\n\r\nThese changes adds `{{state.signals_count}}` object to be available in\r\nmessage body for the `\"For each alert\"` option.","sha":"99e5e38111b9c82fca16645f939628aa72bfef73"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v8.9.0","labelRegex":"^v8.9.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/156707","number":156707,"mergeCommit":{"message":"[Security Solution] {{state.signals_count}} Object not working (#156472) (#156707)\n\n## Summary\r\n\r\nOriginal ticket: https://github.com/elastic/kibana/issues/156472\r\n\r\nThese changes adds `{{state.signals_count}}` object to be available in\r\nmessage body for the `\"For each alert\"` option.","sha":"99e5e38111b9c82fca16645f939628aa72bfef73"}}]}] BACKPORT--> Co-authored-by: Ievgen Sorokopud <ievgen.sorokopud@elastic.co>
@karanbirsingh-qasource @MadameSheema this bug was fixed and merged in both main and 8.8 branches. |
awesome!! thanks @e40pud !! :) @karanbirsingh-qasource please validate the fix on BC3. Thanks! |
we have validated this issue on 8.8 BC3 and found the issue to be fixed ✔️ . Build Details:
Screen-Cast: Hence we are Closing this issue and adding thanks !! c.c @e40pud |
Describe the bug
{{alert.id}} and {{state.signals_count}} Object not working
Build Details:
Pre-conditions
Steps
{{state.signals_count}}
Rule {{context.rule.name}} generated {{state.signals_count}} alerts {{alert.id}}
Expected Result
Screen-Shot
Rules.-.Kibana.Mozilla.Firefox.2023-05-03.12-58-10.mp4
The text was updated successfully, but these errors were encountered: