stack kb security-attack-discovery-api update-attack-discovery-schedules cli command
Auth required
Idempotent
Scope: global
elastic stack kb security-attack-discovery-api update-attack-discovery-schedules \
--id <id> \
--actions <actions> \
--name <name> \
--params <params> \
--schedule <schedule> \
[options]
Update Attack Discovery schedule
Behaviour flags:
--dry-run — validate all inputs and exit without performing any action
--idstringrequired- The unique identifier (UUID) of the Attack Discovery schedule to update. This ID is returned when creating a schedule and can be found in schedule listings.
--actionsstring[]required- The Attack Discovery schedule actions
--namestringrequired- The name of the schedule
--paramsstringrequired- The Attack Discovery schedule configuration parameters
--schedulestringrequired- The Attack Discovery schedule interval
--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