Custom Actions
Overview
Zilla supports custom actions such as posting to Slack or Teams in your Zilla tenant using a webhook (a URL exposed by a third-party service) to connect.
Scope: Admins
This article covers the following topics:
Prerequisites
Admin account with Zilla Security
Access to set up webhooks in your desired application
Connecting to IT Service Management
Log in to Zilla as an admin and click the
Settingstab on the left side of the page. On theDiscovery & Configurationtab, expand theCustom Actionsdropdown and you should see the Create Ticket Action. Click thepencilto the right of the Description of Action to edit the Custom Action.
Add the email(s) of your ticketing system(s) to the
Ticketing System Email Addressfield. If there are multiple email addresses, separate them with a comma.
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, one email per application will be sent 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
Log in to Zilla as an admin and click the
Settingstab on the left side of the page. On theDiscovery & Configurationtab, expand theCustom Actionsdropdown and click+ Add Action.Type a concise name (under 30 characters) into the
Action Namefield. This will be the name you see in the Take Action menu.Select Slack from the
Typedropdown.
In a separate window open api.slack.com, log in into your Slack instance, and click
Create App. On the next page, selectFrom scratch.
Name your application
Zilla Notificationsand indicate your workspace. ClickCreate App.
Under Basic Information, click
Incoming Webhooks.
Toggle Activate Incoming Webhooks to
On. ClickAdd New Webhook to Workspace.
Select a channel to receive Zilla Notifications posts and click
Allow.
Copy the URL that is generated.
Paste the URL into the
URLfield of theAdd Custom Actiondialog in Zilla. Make sure the Channel Name matches the name in Slack.
Click
Save. This named action will now be available from theTake Actionmenu.
To further configure the Slack app, navigate to https://api.slack.com/apps and select the
Zilla Notificationsapp.
Download the Zilla logo here. In slack api, scroll down to
Display Information, click+ Add App Iconand upload the Zilla Logo.
Fill in the short and long descriptions (optional) and click
Save Changes.
Connecting to Teams
Log in to Zilla as an admin and click the
Settingstab on the left side of the page. On theDiscovery & Configurationtab, expand theCustom Actionsdropdown and click+ Add Action.Type a concise name (under 30 characters) into the
Action Namefield. This will be the name you see in the Take Action menu.Select Teams from the
Typedropdown.
Log in to Microsoft Teams, choose a channel to receive Zilla Notifications posts, and follow these steps to setup an incoming webhook integration on Microsoft Teams.
Copy the Teams webhook URL paste it in the
URLfield in theAdd Custom Actiondialog.
Click
Save. This named action will now be available from theTake Actionmenu.
Connecting to a Generic Webhook
Log in to Zilla as an admin and click the
Settingstab on the left side of the page. On theDiscovery & Configurationtab, expand theCustom Actionsdropdown and click+ Add Action.Type a concise name (under 30 characters) into the
Action Namefield. This will be the name you see in the Take Action menu.Select Webhook from the
Typedropdown.Copy the URL from your destination application and paste it in the
URLfield in the Add Custom Action dialog.For steps 6-8, refer to your destination app’s documentation to determine the expected method, content type, and JSON structure for webhook requests. Select the method the webhook will use.
Select the appropriate
Methodfrom the dropdown in the Add Custom Action dialog.Enter the
Content-Typeinto theContent-Type (HTTP Header)field of the Add Custom Action dialog. For example,application/json; charset=utf-8.Replace the sample JSON with your own custom code. Zilla will replace keywords in double brackets 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 Actionmenu.
Adding an Email Distribution List
Log in to Zilla as an admin and click the
Settingstab on the left side of the page. On theDiscovery & Configurationtab, expand theCustom Actionsdropdown and click+ Add Action.Type a concise name (under 30 characters) into the
Action Namefield. This will be the name you see in the Take Action menu.Select Email from the
Typedropdown.Enter an email address. If needed, separate multiple email addresses with a comma.
Click
Save. This named action will now be available from theTake Actionmenu.
If you encounter any issues, please refer to our troubleshooting articles or visit support.zillasecurity.com and submit a ticket. Our support team will assist you in resolving the problem as quickly as possible.