Rule exceptions and the suppression list
An exception tells a rule not to alert on events you have judged harmless, for example a service account that legitimately runs a command the rule looks for. There are two places to keep exceptions:
- Rule exceptions belong to one rule and apply as soon as you save them.
- A shared suppression list holds exceptions that apply to every rule you link to it. Use one when several rules share the same harmless events.
Role needed: Settings access with Trigger Rules: Read to see lists and exceptions and to export lists, Set to create or change lists and exceptions, link rules, duplicate and import lists, and Delete to delete a list. Deleting a single exception needs Set. Admin and Super Admin accounts have all of these. The Rule exceptions tab is on the rule's details page, which an Admin or Super Admin account opens from the Detection Rules screen.
How an exception matches
An exception has one or more conditions. An event is excepted when every condition of one exception holds (AND). A rule's exceptions, and those of every shared list linked to it, are alternatives (OR): an event matching any unexpired exception is not alerted on.
| Operator | Holds when |
|---|---|
| is | The field equals the value. |
| is not | The field does not equal the value. |
| is one of | The field equals one of the values. |
| is not one of | The field equals none of the values. |
| exists | The field has a value. |
| does not exist | The field has no value. |
| is in list | The field's value is in a column of a lookup file. |
| is not in list | The field's value is not in that column. |
Values are compared without regard to case, after trimming spaces. A field with several values holds a value if any of them equals it. A field that is missing holds no value.
The field Any rule condition field stands for whichever fields the rule's own conditions read. It supports only is and is one of.
An exception can have an expiry. After it, the exception stops applying and moves under Expired exceptions.
Add an exception to one rule
- Open the rule by selecting its name on the Detection Rules screen.
- Select Rule exceptions.
- Select Add rule exception.
- In Add rule exception, enter an Exception name.
- Under Conditions, choose a Field, an Operator and a Value. Select AND to add a condition that must also hold, or OR to start another group. Each OR group is saved as its own exception with the same name.
- Under Add to rule or lists, keep Add to this rule, or choose Add to shared suppression lists and pick the lists. Adding to a list also links the list to this rule.
- Optionally open Add comments to leave a note, and set Exception will expire at. Leave the date empty for an exception that never expires. The date must be in the future.
- Select Add rule exception.
The tab lists the rule's exceptions, the shared lists linked to it under Linked shared lists, and a note that lists linked on the Definition tab also apply. Use Active exceptions and Expired exceptions to switch views. The menu on each exception has Edit rule exception and Delete rule exception.
The editor has the same tab. It is there for rules that raise alerts, and for Match and Sequence rules that are building blocks.
Create a shared suppression list
- Select Settings, then Suppression List in the Detections group. The page is titled Suppression lists. You can also select Manage suppression lists on the Detection Rules screen.
- Select Create shared suppression list, then Create shared list.
- Enter a Shared suppression list name and, optionally, a description.
- Select Create shared suppression list.
- Open the list and select Add rule exception to list to add exceptions in the same way as above, or Create rule exception on the list's card.
- Select Link rules and switch on each rule the list should apply to.
A list can also be linked from a rule: open the rule's editor, then Advanced settings on the About step, and choose it in Shared exception lists.
The page shows each list as a card with the date created, who created it, its number of exceptions and its linked rules. Search by name, or by list_id: followed by the list's ID, and sort by Created At, Name or Updated At.
On a list's page, select the pencil beside the name or description to rename it. The menu has Export suppression list, Duplicate suppression list and Delete suppression list. Deleting asks you to confirm, and the confirmation says how many exceptions stop applying and how many rules are unlinked.
Limits per list: 500 exceptions, 20 conditions in an exception, 1,000 values in one condition, 50 comments on an exception, a list name of up to 256 characters and a description of up to 2,000.
Export and import lists
Export saves a list and its exceptions to a file, named after the list, with one list per line. To import, select Import suppression list, choose the file, tick Overwrite existing lists with a conflicting "uid" if you want to replace a list that already exists, and select Import list. The file may be up to 10 MB. A list that already exists is skipped unless you overwrite it. Imported lists are linked to no rules, so link them afterwards.