Action Rules
An Action Rule binds one or more Detection Rules to one or more actions. When one of those rules adds an alert to a Case, each action of the Action Rule runs without anyone clicking anything. An Action Rule can send a webhook. Any other response is taken from the Case by an analyst, or built in SOAR.
Role needed: Settings access with Action Rules: Read to list, Set to create, change, enable and disable, and Delete to delete. The Actions tab is on the Detection Rules screen, which opens only for Admin and Super Admin accounts.
Response actions that an analyst runs from a Case need Cases: Set and Settings access with Action Rules: Set. They are a separate feature. See Take actions from a Case.
Before you start
An Action Rule can only use a WebHook connector, so one must exist first. Set it up under integrations; see Connectors and integrations. Until one exists, the action picker has nothing to offer.
An Action Rule does nothing for a building-block rule. Building-block rules raise no alerts in Cases and are not offered as triggers. See Building-block rules.
Open Action Rules
Select Settings, then Detection Rules in the Detections group, then the Actions tab.
| Column | Meaning |
|---|---|
| Rule Name | The name of the Action Rule. |
| Status | The switch that turns it on and off. |
| Alerts | How many Detection Rules it is bound to. |
| Actions | How many actions it has. |
If there are none, the tab says No action rules yet.
Create an Action Rule
- On the Actions tab, select the plus button, Add Action Rule.
- In Add action rule, enter a Name. It must be different from every other Action Rule name, ignoring case.
- Next to Triggers, select Add triggers. In Select triggers, search and tick the Detection Rules, then select Done. At least one is required.
- Next to Actions, select New action.
- Choose a connector tile. In Add actions, choose the Connector Instance and the Method, then fill in the fields the method asks for. Select Submit.
- Select Save. A message confirms Action rule created.
The same connector and method cannot be added twice to one Action Rule.
You can also add actions while you create a Detection Rule. The editor's Rule actions step saves them as an Action Rule named after the rule, with actions added. See Create and edit a Detection Rule.
Change, switch off and delete
- Select Edit in the row to change the name, triggers or actions, then Save.
- Use the Status switch to turn one rule on or off.
- To act on several, tick the rows, select Actions above the table, then Enable, Disable or Delete.
- Select Delete in a row to delete it. This does not ask you to confirm.
What runs, and when
When a Detection Rule named by an Action Rule adds an alert to a Case, each action of the Action Rule runs once for that alert. The outcome is recorded on the Case's Activity timeline, for example:
| Timeline entry | Meaning |
|---|---|
| "triggered an action on" the connector | The receiver answered. |
| "sent an action to" the connector, "the outcome is unknown" | The request was sent but no answer came back. It is not sent again. |
| "could not complete an action on" the connector | The action failed. The entry says why, such as that the connector no longer exists or that retries were exhausted. |
| "did not run an action on" the connector, "automatic Action Rules cannot run this connector" | The Action Rule names a connector that cannot be run automatically. |
A webhook is sent at most once. If the request was sent and no answer came back, the outcome is recorded as unknown and it is not repeated. It is sent again only when it certainly did not reach the receiver, or the receiver answered that it was busy (HTTP 429 or 503), and after five attempts that were refused it is recorded as failed. Each request carries an Idempotency-Key header with a unique ID, so a receiver that honours it can ignore a repeat.
An action that has waited more than 24 hours to run, for example because the appliance was stopped or the licence restricted actions, is recorded as failed and is never run. A recovered licence does not suddenly act on old alerts.
Connectors an Action Rule cannot run
Only a WebHook connector runs automatically. The appliance refuses to save an Action Rule that names any other connector, and refuses a method that runs only as a Case action chosen by an analyst.
An Action Rule saved earlier that names an unsupported connector keeps its settings but shows an Unsupported connector badge. Nothing is sent for those connectors, and each match is recorded as a failure. The rule cannot be switched on until you edit it and remove them. To run another connector on an alert, take the action from the Case, or use SOAR.