GitLab App
The Precogs GitLab integration brings automated security scanning to your GitLab CI/CD pipelines.
Installation
- Log in to your Precogs Dashboard.
- Navigate to Integrations → GitLab.
- Click Connect GitLab and authorize Precogs.
- Select the projects you want to scan.
CI/CD Integration
Add the Precogs scanner to your .gitlab-ci.yml:
stages:
- test
precogs-scan:
stage: test
image: precogs/scanner:latest
script:
- precogs scan --ci
only:
- merge_requests
Configuration
Create a .precogs.yaml file in your repository root:
# .precogs.yaml
scan:
enabled: true
languages:
- python
- javascript
severity_threshold: medium
Merge Request Comments
Precogs will automatically comment on merge requests with:
- Security findings with severity levels
- Remediation suggestions
- Links to detailed reports in the dashboard
Next Steps
- Quickstart Guide — See your first finding
- Precogs CLI — Local scanning