Bitbucket
  • 23 Jan 2024
  • 2 Minutes to read
  • Dark
    Light
  • PDF

Bitbucket

  • Dark
    Light
  • PDF

Article Summary

Bitbucket is a web-based version control repository hosting service for source code and development projects that use either Mercurial or Git revision control systems.

Note:

To use Bitbucket server enter a User Name and Password, to use Bitbucket Cloud enter a Client ID and App Secret.

Types of Assets Fetched

This adapter fetches the following types of assets:

  • Devices
  • Users

Parameters

  1. Host Name or IP Address (required) - The hostname or IP address of the Bitbucket server. This adapter supports both Bitbucket Cloud and Bitbucket server.

  2. User Name (V1) or Client ID (V2 Bitbucket Cloud) (required) - The user name for the Bitbucket server, or the client ID for the Bitbucket Cloud that has the Required Permissions to fetch assets.

  3. Password (V1) or App Secret (V2 Bitbucket Cloud) (required) - The password for the Bitbucket server, or the App Secret for the Bitbucket Cloud.

  4. Use Bitbucket Cloud API (V2) - Select this option to use the Bitbucket Cloud instead of the Bitbucket server.

  5. API Rate Limit per Hour (optional, default: 1000) - Specify a rate limit for the number of requests per hour to be sent to Bitbucket.

  6. Verify SSL - Select whether to verify the SSL certificate of the server against the CA database inside of Axonius. For more details, see SSL Trust & CA Settings.

  7. HTTPS Proxy (optional) - Connect the adapter to a proxy instead of directly connecting it to the domain.

  8. HTTPS Proxy User Name (optional) - The user name to use when connecting to the value supplied in Host Name or IP Address via the value supplied in HTTPS Proxy.

  9. HTTPS Proxy Password (optional) - The password to use when connecting to the server using the HTTPS Proxy.

To learn more about common adapter connection parameters and buttons, see Adding a New Adapter Connection.

Bitbucket


Advanced Settings

Note:

Advanced settings can either apply for all connections for this adapter, or you can set different advanced settings and/or different scheduling for a specific connection, refer to ​Advanced Configuration for Adapters

  1. Fetch maximum commits (optional, default: 50) - Specify the maximum number of commit records Axonius should fetch from all the connections of this adapter.
  2. Max audit log record pages to parse (optional, default: 50) - Specify the maximum number of pages to parse for the users visit log for all connections for this adapter. The maximum value for this parameter is 1000.


BitBucketAdv.png


NOTE

For details on general advanced settings under the Adapter Configuration tab, see Adapter Advanced Settings.


APIs

Axonius uses the Bitbucket Server - REST.

Please note that the repository in Bitbucket must have the default branch set. Before setting up the adapter connection, confirm that the default branch is set correctly. To do so refer to this link.

Required Permissions

The value supplied in User Name must have PROJECT_VIEW, REPO_READ permissions to fetch assets.


Was this article helpful?

Changing your password will log you out immediately. Use the new password to log back in.
First name must have atleast 2 characters. Numbers and special characters are not allowed.
Last name must have atleast 1 characters. Numbers and special characters are not allowed.
Enter a valid email
Enter a valid password
Your profile has been successfully updated.