curl --request GET \
--url https://us.infisical.com/api/v2/secret-scanning/data-sources/bitbucket
{
"dataSources": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"externalId": "<string>",
"name": "<string>",
"description": "<string>",
"encryptedCredentials": "<any>",
"isAutoScanEnabled": true,
"projectId": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"isDisconnected": false,
"type": "bitbucket",
"connectionId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"connection": {
"app": "bitbucket",
"name": "<string>",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
},
"config": {
"workspaceSlug": "<string>",
"includeRepos": [
"*"
]
}
}
]
}
List the Bitbucket Data Sources for the specified project.
curl --request GET \
--url https://us.infisical.com/api/v2/secret-scanning/data-sources/bitbucket
{
"dataSources": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"externalId": "<string>",
"name": "<string>",
"description": "<string>",
"encryptedCredentials": "<any>",
"isAutoScanEnabled": true,
"projectId": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"isDisconnected": false,
"type": "bitbucket",
"connectionId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"connection": {
"app": "bitbucket",
"name": "<string>",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
},
"config": {
"workspaceSlug": "<string>",
"includeRepos": [
"*"
]
}
}
]
}
The ID of the project to list Bitbucket Data Sources from.
1
Default Response
The response is of type object
.
Was this page helpful?