Skip to main content
POST
/
integrations
/
gitlab
/
project
/
{projectId}
/
start-scan
Start GitLab repository scan
curl --request POST \
  --url https://us.cybedefend.com/integrations/gitlab/project/{projectId}/start-scan \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "repositoryId": "550e8400-e29b-41d4-a716-446655440000"
}
'

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

projectId
string
required

Project identifier

Example:

"550e8400-e29b-41d4-a716-446655440001"

Body

application/json
repositoryId
string
required

GitLab repository identifier to scan

Example:

"550e8400-e29b-41d4-a716-446655440000"

Response

200

GitLab scan started successfully