Skip to main content
To scan your GitLab projects for leaked secrets, create a GitLab data source in Infisical.

Prerequisites

Create a GitLab data source in Infisical

1
Go to Secret Scanning > Data Sources and select Add Data Source.Secret Scanning Dashboard
2
Select GitLab.Select GitLab
3
Select the connection to use and the GitLab project or group to scan, then select Next.Data Source Configuration
  • GitLab Connection: The connection that can access the projects you want to scan
  • Scope: Whether Infisical scans one GitLab project or the projects in a GitLab group
    • Project: Scan the project you select in Project
    • Group: Scan projects in the group you select in Group
  • Scan Projects: If Scope is Group, which of the group’s projects Infisical scans
    • All Projects: Every project in the group
    • Select Projects: Only the projects you select in Include Projects
  • Auto-Scan Enabled: Whether Infisical scans each new push to the projects
4
Enter a name and, optionally, a description for the data source, then select Next.Data Source Details
  • Name: A name that contains only lowercase letters, numbers, and hyphens
  • Description (optional): A description of the data source
5
Review the data source, then select Create Data Source.Data Source Review
6
The data source appears in Data Sources. If auto-scan is enabled, Infisical starts a historical scan of every project.Data Source Created
7
To see the data source’s projects and scan history, select the data source.Data Source Page
8
To review the secrets the scans found, go to Findings. To learn what each finding contains and how to change its status, see Findings.Findings Page