stack kb security-exceptions-api export-exception-list cli command

Auth required
elastic stack kb security-exceptions-api export-exception-list \
  --id <id> \
  --list-id <list-id> \
  --namespace-type <namespace-type> \
  --include-expired-exceptions <include-expired-exceptions> \
  [options]
		

Export an exception list

Behaviour flags:

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

--id string required
Exception list's internal id (UUID) returned on create; use with list_id and namespace_type for an unambiguous target.
--list-id string required
Human-readable list_id of the exception list to export, as shown in the UI and API responses.
--namespace-type enum required

single exports a list in the current Kibana space; agnostic exports a global (space-agnostic) list.

Values: agnostic, single

--include-expired-exceptions enum required

Determines whether to include expired exceptions in the exported list. Expiration date defined by expire_time.

Values: true, false

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