stack kb cases update-case-configuration cli command
Auth required
elastic stack kb cases update-case-configuration \
--configuration-id <configuration-id> \
--version <version> \
[options]
Update case settings
Behaviour flags:
--dry-run — validate all inputs and exit without performing any action
--configuration-idstringrequired- An identifier for the configuration.
--versionstringrequired- The version of the connector. To retrieve the version value, use the get configuration API.
--closure-typeenum-
Values: close-by-pushing, close-by-user
--connectorstring- An object that contains the connector configuration.
--custom-fieldsstring[]-
Custom fields case configuration. Deprecated. Use the field library (
/api/cases/field_definitions) to manage field definitions andextended_fieldson case create/update to set field values.Repeatable: pass
--custom-fieldsmultiple 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. Observable extraction is available only for Security cases. For Stack and Observability cases, changing it to
truereturns a 400 error. A request that keeps an already storedtrueis accepted. --templatesstring[]-
Repeatable: pass
--templatesmultiple times to supply more than one value -
Workflow tags that limit which workflows appear in Cases workflow selectors. An empty array shows all workflows.
Repeatable: pass
--workflow-tagsmultiple times to supply more than one value --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)
--no-validate- skip input validation and send the request as-is
--output-fieldsstring- comma-separated list of fields to include in output (dot-notation supported)
--output-templatestring- Mustache-like template for custom text output (e.g. "{{id}}: {{name}}")
--json-
output as JSON