Notifier Plugin for Ticket Orchestrator

Notifier Plugin for Ticket Orchestrator

This document explains how to configure the Notifier integration with the Cloud Ticket Orchestrator module of the Netskope Cloud Exchange platform.

Prerequisites

To complete this configuration, you need:

  • A Netskope tenant (or multiple, for example, production and development/test instances) that is already configured in Cloud Exchange.
  • A Netskope Cloud Exchange tenant with the Ticket Orchestrator module already configured.
  • An account in the appropriate Notifier platform(s), like Slack, PagerDuty, etc., and for Gmail, you need access to smtp.gmail.com and its port 465.

Workflow

  1. Configure the Notifier plugin.
  2. Configure Ticket Orchestrator Business Rules for Notifier.
  3. Configure Ticket Orchestrator Queues for Notifier.
  4. Validate the Notifier Plugin.

Click play to watch a video.

 

Notifier Plugin with Slack for Ticket Orchestrator

Get a Slack Webhook URL

If you already have a slack application, jump to step 3.

  1. To get a slack webhook URL, first sign in to your Slack account and then navigate to https://api.slack.com/messaging/webhooks and click on Create your Slack app button.
    image18.png
  2. Select From Scratch.
    image19.png
  3. Enter the name of your application for App Name, and select the workspace in which you want to create the application. Click Create App.
    image20.png
  4. Under Add Features and Functionality, click the Incoming Webhooks tile.
    image21.png
  5. Toggle the switch on top right corner (if not already On) to activate incoming webhooks in your application.
    image22.png
  6. Click Add New Webhook to Workspace.
    image23.png
  7. Select the channel in which you want your application to post the notifications, and then click Allow.
    image24.png
  8. Click Copy to copy the newly generated webhook URL. This will be used while creating the Notifier plugin.
    image25.png

Configure the Notifier Plugin with Slack for Ticket Orchestrator

  1. Log in to Cloud Exchange
  2. Go to Settings > Plugins.
  3. Search for and click on the Notifier plugin tile.
    image26.png
  4. Enter and select the Basic Information on the first page:
    • Configuration Name: Unique name for the configuration.
    • Sync Interval: Leave Default.
    • Use System Proxy: Enable if proxy is required for communication.
    image27.png
  5. Click Next.
  6. For Platform Name, select Slack (Webhooks) from the dropdown list.
    image28.png
  7. Click Next.
  8. Enter the Configuration Parameters on the third page:
    • Webhook URL: Webhook URL obtained previously.
    • Icon URLURL: Leave Default
    • Icon Emoji: Leave Default
    • Username: Leave Default
    • Channel: Leave Default
    • Unfurl Links: Leave Default
    image29.png
  9. Click Save.
    image30.png

Configure Ticket Orchestrator Business Rules for Notifier with Slack

  1. Go to Ticket Orchestrator > Business Rule and click Create New Rule.
  2. Add the rule name, and select your query for the business rule.
    image7.png
  3. Click Save.

Configure Ticket Orchestrator Queues for Notifier with Slack

  1. Go to Ticket Orchestrator > Queues and click Add Queue Configuration.
    image31.png
  2.  Enter and select these values:
    • Business Rule: Select the Business Rule created previously.Configuration: Select the Notifier Configuration created previously.Queues: For the Slack Notifier plugin, it should be a Notification queue.Map Fields: Add/Map appropriate values between alerts and notifications under the Map Field section. Alert’s attributes can be accessed via “$” in the custom message field.Click on the Add button to add more field mappings.
    image32.png
  3. Click Save.
  4. Based on the business rule(s), notifications for incoming alerts will be sent automatically to the configured Slack channel.

    To create notifications for historical alerts, click Sync on the configured queue and enter the Time period (in days), and then click Fetch. It’ll show the number of alerts that are eligible for sending notifications.

  5. Click on the Sync button to send the notification(s).
    image34.png

Notifier Plugin with Email (SMTP) or Gmail for Ticket Orchestrator

