stack kb security-timeline-api get-draft-timelines cli command
Auth required
Idempotent
Scope: global
elastic stack kb security-timeline-api get-draft-timelines \
--timeline-type <timeline-type> \
[options]
Get draft Timeline or Timeline template details
Behaviour flags:
--dry-run — validate all inputs and exit without performing any action
--timeline-typeenumrequired-
Which draft to load (
defaultinvestigation timeline ortemplatetimeline template).Values: default, template
--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