Pre-process rules
Create incident pre-process rules in Cortex XSOAR 8 SaaS.
Pre-process rules enable you to perform certain actions on incidents as soon as they are ingested (after classification and mapping) but before the incident is created in Cortex XSOAR. These rules enable you to drop, deduplicate, link, or close incoming incidents based on specific criteria. For example link the incoming incident to an existing incident, or under preconfigured conditions, drop the incoming incident altogether.
When creating pre-process rules you can test them on existing incidents to see how they perform.
Creating a pre-process rule consists of a three-part process using the preprocess wizard.
Select the incident field and value you want the rule to apply.
Select the action to perform on the incident, such as link and drop.
Add the criteria to compare existing incidents with the new incident, including the time range and oldest and newest incidents.
After you create a rule in the Pre-Process Rules tab, you can do the following:
View, edit, copy, or delete the pre-process rule.
Enable/disable the pre-process rule.
Rule actions for pre-process rules
Create a pre-process rule
Create a pre-process rule
Pre-processing rules enable you to perform certain actions on incidents as they are ingested into Cortex XSOAR. You can, for example, link an incoming incident to an existing incident, or under certain conditions, drop the incoming incident altogether.
Before you begin, search for incidents that you want the pre-process rule to apply and click Investigate, so that those incidents are available for testing.
Select Settings & Info → Settings → Object Setup → Incidents → Pre-Process Rules → New Rule.
In the Rule Name field, type a name for the rule.
Give a meaningful name that helps you identify what the rule does. This will be useful when viewing the list of rules.
In step 1 Conditions for Incoming incident to apply the rule for incidents, do the following:
Select a field and value.
For example, if you want to apply the rule to a phishing incident type:
FieldFilterValueType
Equals (String)
Phishing
Add an AND statement to your filter, if required.
For example, if you are running a phishing awareness campaign, add Email Subject and in the value field, type the relevant text.
In step 2 Action, select the action to take if the incoming incident matches the rule.
If relevant, complete section 3.
This section enables you to link or update an incoming event and drop or update the incident depending on the selected criteria.
SectionOptionsLink to
Relevant when selecting Link and close and Link
Determine if you want to link to the oldest or newest incident.
Select the time range
Select if you want to search for closed incidents.
Select the incident field and value you want to link. For example, if you want to link the Email Subject field of the existing incident to the new incident, do the following:
Field: Email Subject
Filter: Is identical (Incoming incident)
Value: to incoming incident (this field is prepopulated)
Update
Relevant when selecting Drop and update
Drops the incoming event and updates the incident defined:
Determine if you want to link to the oldest or newest incident.
Select the time range
Select if you want to search for closed incidents.
Select the incident field and value you want to drop and update.
Script
Choose a script
From the dropdown list, select the script to run on the incoming incident. Only scripts that were tagged preProcessing appear in the drop-down list.
(Optional) In a remote repository environment, you can view the relevant dependencies to ensure that all necessary dependencies are propagated or pushed to the remote repository.
(Optional) To check that the rules, click Test.
Testing is useful to check that you are receiving the desired results before putting a rule into production. We recommend you fetch data from an existing incident as a sample incident against which the rule can run. You can also manually enter JSON to use as a test sample or edit the JSON from an existing incident using the Edit button.
Save the rule.
Last updated
Was this helpful?




