stack kb security-detections-api search-alerts cli command

Auth required
elastic stack kb security-detections-api search-alerts [options]
		

Find and/or aggregate detection alerts

Behaviour flags:

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

--source string

Repeatable: pass --source multiple times to supply more than one value

--aggs string
--fields string[]

Repeatable: pass --fields multiple times to supply more than one value

--query string
--runtime-mappings string
--size number
--sort string

Repeatable: pass --sort multiple times to supply more than one value

--track-total-hits
--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