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-id string required
The list_id of the existing exception list to copy (source list).
--namespace-type enum required

Scope in which the source list is defined (single = current space, agnostic = all spaces).

Values: agnostic, single

--include-expired-exceptions enum required

Determines whether to include expired exceptions in the duplicated 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