stack kb security-attack-discovery-api get-attack-discovery-generations cli command

Auth required Idempotent Scope: global
elastic stack kb security-attack-discovery-api get-attack-discovery-generations \
  [options]
		

Get the latest Attack Discovery generations metadata for the current user

Behaviour flags:

--dry-run — validate all inputs and exit without performing any action

--end string
End of the time range for filtering generations. Accepts absolute timestamps (ISO 8601) or relative date math (e.g. "now", "now-24h").
--size number
The maximum number of generations to retrieve
--scheduled
Whether to filter by scheduled or ad-hoc attack discovery generations. If omitted, both types are returned. Use true to return only scheduled generations or false to return only ad-hoc (interactive or action-triggered) generations.
--start string
Start of the time range for filtering generations. Accepts absolute timestamps (ISO 8601) or relative date math (e.g. "now-7d").
--input-file string
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