Search

Chapter 3. Configuring integrations

download PDF

The Red Hat Hybrid Cloud Console notifications and integrations services work together to transmit messages to third-party application endpoints, such as instant messaging platforms and external ticketing systems, when triggering events occur.

Notifications administrators can use these services to integrate Hybrid Cloud Console functionality into the operational workflow used in their organization. Integrations are configured by a Notifications administrator as endpoints on the Red Hat Hybrid Cloud Console > Settings > Integrations page.

For more information about configuring integrations, see Integrating the Red Hat Hybrid Cloud Console with third-party applications.

Note

Webhook is the current integration type supported in the Red Hat Hybrid Cloud Console. When configured, the service sends an HTTP POST message to the specified third-party application endpoint.

3.1. Hybrid Cloud Console HTTP POST messages

The following screenshot is an example of an HTTP POST message sent to a third-party application endpoint from the Hybrid Cloud Console. Event types are specific to a service or application. For example, the Insights for RHEL application bundle currently notifies configured users of events from the policies, advisor, and drift services. The following example notification from the Insights for RHEL advisor service was triggered by a new recommendation on a host system.

img hcc notif schema

In the example, the blocks contain the following information:

  1. Information about the bundle and application sending the notification:

    • bundle: Name of the application bundle
    • application: Name of the individual application or service sending the event-triggered notification
    • event_type: The event type that triggered the notification
    • account_id: The Red Hat account from which the notification was sent
    • timestamp: ISO-8601 formatted date showing when the notification was sent
  2. Information about the application or service-specific event:

    • payload: The application payload, a JSON string containing all the data sent by the application
  3. Information about the system on which the event occurred. For example:

    • inventory_id: System ID
    • hostname: System name
    • rhel_version: RHEL version running on the system

The metadata field is not currently used.

3.2. Creating and configuring integrations in the Hybrid Cloud Console

The Notifications administrator creates and configures integrations for the organization so third-party applications can send event notifications to users.

Prerequisites

  • You are logged into the Red Hat Hybrid Cloud Console as an Organization Administrator or as a user with Notifications administrator permissions.

Procedure

  1. In the Hybrid Cloud Console, navigate to Settings > Integrations.
  2. Click the Integrations tab.
  3. Select the tab for the type of integration you want to create. For example, to create a Slack integration, select the Communications tab.
  4. Click Add integration and select the third-party tool to integrate with the Hybrid Cloud Console:

    1. Select an integration type.
    2. Enter an integration name.
    3. Provide the endpoint URL.
    4. Confirm that the check box to enable SSL verification is selected.

      Important

      SSL is essential for protecting the data sent to the integration endpoint. SSL should always be used when integrating the Red Hat Hybrid Cloud Console with third-party applications.

    5. Optional: Provide a secret token, if required. If defined, the secret token is used as an ‘X-Insight-Token’ header on the POST HTTP request.

      Note

      A secret token is essential for protecting the data sent to the integration endpoint and should always be used when integrating the Hybrid Cloud Console with third-party applications.

    6. Click Save.
  5. To verify that the new integration is listed on the Integrations page, enter the integration name in Filter by Name box.
Note

The new integration is enabled by default and available as an integration option when a Notifications administrator configures behavior groups in the notifications service. To disable the integration, toggle the switch in the Enabled column. To configure a behavior group, see Configuring Hybrid Cloud Console notification behavior groups.

3.3. Editing, deleting,or removing integrations

The Notifications administrator can edit, remove, or disable any Hybrid Cloud Console integration listed on the Integrations page.

Prerequisites

  • You are logged in to the Red Hat Hybrid Cloud Console as an Organization Administrator or a Notifications administrator.
  • You have configured an integration in the Red Hat Hybrid Cloud Console.

Procedure

  1. In the Hybrid Cloud Console, navigate to Settings > Integrations.
  2. Click the Integrations tab.
  3. Click the options icon (⋮) on the far right of the integration name row, and click Edit, Delete, or Disable.
  4. Make and save changes, delete, or disable the integration.
Red Hat logoGithubRedditYoutubeTwitter

Learn

Try, buy, & sell

Communities

About Red Hat Documentation

We help Red Hat users innovate and achieve their goals with our products and services with content they can trust.

Making open source more inclusive

Red Hat is committed to replacing problematic language in our code, documentation, and web properties. For more details, see the Red Hat Blog.

About Red Hat

We deliver hardened solutions that make it easier for enterprises to work across platforms and environments, from the core datacenter to the network edge.

© 2024 Red Hat, Inc.