Description
openedon Mar 30, 2021
As part of the effort to update the Alerting terminology, the Alerting team has created new HTTP APIs using the rules
terminology and deprecated the existing HTTP APIs that reference alerts
.
The new APIs are documented here: https://www.elastic.co/guide/en/kibana/master/alerting-apis.html
The deprecated APIs are documented here: https://www.elastic.co/guide/en/kibana/master/alerts-api.html and will remain until 8.0 when they will be removed.
This issue is to remove usage of the legacy APIs from Security Solutions.
Note that in addition to route changes, API parameters have also been converted to snake case to conform to the style guide
Note, it doesn't look like security solutions is using the HTTP APIs inside the plugin, but there are two scripts that currently call the legacy API:
x-pack/plugins/security_solution/server/lib/detection_engine/scripts/get_alert_instances.sh
x-pack/plugins/security_solution/server/lib/detection_engine/scripts/get_alert_types.sh