Configure the Notifier Plugin with Email (SMTP) or Gmail for Ticket Orchestrator

  1. Log in to Cloud Exchange.
  2. Go to Settings > Plugins.
  3. Search for and click on the Notifier plugin tile.
    image1.png
  4. Enter and select the Basic Information on the first page:
    • Configuration Name: Unique name for the configuration.
    • Sync Interval: Select a value to fetch alerts data from the source Netskope Ticket Orchestrator (ITSM) plugin.Use System Proxy: Enable if proxy is required for communication.
    image12.png
  5. Click Next.
  6. For Platform Name, select Email (SMTP) or Gmail from the dropdown list.
  7. Click Next.
  8. Enter the Configuration Parameters on the third page:
    • To: One or more comma-separated email addresses.
    • From: The from address to use when sending email notifications. Host: FQDN or IP address of the SMTP server. In case of Gmail, use the value smtp.gmail.com. Port: Select port number to use.Username: Type username if relevant. Password: Type password if relevant.Tls: Select if TLS is required.Ssl: Select if SSL is required.Html: Select if email should be parsed as an HTML file. Login: Select to Trigger login to server.
    image14.png
    image5.png

    Note

    If your SMTP Server or Gmail service is configured with MFA, then you will need to generate an Application Specific Password to use with the plugin.

  9. Click Save.
    image15.png
  1. Go to Ticket Orchestrator > Business Rule and click Create New Rule.
  2. Enter a rule name and build the appropriate filter query condition on fields(s) for the business rule. You can also type the query manually by clicking Filter Query.
  3. Click Save.
  4. To create Mute Rule(s) and/or Deduplication Rule(s) for this business rule, click on the Business Rule you created.
  5. Click on the round + icon to create a new Mute Rule/Deduplication Rule.
  6. Enter a Rule Name and build the appropriate condition, and then click Save.
  7. Similarly, Deduplication Rule(s) can be created.
  8. To test the newly created business rule, click on the refresh icon, enter a Time period ( in days), and then click Fetch. This shows the number of alerts that are eligible for incident/ticket creation.

Configure Ticket Orchestrator Queues for Notifier with Email (SMTP) or Gmail

  1. Go to Ticket Orchestrator > Queues and click Add Queue Configuration.
    image16.png
  2. Enter and select these values:
    • Business Rule: Select the Business Rule created previously.Configuration: Select the Notifier Configuration created previously, Notifier in this case.Queues: For the Email n(SMTP) or Gmail Notifier plugin, it should be Notification.Map Fields: Add/Map appropriate values between alerts and notification under the Map Field section. Alert’s attributes can be accessed via “$” in the custom message field. For the Email Notifier Plugin, these options are available:
      • Message: Message of the email. You can also use HTML tags to format email content for notifications.
      • Subject: Subject of the email.
      • To: Comma separated email addresses, a default set to $user field from alerts.
  3. Click Save. Based on the business rule(s), Notifications for incoming alerts will be sent automatically to the To email address configured in the Notifier plugin as well as the user identified in the Alert.

    To create notifications for historical alerts, click the refresh icon for the configured queue and enter the Time period (in days), and then click Fetch. It’ll show the number of alerts that are eligible for sending notifications.

  4. Click on the Sync button to send the notification(s).
    image11.png

Validate the Email (SMTP), Gmail, or Slack Notifier Plugin

In order to validate the workflow, you must have Netskope Alerts.

  1. Go to Ticket Orchestrator > Alerts.
  2. Confirm the delivery of the email notifications to either the “To” email address configured in the Notifier, plugin, or the user email address that has triggered the alert.
  3. If notifications are not being sent to Slack, Gmail, or Email, you can look at the audit logs in Cloud Exchange. Go to Logging and look through the logs for errors.
    image37.png

To view the message(s) sent to Slack, navigate to your configured Slack channel.

Share this Doc

Notifier Plugin for Ticket Orchestrator

Or copy link

In this topic ...