stack kb security-timeline-api create-timelines cli command
Auth required
elastic stack kb security-timeline-api create-timelines \
--timeline <timeline> \
[options]
Create a Timeline or Timeline template
Behaviour flags:
--dry-run — validate all inputs and exit without performing any action
--timelinestringrequired--statusenum-
Values: active, draft, immutable
--template-timeline-idstring- A unique identifier for the Timeline template.
--template-timeline-versionnumber- Timeline template version number.
--timeline-idstring- A unique identifier for the Timeline.
--timeline-typeenum-
Values: default, template
--versionstring--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