Integrating Acunetix 360 with Bitbucket
Bitbucket is a web-based hosting service for code management. It provides development teams with a place to plan projects, collaborate on code, test, and deploy. When you add a repository to Bitbucket Cloud, the issue tracker helps you track your project's feature requests, bug reports and other project management tasks.
This topic explains how to configure Acunetix 360 to send a detected vulnerability to Bitbucket.
For further information, see What Systems Does Acunetix 360 Integrate With?.
This table lists and explains the Bitbucket Fields in the New Bitbucket Integration window.
This is the name of the configuration that will be shown elsewhere.
This section contains fields that must be completed.
This is the repository name that includes the issue.
This is the name of the user.
This is the password of the user.
This is the string format that is used to create the vulnerability title.
This section contains optional fields.
This is the type of the issue. The options are:
This is the priority of the bug. The options are:
How to Integrate Acunetix 360 with Bitbucket
- Log in to Acunetix 360.
- From the main menu, click Integrations, then New Integration.
- From the Issue Tracking Systems section, click Bitbucket. The New Bitbucket Integration window is displayed.
- In the Name field, enter a name for the integration.
- In the Mandatory section, complete the connection details:
- Title Format
- 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.
- In the confirmation message, click the Issue number link to open the issue in your default browser.
- If the Bitbucket 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 Repository was entered incorrectly
- If the Username was entered incorrectly
- If the issue tracker is not active in the repository you will get this error. To fix this, you can activate it by accessing the Issue Tracking menu from the repository settings in Bitbucket.
- Click Save to save the integration.
How to Export Reported Vulnerabilities to Projects in Bitbucket
There are several ways to send issues to Bitbucket with Acunetix 360:
- Once notifications have been configured, you can configure Acunetix 360 to automatically send vulnerabilities to Bitbucket 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 Bitbucket
- A popup is displayed, with a link to the issue you have sent to Bitbucket. If there is an error, this information will be displayed instead.
- You can also send an issue from the Recent Scans window:
- From the main menu, click Scans, the Recent Scans.
- Next to the relevant scan, click Report. The report is displayed.
- Scrolls 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 Bitbucket
- If you have previously submitted this vulnerability to Bitbucket, it will already be accessible. You cannot submit the same issue twice.
- If you click the link, it will look like this: