Filter and transform Cortex XSIAM playbook data
Filter and transform Cortex XSIAM playbook data, JSON context, and task mappings for downstream automation tasks.
Use Cortex XSIAM filters and transformers to manipulate playbook data. Add them to playbook tasks or instance mappings for downstream security automation.
Cortex XSIAM collects data from playbook tasks, command results, and fetched issues. It presents this playbook context in JSON format. Filters and transformers extract, modify, and format this data.
Filter Cortex XSIAM playbook data
Filters extract relevant data for use elsewhere in Cortex XSIAM playbooks. For example, an issue can contain files with different types and extensions. Filter these files by extension or type, then use them in a detonation playbook.
You can filter as many objects as needed. Cortex XSIAM automatically calculates the context root for each filter. Change it only when necessary.
Transform Cortex XSIAM playbook data
Transformers modify or format playbook data for further processing or presentation. For example, convert a non-Unix date to Unix format. The count transformer returns the number of elements.
When you add multiple transformers, Cortex XSIAM applies them in displayed order. Drag and drop transformers to reorder them.
Add filters and transformers to Cortex XSIAM playbook tasks
Create or edit a playbook task.
In the relevant field, such as inputs or outputs, click the curly brackets.
Select Filters and Transformers.
In Get, enter or select the data to filter or transform. For example,
EWS.Items.Name.Optional: Add a filter.
In Filter, click Add filter. The context root is populated automatically.
Select the data to filter.
Select the filter operators.
Enter a value.
Select the checkbox to save the filter.
Optional: Add a transformer.
Click Add transformer.
Select the transformer. The default is
To upper case(String).Select the transformer operators.
Select the checkbox to save.
Optional: Click Test to test the filter or transformation. Select an investigation or add one manually.
Last updated
Was this helpful?
