Get alerted on security events
Get notified of administration and security events in OpenCTI, such as failed logins or unauthorized actions, as soon as they happen or in a regular digest.
An activity trigger watches the activity events and notifies chosen recipients when one matches its filters, so you do not have to watch the events screen. This page shows how to create a live trigger, which notifies at once, and a digest, which groups the events of live triggers over a period. To be notified about knowledge rather than activity, use knowledge triggers.
Before you start
- Your platform has an Enterprise Edition license.
- Your role has the Access security activity capability.
- The events you want to watch are recorded: extended events, such as reads and downloads, need the users to be listened to.
- To notify by email, the platform can send emails: see Send emails from OpenCTI.
Create a live trigger
-
Open and click Create Live trigger. The Create a live activity trigger panel opens.
-
Enter a Name and a Description that say what the trigger watches.
-
In Notifiers, choose how recipients are told: User interface for the notification center, Default mailer for an email, or a notifier you created. Leave it empty for a trigger that only feeds a digest: it then tells nobody on its own.
-
In Recipients, add the users, groups or organizations to notify. At least one is required.
-
Add filters to keep only the events that matter. Combine them as in any OpenCTI filter.
Filter Matches Example Event type The type of event authenticationEvent scope The scope within the type loginUser The user who acted A contractor account Group A group of the user who acted AdministratorsOrganization An organization of the user who acted A partner organization -
Click Create.
OpenCTI 7.260309.0-lts.8
For example, to hear about login failures, filter on Event type authentication and Event scope login; failed logins carry the status error. To catch attempts to go beyond one's rights, filter on Event scope unauthorized.
The contractors of Harbor Security work on the Example CERT platform with limited rights. The administrators want to know at once when one of them tries an action their role does not allow.
- Name:
Contractor unauthorized actions - Description:
Harbor contractors trying actions outside their role - Notifiers: User interface and Default mailer
- Recipients: the Administrators group
- Filters: Event scope
unauthorized, and GroupHarbor contractors
The two filters combine with AND, so analysts of Example CERT who hit a missing capability do not raise the alert. When Sam Reyes, a member of Harbor contractors, tries to delete a report, every administrator gets a notification and an email naming Sam Reyes and the refused action.
Create a digest
A digest sends, at a set time, the events that one or more live triggers caught over the last period: the last day for a daily digest, the last week for a weekly one. When none of its triggers caught anything, no digest is sent. Use it for events worth a weekly review rather than an immediate alert, and create the live triggers first.
-
In , click Create Regular digest. The Create a regular activity digest panel opens.
-
Enter a Name and a Description.
-
In Triggers, choose the live triggers to group. At least one is required.
-
Choose the Period: hour, day (the default), week or month. For a week, choose the Week day; for a month, the Month day. Except for an hourly digest, set the Time of sending, in your browser's time zone. It starts at 12:00 AM.
-
Choose at least one notifier in Notifiers and at least one recipient in Recipients, then click Create. A recipient of the digest only gets the events of the live triggers they are also a recipient of: add them to those triggers too.
OpenCTI 7.260309.0-lts.8
Check that it works
Make the trigger fire: for a login trigger, log out and log in again, or enter a wrong password. The recipients get a notification, in their notification center or by email, that names the user and the event. If nothing arrives, check the filters against the event in .
Change or delete a trigger
Open the row menu of the trigger in and choose Update or Delete. Update opens Update an activity live trigger or Update an activity digest trigger, with the fields of the creation panel; each change is saved when you leave the field. The list shows the Type of each trigger, live or digest, and its Notification channels.
What's next
- Activity events for every type and scope you can filter on.
- The audit event reference for the message of each event a trigger can catch.
- Notifiers to send notifications to a webhook or another channel.