v4

latestOpenAPI 3.0.32026-07-312,317012.2 MB
Secret Scanning

Create a GitLab Data Source for the specified project.

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

Request body

namestring required

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

projectIdstring required

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

descriptionstring nullable

An optional description for the GitLab Data Source.

connectionIdstring uuid required

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

isAutoScanEnabledboolean

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

Response

Default Response