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
--idstringrequired- Exception list's internal
id(UUID) returned on create; use withlist_idandnamespace_typefor an unambiguous target. --list-idstringrequired- Human-readable
list_idof the exception list to export, as shown in the UI and API responses. --namespace-typeenumrequired-
singleexports a list in the current Kibana space;agnosticexports a global (space-agnostic) list.Values: agnostic, single
--include-expired-exceptionsenumrequired-
Determines whether to include expired exceptions in the exported list. Expiration date defined by
expire_time.Values: true, false
--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