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?.

Bitbucket Fields

This table lists and explains the Bitbucket Fields in the New Bitbucket Integration window.

Button/Section/Field

Description

Name

This is the name of the configuration that will be shown elsewhere.

Mandatory

This section contains fields that must be completed.

Repository

This is the repository name that includes the issue.

Username

This is the name of the user.

Password

This is the password of the user.

Title Format

This is the string format that is used to create the vulnerability title.

Optional

This section contains optional fields.

Kind

This is the type of the issue. The options are:

  • bug
  • enhancement
  • proposal
  • task

Priority

This is the priority of the bug. The options are:

  • trivial
  • minor
  • major
  • critical
  • blocker
How to Integrate Acunetix 360 with Bitbucket
  1. Log in to Acunetix 360.
  2. From the main menu, click Integrations, then New Integration.

  1. From the Issue Tracking Systems section, click Bitbucket. The New Bitbucket Integration window is displayed.

  1. In the Name field, enter a name for the integration.
  2. In the Mandatory section, complete the connection details:
  • Repository
  • Username
  • Password
  • Title Format
  1. 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.

  1. In the confirmation message, click the Issue number link to open the issue in your default browser.
  2. 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.

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:

 

« Back to the Acunetix Support Page