v4

latestOpenAPI 3.0.32026-07-312,317012.2 MB
Secret Scanning

Create a Bitbucket Data Source for the specified project.

post/api/v2/secret-scanning/data-sources/bitbucket

Request body

namestring required

The name of the Bitbucket Data Source to create. Must be slug-friendly.

projectIdstring required

The ID of the project to create the Bitbucket Data Source in.

descriptionstring nullable

An optional description for the Bitbucket Data Source.

connectionIdstring uuid required

The ID of the Bitbucket Connection to use for this Data Source.

isAutoScanEnabledboolean

Whether scans should be automatically performed when a push occurs to repositories associated with this Data Source.

Response

Default Response