An analyst wants to reuse the same sequence of enrichment, scoring, and notification tasks across five different playbooks without duplicating the logic in each. Which XSIAM construct should be used to achieve this reuse?
Sub-playbooks are the native reuse mechanism in Cortex XSIAM: they package a task sequence that parents invoke as a single task, passing inputs and receiving outputs through defined interfaces. This eliminates duplication and keeps the shared logic maintainable in one place. Each parent still runs the sequence inline with its own incident context, which is exactly what the analyst needs.
Why this answer
Sub-playbooks are designed for exactly this reuse pattern, encapsulating a sequence of tasks behind a defined input and output interface that parent playbooks invoke as one step. This keeps logic centralized so updates propagate to all callers. Scheduled jobs, global inputs, and monolithic scripts do not provide inline, context-aware task-sequence reuse with native logging and error handling.
Exam trap
The trap here is assuming global inputs can carry executable logic, when they only store values that tasks consume.