-
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
[ResponseOps] examples in docs referencing deprecated context variables #160760
Comments
Pinging @elastic/response-ops (Team:ResponseOps) |
cc: @lcawl |
Relates to elastic/security-docs#3498, #161126 |
Ya, looks like most of these are using There are also a few references in actual code, but seems like mainly tests, for example: kibana/x-pack/plugins/alerting/server/saved_objects/migrations/index.test.ts Lines 2844 to 2861 in e9a9f03
Feels like we should remove them everywhere, except where we are setting and testing for the valid uses (since we will likely always have to support these), so keep the surface area smaller, in hopes they don't get copied around more. |
I've also created #161710, since I was investigating adding |
A customer noted that some of the examples in our docs use deprecated context variables. Actually, these aren't even documented - I think we deprecated in 7.x and then removed the doc in 8.x or something. We actually do still set the variables, for existing old rules, but would like customers to use the documented ones.
The examples noted were using
{{alertName}}
, but should be using{{rule.name}}
:We should check other docs that include action parameter templates for other deprecated/not-documented variables.
The text was updated successfully, but these errors were encountered: