This repository contains ready-to-use GitLab CI templates for DevSecOps pipelines, fully integrated with DefectDojo.
-
Trivy: Scans container images, filesystem, and configuration files for vulnerabilities.
-
Semgrep: Performs SAST scans with customizable rules. Supports rulesets like
p/defaultfor general patterns andp/security-auditfor security-specific findings. -
TruffleHog: Detects secrets, API keys, and sensitive data in Git repositories.
-
Checkov: Scans Infrastructure-as-Code files (Terraform, CloudFormation, Kubernetes manifests) for misconfigurations and compliance issues.
-
DefectDojo: Centralizes and manages all scan results, tracks vulnerabilities, and avoids duplicates.
- Fork or clone this repository.
- Set environment variables for Docker registry, DefectDojo API, and package names.
- Run the pipeline to scan the sample app.
- Artifacts and reports are automatically imported into DefectDojo.
- Place your new CI template in
ci-templates/. - Add a link to its official documentation and a short description in the README.
- Include it in
.gitlab-ci.ymlwith theincludedirective.