- 06 Sep 2024
- 2 Minutes to read
- Print
- DarkLight
- PDF
Bitbucket
- Updated on 06 Sep 2024
- 2 Minutes to read
- Print
- DarkLight
- PDF
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.
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
Host Name or IP Address (required) - The hostname or IP address of the Bitbucket server. This adapter supports both Bitbucket Cloud and Bitbucket server.
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.
Password (V1) or App Secret (V2 Bitbucket Cloud) (required) - The password for the Bitbucket server, or the App Secret for the Bitbucket Cloud.
Use Bitbucket Cloud API (V2) - Select this option to use the Bitbucket Cloud instead of the Bitbucket server.
Use OAuth2 to Authenticate - Select this option to use OAuth2 client credentials to authenticate Bitbucket API V2.
API Rate Limit per Hour (optional, default: 1000) - Specify a rate limit for the number of requests per hour to be sent to Bitbucket.
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.
HTTPS Proxy (optional) - Connect the adapter to a proxy instead of directly connecting it to the domain.
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.
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.
Advanced Settings
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
- Fetch maximum commits (optional, default: 50) - Specify the maximum number of commit records Axonius should fetch from all the connections of this adapter.
- 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.
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 and READ permission on the Account scope to fetch assets.