Associate Cortex XSIAM indicator fields with scripts that are triggered when the field changes.
Indicator field trigger scripts are automated responses that are triggered by a change in an indicator field value. In the script, you define the change in the indicator field value to check for and the actions to take when the change occurs. For example, you can:
Create a script that runs when the Verdict field of an indicator changes. For example, the script will fetch all incidents related to the indicator and take any action that is configured, such as reopening or changing severity.
Create a script that runs when the Expiration Status field changes. For example, you can define a script that will immediately update the relevant allow/block list and not wait for the next iteration, as seen in the following sample script:
indicators = demisto.args().get('indicators') new_value = demisto.args().get('new') indicator_values = [] for indicator in indicators: current_value = indicator.get('value') indicator_values.append(current_value) if new_value == "Expired": # update allow/block list regarding expired indicators else: # update allow/block list regarding active indicators