stack kb cases find-case-attachments-default-space cli command

Auth required Idempotent Scope: global
elastic stack kb cases find-case-attachments-default-space \
  --case-id <case-id> \
  [options]
		

Find case attachments

Behaviour flags:

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

--case-id string required
The identifier for the case. To retrieve case IDs, use the search cases (_find) API. All non-ASCII characters must be URL encoded.
--type string

Filters the returned attachments by one or more attachment types, such as comment or security.alert. To filter by multiple types, repeat the parameter. Limited to 20 types.

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

--page number
The page number to return.
--per-page number
The number of items to return. Limited to 100 items.
--sort-order enum

Sorts attachments by creation date: asc (oldest first) or desc (newest first).

Values: asc, desc

--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