kibana/x-pack/test/alerting_api_integration
Patrick Mueller 7db4196164
[Alerting] add more alert properties to action parameter templating (#59718)
This is a pre-cursor to https://github.com/elastic/kibana/issues/58529

I realized a bit ago that we weren't making quite enough info available
in the action parameter templating that happens when alerts schedule
actions to execute.  Missing were alert name, tags, and spaceId.

For the index threshold alert, I had added them to it's context, but
then every other action would have to do the same if they also
wanted those values.

So I added these as additional top-level variables that can be
used in templates, along with the alert id, alert instance id,
context, and state.  The other bits in RawAlert didn't seem
that interesting, to be used as an action parameter.
2020-03-10 16:50:19 -04:00
..
common [Alerting] add more alert properties to action parameter templating (#59718) 2020-03-10 16:50:19 -04:00
security_and_spaces [Alerting] add more alert properties to action parameter templating (#59718) 2020-03-10 16:50:19 -04:00
spaces_only [Alerting] add more alert properties to action parameter templating (#59718) 2020-03-10 16:50:19 -04:00