Skip to main content

Integrating Invicti Enterprise with Bitbucket

This document is for:
Invicti Enterprise On-Demand, Invicti Enterprise On-Premises

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 Invicti Enterprise to send a detected vulnerability to Bitbucket, enabling seamless integration between security scanning and project management workflows.

Additional Integrations

For further information, see What Systems Does Invicti Integrate With? external documentation.

Bitbucket Fields

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

Button/Section/FieldDescription
NameThis is the name of the configuration that will be shown elsewhere.
MandatoryThis section contains fields that must be completed.
RepositoryThis is the repository name that includes the issue. Make sure to enter a URL-friendly version of a repository name that you can find in the address bar.
UsernameThis is the name of the user.
PasswordThis is the password of the user.
Title FormatThis is the string format that is used to create the vulnerability title.
OptionalThis section contains optional fields.
WorkspaceThis is the workspace name that includes the issue. Make sure to enter a URL-friendly version of a workspace name or its UUID.
KindThis is the type of the issue. The options are: bug, enhancement, proposal, task
PriorityThis is the priority of the bug. The options are: trivial, minor, major, critical, blocker
tip

For further information, see URL-friendly version and UUID

Bitbucket test repo

How to Integrate Invicti Enterprise with Bitbucket

Follow these steps to establish the connection between Invicti Enterprise and your Bitbucket repository:

  1. Log in to Invicti Enterprise.

  2. From the main menu, go to Integrations > New Integration.

Invicti Enterprise main menu showing Integrations section with New Integration option
  1. From the Issue Tracking Systems section, select Bitbucket.
Issue Tracking Systems section displaying Bitbucket integration option
  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
  3. Select Create Sample Issue to confirm that Invicti Enterprise can connect to the configured system. A confirmation message is displayed to confirm that the sample issue has been successfully created.

  4. In the confirmation message, select the Issue number link to open the issue in your default browser.

  5. Select Save to save the integration.

How to Edit the Bitbucket Integration

  1. Log in to Invicti Enterprise.
  2. Go to Integrations > Manage Integration.
  3. Next to Bitbucket, select Edit.
  4. Make the necessary changes and select Save.

How to Delete the Bitbucket Integration

  1. Log in to Invicti Enterprise.
  2. Go to Integrations > Manage Integration.
  3. Next to Bitbucket, select Delete.
  4. On the confirmation dialog, select Delete.

How to Export Reported Vulnerabilities to Projects in Bitbucket

There are several ways to send issues to Bitbucket with Invicti Enterprise:

Automatic Issue Submission

Once notifications have been configured, you can configure Invicti Enterprise 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 external documentation for detailed instructions.

Send Issues from the Issues Window

You can send one or more issues from the Issues window:

  1. From the main menu, select Issues > All Issues.
  2. From the Issues window, select one or more issues you want to send.
  3. Select Send To > Bitbucket.
Issues window showing Send To Bitbucket option for selected vulnerabilities

A pop-up is displayed with a link to the issue you have sent to Bitbucket. If there is an error, the relevant error information will be displayed instead.

Send Issues from the Recent Scans Window

You can also send an issue from the Recent Scans window:

  1. From the main menu, select Scans > Recent Scans.
  2. Next to the relevant scan, select Report.
  3. Scroll down to the Technical Report section.
  4. From the list of detected vulnerabilities, select an issue and display its details.
  5. Select Send To > Bitbucket.
Recent Scans window showing Send To Bitbucket option from Technical Report section
Duplicate Prevention

If you have previously submitted this vulnerability to Bitbucket, it will already be accessible. You cannot submit the same issue twice.


Need help?

Invicti Support team is ready to provide you with technical help. Go to Help Center

Was this page useful?