GitLab compliance frameworks: Adhere to SOC 2 in minutes
Aug 27, 2026Fernando Diaz

Summary
This post details the implementation and usage of custom compliance frameworks in GitLab, focusing on adhering to SOC 2. It explains how to create frameworks from templates (e.g., SOC 2 JSON), apply them to groups and projects, and leverage the compliance status report for continuous monitoring. It also describes how security policies can be scoped to compliance frameworks for enforcement. The post highlights specific controls mapped to SOC 2 criteria, such as SAST, dependency scanning, secret detection, default branch protection, and approval rules.
More from the Custom Compliance Frameworks trail
- Prepare for the Cyber Resilience Act's 24-hour reporting deadline
- Reduce supply chain risk with SBOM-based dependency scanning
- Automate embedded systems compliance with GitLab and CodeSonar
- Delivering faster and smarter scans with Advanced SAST
- How to transform compliance observation management with GitLab