Add your own automation rule
Select Add a rule on Automation, name it, choose When, an optional condition and Then, and select Add: the rule runs from the next matching event.
Steps
- Open Automation and select Add a rule.
Fill in the row:
- Rule name (required).
- When: the event, such as "when a finding is created", "when a risk is accepted" or "when a remediation item breaches its SLA".
- Only if field (optional) and equals value: one condition on a field of the event, for example
severityequalscritical. More conditions are added on the rule's page. - Then: the action, and Action detail for its main setting.
- Select Add. The rule appears in the list as custom.
The actions
| Then | Action detail | Leaves the platform? |
|---|---|---|
| add a note to the audit log | the note (up to 1,000 characters) | no |
| create a finding | the finding's title | no |
| open an incident in triage | its title | no |
| create a remediation item | its title | no |
| call a webhook | an https:// address | yes |
| open a ticket in your ticketing tool | the ticket title | yes |
| send an email | the address | yes |
| post to Slack | the message | yes |
An action that leaves the platform asks once more before it is added: "This rule reaches outside the platform: it will call a webhook on every matching event from now on." Select Yes, add, or Keep editing.
What the form checks
- Add stays unavailable until the rule has a name and its action has what it needs. The form says what is missing, for example "Address is required" or "Address must be an https:// address".
Change a rule
- Open the rule's page and select Change the rule.
- Change the Name, When, Then and the action's settings. Under Only when, Add a condition adds up to the maximum; each condition is an Event field, a Test (is, is not, contains, is more than, is less than, is one of) and a Value. A list is written
low, medium; numbers andtrueorfalseare read as such. - Select Save the rule. The page says "Saved: the rule runs as changed on the next matching event."
Switch off or delete
Switch off and Switch on are on the rule's page and row. Delete asks Yes, delete or Keep; a deleted rule's page no longer exists.
Check that it ran
The rule's page counts its runs and lists each under Every run. For example, a rule that writes an audit-log note for findings with one title fires once for each matching finding and not for the others.
Who can do this
Adding, changing and deleting rules takes an organisation admin.