Integrating Acunetix 360 with Webhooks
Acunetix 360 allows you to integrate with many issue tracking systems. However, there are some applications for which Acunetix 360 does not currently offer integration. Instead, Acunetix 360 offers webhook integration for applications that support incoming webhooks. Webhooks are not applications, but they provide a way for an application to get data from other applications with real-time information.
This table lists and explains the Webhook fields in the New Webhook Integration window.
This is the name of the configuration that will be shown in menus.
This section contains fields that must be completed.
This is the Webhook instance URL.
This is the string format that is used to create the vulnerability title.
This indicates the action to be performed on a resource for the request.
This is the data format in which requests are sent.
This section contains optional fields.
This is the parameter name of the issue.
This is the parameter name of the issue title.
This is the parameter name of the issue body.
This is the username for the HTTP authentication.
This is the password for HTTP authentication.
This section contains the HTTP Headers that will be added to the HTTP request.
Enter a name for the new HTTP Header.
Enter a value for the new HTTP Header.
This section contains user-defined custom fields.
New Custom Field
Click to create a new custom field.
Enter a name for the new custom field.
Enter a value for the new custom field.
Click the dropdown to change the input type. The options are:
Create Sample Issue
Once all relevant fields have been configured, click to create a sample issue.
How to Integrate Acunetix 360 with a Webhook
- Log in to Acunetix 360.
- From the main menu, click Integrations then New Integration.
- From the API section, click Webhook. The New Webhook Integration window is displayed.
- Create a webhook for the application you want. (For this procedure, we will use Slack as an example of how to create Incoming Webhooks.)
- In the Name field, enter a name for the integration.
- In the Mandatory section, complete the connection details:
- Title Format
- HTTP Method
- Payload Type
- In the Optional section, complete as required:
- Issue Parameter
- Title Parameter
- Body Parameter
- Click Create Sample Issue to confirm that Acunetix 360 can connect to the configured system. A confirmation message is displayed to confirm that the sample issue has been successfully created.
- If the Webhook integration is not configured correctly, Acunetix 360 will correctly route the following descriptive error messages to you. Sample error messages may be displayed as illustrated:
- If the URL was entered incorrectly
How to Export Reported Vulnerabilities to Projects Using a Webhook
There are several ways to send issues to projects using a webhook with Acunetix 360:
- Once notifications have been configured, you can configure Acunetix 360 to automatically send vulnerabilities after scanning has been completed (see How to Configure a Notification to Report Vulnerabilities to an Issue Tracking System).
- You can send one or more issues from the Issues window:
- You must have Manage Issue permission.
- From the main menu, select Issues, then All Issues. The Issues window is displayed.
- Select one or more issues you want to send.
- Click Send To, then SlackWebHook.
- A popup is displayed, with a message about the issue you have sent via the webhook. If there is an error, this information will be displayed instead.
- You can send an issue from the Recent Scans window:
- From the main menu, click Scans then Recent Scans.
- Next to the relevant scan, click Report. The report is displayed.
- Scroll down to the Technical Report section.
- From the list of detected vulnerabilities, click to select an issue and display its details.
- Click Send To, then SlackWebhook.
- If you have previously submitted this vulnerability via a webhook, it will already be accessible. You cannot submit the same issue twice.
- If you view opened problem logs via a webhook, they look like this.