stack kb security-exceptions-api duplicate-exception-list cli command
Auth required
elastic stack kb security-exceptions-api duplicate-exception-list \
--list-id <list-id> \
--namespace-type <namespace-type> \
--include-expired-exceptions <include-expired-exceptions> \
[options]
Duplicate an exception list
Behaviour flags:
--dry-run — validate all inputs and exit without performing any action
--list-idstringrequired- The
list_idof the existing exception list to copy (source list). --namespace-typeenumrequired-
Scope in which the source list is defined (
single= current space,agnostic= all spaces).Values: agnostic, single
--include-expired-exceptionsenumrequired-
Determines whether to include expired exceptions in the duplicated 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