stack kb cases set-case-configuration cli command

Auth required
elastic stack kb cases set-case-configuration \
  --closure-type <closure-type> \
  --connector <connector> \
  --owner <owner> \
  [options]
		

Add case settings

Behaviour flags:

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

--closure-type enum required

Values: close-by-pushing, close-by-user

--connector string required
An object that contains the connector configuration.
--owner enum required

Values: cases, observability, securitySolution

--custom-fields string[]

Custom fields case configuration. Deprecated. Use the field library (/api/cases/field_definitions) to manage field definitions and extended_fields on case create/update to set field values.

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

--extract-observables

Indicates whether observables (for example, IPs, hashes, and URLs) are automatically extracted from case comments and events. When omitted, defaults to the owner's

Default: ``truefor Security,falsefor Stack and Observability. Observable extraction is available only for Security cases. For Stack and Observability cases, a value that is not sent resolves tofalse, and setting it to true returns a 400 error

--templates string[]

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

--workflow-tags string[]

Workflow tags that limit which workflows appear in Cases workflow selectors. An empty array shows all workflows.

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

--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)
--no-validate
skip input validation and send the request as-is
--output-fields string
comma-separated list of fields to include in output (dot-notation supported)
--output-template string
Mustache-like template for custom text output (e.g. "{{id}}: {{name}}")
--json

output as JSON