Chapter 4. Configure notification behavior groups

The Notifications administrator configures notifications for the account through behavior groups. After creating a behavior group, the Notifications administrator associates it with triggering events, which are unique to each application bundle.

When an event occurs, all users on the account who selected in their user preferences to receive notifications will receive them, as well as all third-party applications specified as integration actions in the behavior group.

4.1. Creating a behavior group

Use the following procedure to create a new notifications behavior group:

Prerequisites

  • An Organization Administrator has configured notification groups, roles, and members in User Access.
  • You must be logged into the Red Hat Hybrid Cloud Console platform with Notifications administrator privileges.

Procedure

  1. Navigate to Red Hat Hybrid Cloud Console > Settings.
  2. In the settings menu, expand Notifications and select an application bundle, such as Red Hat Enterprise Linux or OpenShift.
  3. Click Create new group.
  4. Enter a group name. From the Actions dropdown list, select from the following options:

    1. Select Send an email, then select whether the email notification should go to all users in the organization, or to limit the recipients to administrators in the organization.
    2. Select Integration: Webhook and select an option from the dropdown list, which is populated by endpoints configured in Settings > Integrations.
    3. You can add additional actions as needed to notify all of your organization’s integration endpoints.
  5. Edit or delete the behavior group as needed by locating it in the Behavior groups list on the notifications page for the application bundle, clicking the options menu, img hcc icons options , and clicking Edit or Delete.

    Note

    Clicking Delete prompts a warning to the user of the consequences of deleting a behavior group assigned to event types.

4.2. Associating a behavior group with events

Use the following procedure to associate a notifications service behavior group with triggering events.

Prerequisites

  • To perform the following procedure, a user must be logged into the Red Hat Hybrid Cloud Console platform with Notifications administrator privileges configured in User Access.
  • A Notifications administrator has already created the behavior group.

Procedure

  1. Navigate to Red Hat Hybrid Cloud Console > Settings.
  2. In the settings menu, expand Notifications and select an application bundle where the behavior group was created, such as Red Hat Enterprise Linux or OpenShift.
  3. Select a behavior group with which to associate events. You can enter the name of the group in the search box, or scroll through the behavior group cards.
  4. In the list of events for the application bundle, click the pencil icon on the far right of the event name row. This will enable a drop-down list in the behavior column for the event.
  5. Click the behavior drop-down list and select the behavior group(s) you want to associate with the event.
  6. Click the checkmark in the event row to accept your selection for that event.
  7. Repeat the previous step for each event.
Note

Events can have multiple behavior groups associated with them. It is also possible that a behavior group is not associated with any event. In that case, when an event occurs, no action is taken.

4.3. Sending notifications to a group using User Access

In addition to sending email notifications to all subscribed users in the groups Users:Admins and Users:All, you can use Role-Based Access Control (RBAC) to send email notifications to a specific list of users in a custom User Access Group (RBAC Group).

First, an Organization Administrator creates User Access Groups and adds group members. A Notifications Administrator then creates a new Behavior Group and assigns one or more custom User Access Groups as the recipients of email notifications from the Behavior Group.

For more information about how to create User Access (RBAC) Groups, see Managing access with roles and members.

For more information about how to create Behavior Groups, see Configuring notification behavior groups.

Prerequisites

  • One or more User Access groups
  • Notifications Administrator-level access to Red Hat Insights

Procedure

  1. Navigate to Red Hat Hybrid Cloud Console > Settings.
  2. In the Settings menu, click Notifications.
  3. Select Red Hat Enterprise Linux. The Notifications behavior groups display.
  4. Click Create new group. The Create new behavior group dialog box appears.

    img notif user access behavior group
  5. Type the name of the new behavior group in the Group Name field.
  6. Click Select Action.

    img notif notifications selection
  7. Select Send an email to send email notifications to the members of the behavior group.
  8. Click Recipient. A drop-down list of existing groups displays. The User Access (RBAC) groups appear under the User Access Group heading.

    img notif select rbac group
  9. Select the group(s) that you want to add to your behavior group and click Save. The new behavior group appears under Behavior Groups. The User Access group(s) you selected appear as recipients in the new behavior group, preceded by User Access Groups:.
  10. After you create the behavior group, associate it with the events from which the group should receive notifications. For more information about how to associate events with recipients, see Associating a behavior group with events.

Additional resources