stack kb alerting-v2 post-alerting-v2-alerts-group-hash-activate cli command
Auth required
elastic stack kb alerting-v2 post-alerting-v2-alerts-group-hash-activate \
--group-hash <group-hash> \
--reason <reason> \
[options]
Activate an alert
Behaviour flags:
--dry-run — validate all inputs and exit without performing any action
--group-hashstringrequired- Hash identifying the alert group to apply the action to.
--reasonstringrequired- Reason for activating the alert.
--input-filestring- path to a JSON file to use as command input
--dry-run- validate all inputs and exit without performing any action (preview changes without applying them)
--json-
output as JSON