cURL
GitLab
Create
Create a GitLab Data Source for the specified project.
POST
cURL
Documentation Index
Fetch the complete documentation index at: https://infisical-docs-self-host-infra.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Body
application/json
The name of the GitLab Data Source to create. Must be slug-friendly.
Required string length:
1 - 64The ID of the project to create the GitLab Data Source in.
Minimum string length:
1The ID of the GitLab Connection to use for this Data Source.
- Option 1
- Option 2
An optional description for the GitLab Data Source.
Maximum string length:
256Whether scans should be automatically performed when a push occurs to projects associated with this Data Source.
Response
Default Response