Bitbucket
Prerequisites
Before integrating Bitbucket, it is recommended to create an Invicti ASPM service account as a preparation step and ensure that this user has access to the projects to be scanned.
Integration Steps
- Sign in to Bitbucket Cloud.
- Click the profile icon at top right cornet.
- Click Account Settings.
- Click Security Tab and Navigate to the API Tokens.
- Click Create and manage API tokens under the API Tokens section.
- Provide a descriptive name for the token to clearly identify its purpose and set an expiration date.
- Select Bitbucket as the application.
- After selecting the required scopes, create the token.
- Read
- read:issue:bitbucket
- read:pullrequest:bitbucket
- read:repository:bitbucket
- read:user:bitbucket
- read:workspace:bitbucket
- Write
- write:issue:bitbucket
- write:pullrequest:bitbucket
- Read
- Copy the generated token and store it securely. For security reasons, the token will not be visible again after leaving the page.
- After this step, the process can be continued from the Invicti ASPM UI using the generated token
At this step, entering the token and clicking Test Connection is sufficient.
Onboarding Projects
Afterwards, projects can be synchronized from the Sync option located next to the Activate button, allowing projects to be onboarded quickly.
When the Daily Sync feature is enabled, the system synchronizes projects from Bitbucket on a daily basis and automatically onboards all projects that have not yet been onboarded. If the license project count is limited, enabling this feature is not recommended. The available project quota may be consumed rapidly, which can prevent new projects from being added to the system.
Updated 3 days ago
