Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[8.8] [ResponseOps][Alerting] Some legacy mustache variables are not …
…rendering for Security Solution rules after upgrading to 8.8.x (#160451) (#160459) # Backport This will backport the following commits from `main` to `8.8`: - [[ResponseOps][Alerting] Some legacy mustache variables are not rendering for Security Solution rules after upgrading to 8.8.x (#160451)](#160451) <!--- Backport version: 8.9.7 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"Alexi Doak","email":"[email protected]"},"sourceCommit":{"committedDate":"2023-06-23T20:34:31Z","message":"[ResponseOps][Alerting] Some legacy mustache variables are not rendering for Security Solution rules after upgrading to 8.8.x (#160451)\n\nResolves https://github.com/elastic/kibana/issues/160446\r\n\r\n## Summary\r\n\r\nAdding the following variables to\r\n`x-pack/plugins/alerting/server/task_runner/transform_action_params.ts`:\r\n\r\n- alertId\r\n- alertName\r\n- spaceId\r\n- tags\r\n- params\r\n- alertInstanceId\r\n- alertActionGroup\r\n- alertActionGroupName\r\n- alert.id\r\n- alert.uuid\r\n- alert.actionGroup\r\n- alert.actionGroupName\r\n- alert.flapping\r\n\r\n\r\n### Checklist\r\n\r\n- [x] [Unit or functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere updated or added to match the most common scenarios","sha":"857ca82352d5bec70814b52d524fbe4c8757625a","branchLabelMapping":{"^v8.10.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:fix","Team:ResponseOps","v8.8.0","v8.9.0","v8.10.0"],"number":160451,"url":"https://github.com/elastic/kibana/pull/160451","mergeCommit":{"message":"[ResponseOps][Alerting] Some legacy mustache variables are not rendering for Security Solution rules after upgrading to 8.8.x (#160451)\n\nResolves https://github.com/elastic/kibana/issues/160446\r\n\r\n## Summary\r\n\r\nAdding the following variables to\r\n`x-pack/plugins/alerting/server/task_runner/transform_action_params.ts`:\r\n\r\n- alertId\r\n- alertName\r\n- spaceId\r\n- tags\r\n- params\r\n- alertInstanceId\r\n- alertActionGroup\r\n- alertActionGroupName\r\n- alert.id\r\n- alert.uuid\r\n- alert.actionGroup\r\n- alert.actionGroupName\r\n- alert.flapping\r\n\r\n\r\n### Checklist\r\n\r\n- [x] [Unit or functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere updated or added to match the most common scenarios","sha":"857ca82352d5bec70814b52d524fbe4c8757625a"}},"sourceBranch":"main","suggestedTargetBranches":["8.8","8.9"],"targetPullRequestStates":[{"branch":"8.8","label":"v8.8.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.9","label":"v8.9.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v8.10.0","labelRegex":"^v8.10.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/160451","number":160451,"mergeCommit":{"message":"[ResponseOps][Alerting] Some legacy mustache variables are not rendering for Security Solution rules after upgrading to 8.8.x (#160451)\n\nResolves https://github.com/elastic/kibana/issues/160446\r\n\r\n## Summary\r\n\r\nAdding the following variables to\r\n`x-pack/plugins/alerting/server/task_runner/transform_action_params.ts`:\r\n\r\n- alertId\r\n- alertName\r\n- spaceId\r\n- tags\r\n- params\r\n- alertInstanceId\r\n- alertActionGroup\r\n- alertActionGroupName\r\n- alert.id\r\n- alert.uuid\r\n- alert.actionGroup\r\n- alert.actionGroupName\r\n- alert.flapping\r\n\r\n\r\n### Checklist\r\n\r\n- [x] [Unit or functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere updated or added to match the most common scenarios","sha":"857ca82352d5bec70814b52d524fbe4c8757625a"}}]}] BACKPORT--> Co-authored-by: Alexi Doak <[email protected]>
- Loading branch information