Custom Actions
This document provides instructions on how to set up custom actions such as posting to Slack or Teams in your instance of Zilla. Zilla uses a Webhook, a URL exposed by a third-party service to connect. Follow the directions below to configure.
Connecting to IT Service Management
In Settings, navigate to Custom Actions. You should see the Create Ticket Action. Select the pencil to edit this:
Add the email(s) of your ticketing system(s) to configuration (comma separated if you have multiple):
This action will be used when you manually generate a ticket, if you are sending a ticket with a custom policy, or after an access review is completed. After a UAR, we will send one email per application with an attached CSV that contains all the revocations and changes made for that application.
Parse emails into a ticket using workflows in your ITSM. This varies across platforms, and will be different for each ticketing system.
Connecting to Slack
In settings, navigate to the Custom Actions box. Click on
+Add Action.
Name your action.
Keep it concise because it will be the name you see in the Take Action menu (under 30 characters)In a separate window open api.slack.com, login into your slack instance, and select
Create App
. On the next page, click onFrom scratch
.Name your application "Zilla Notifications" and indicate your workspace. Click
Create App
.Select
Incoming Webhooks
Activate webhooks by moving the slider to “
on
". Click on"Add New Webhook to Workspace"
Indicate which channel you would like posts from Zilla to show up. Click
Allow
.Copy the URL that is generated
Paste the URL into Add Custom Action dialog in Zilla. Make sure the slack channel matches what is indicated above.
Click
Save
. This named action will now be available from theTake Action
menu.Additional configuration for the Slack app: Navigate to https://api.slack.com/apps and click the “Zilla Notifications” app.
Scroll down to Display Information and click
+ Add App Icon
.Download the Zilla logo here and input into the selection dialog. Optionally fill in descriptions and click
Save Changes
.
Connecting to Teams
In settings, navigate to the Custom Actions box. Click on
+Add Action.
Name your action.
Keep it concise because it will be the name you see in the Take Action menu (under 30 characters)Select Type:
"Teams"
In a separate window, log into Microsoft Teams. Navigate to the channel you would like to have your notifications sent to, and follow This Guide to setup an incoming webhook integration on Microsoft Teams.
Copy the Webhook URL provided to you and add it to the URL input field in Zilla Settings.
Click
Save
. This named action will now be available from theTake Action
menu.
Connecting to a Generic Webhook
In settings, navigate to the Custom Actions box. Click on
+Add Action
Name your action. Keep it concise because it will be the name you see in the Take Action menu (under 30 characters)Select Type:
Webhook
Copy the URL from your destination application
For steps 4-6, consult the documentation of your destination app to find the expected method, content type, and JSON structure for webhook requests. Select the method the webhook will use
Enter the Content-Type, for example,
application/json; charset=utf-8
.Replace the sample JSON with your own custom code. Enter keywords in double brackets and Zilla will replace the keywords with relevant details when sending to the webhook.
Currently supported keywords:{{headline}}
- A short summary of the message. Example: "Detected 42 Findings in Zilla Security that require attention."{{body}}
- Additional context and remediation steps. Example: "Please review and take any necessary action."{{comment}}
- The comment you added in Zilla when manually triggering the webhook.
Click
Save
. This named action will now be available from theTake Action
menu.
Adding an Email Distribution List
In settings, navigate to the Custom Actions box. Click on
+Add Action
. Name your action. Keep it concise because it will be the name you see in the Take Action menu (under 30 characters)Select Type:
Email
Enter an email address. In needed, separate multiple email addresses with a comma.
Click
Save
. This named action will now be available from theTake Action
menu.
Having trouble? Please contact support@zillasecurity.com