Creating Event Subscriptions
Event subscriptions trigger notifications of defined events within the system. These notifications are sent to the inbox, which may send them externally via email or Slack, depending on your configuration.
To add an event subscription:
Task 1: Creating an Event Subscription
-
Navigate to Admin > Event Subscriptions.
-
Click the Create Event Subscription button. The Create Event Subscription page appears.
-
In the Name text box, enter a name for this new event subscription.
-
Click to select the Send Email check box if you want to send an email via an inbox notification.
-
Click to select the Send Slack check box if you want to send an Slack message via an inbox notification.
Task 2: Adding Events
Create the events that trigger notifications:
-
Click the Events dropdown list to select an event object to trigger a notification.
-
Click the second Events dropdown list to select the event for the chosen object. For some events, one or more follow-on dropdown lists may appear. For example, if you chose Secret and then Create, another dropdown list would appear for you to select whether you want all secrets, those in the selected folder or those in the selected folder and its subfolders. Similarly, if you chose those in a folder, a link appears for you to chose the folder.
-
Click the Add Event button to add the event. An event table appears below.
-
Add more events as desired.
-
Click the Create Event Subscription button. The event subscription's page appears.
-
If you want to change the status from active to inactive or adjust the number of days before an event notification expires, click the Edit link next to Event Subscriptions and make changes.
Task 3: Adding Subscribers
Subscribers are users that are explicitly defined or are a subscribed group member. They receive a notification in their inbox when this event subscription is triggered.
-
Scroll down the Subscribers section and click Edit.
-
Click the Add button. The Users & Groups popup page appears.
-
Type the name of the user or group you want to add in the Search text box.
-
Click to select the check box next to the user or group that remains.
-
Repeat the process for additional users or groups.
-
Click the Add button. The new subscriber appears in a table in the section.
Task 4: Associating Rules
Inbox rules filter a specified event subscription (or other alerts)—in this case, the one you just created. When you create an event subscription, an inbox rule based on the event subscription system rule is automatically created. It can be updated or reviewed to change the actions, email template, or other communication preferences.
The event subscription subscribers defines who potentially receives the event alert. The associated inbox rules filters which events are shared with those subscribers via Slack or email messages. Inbox rules search for specified text strings in specified locations in the incoming notification.
- Scroll down to the Associated Rules section. Note that a link to your new event subscription inbox rule already appears at the bottom.
- If you want to edit the rule, click the link for the inbox rule. See Using Inbox Rules.