stack kb alerting-v2 get-alerting-v2-action-policies cli command

Auth required Idempotent Scope: global
elastic stack kb alerting-v2 get-alerting-v2-action-policies [options]
		

List action policies

Behaviour flags:

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

--page number
The page number to return. Defaults to 1.
--per-page number
The number of action policies to return per page. Defaults to 20.
A text string to search across action policy fields.
--tags string[]

Filter by tags. Accepts a single string or an array.

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

--enabled enum

Filter by enabled status. Accepts the strings true or false.

Values: true, false

--sort-field enum

The field to sort action policies by.

Values: name, created_at, updated_at

--sort-order enum

The sort direction.

Values: asc, desc

--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