Centralized compliance frameworks
- Tier: Ultimate
- Offering: GitLab Self-Managed
- Status: Beta
The availability of this feature is controlled by a feature flag. For more information, see the history. This feature is subject to change and may not be ready for production use.
Centralized security compliance frameworks management allows GitLab administrators to centrally manage and enforce compliance requirements across all groups and projects in a GitLab instance.
By designating a compliance and security policy (CSP) group, you can create compliance frameworks that are automatically available to all top-level groups.
When you designate a compliance and security policy group:
- All compliance frameworks created in the compliance and security policy group become available to every top-level group in your instance.
- Group owners can assign these centralized frameworks to their projects.
- The frameworks appear alongside any group-specific frameworks, with clear indicators showing they come from the compliance and security policy group.
- Compliance and security policy frameworks are read-only for non-members of the compliance and security policy group, ensuring consistent application of compliance standards.
Framework visibility and permissions:
- All users can see which frameworks are applied to projects they have access to.
- Group members can view all compliance and security policy frameworks available to their group.
- The compliance center shows both compliance and security policy group frameworks and group-specific frameworks.
Prerequisites
- You must be an administrator.
- An existing top-level group to serve as the compliance and security policy group.
- To use the REST API (optional), you must have a token with administrator access.
Before you begin
Before you begin, designate a top-level group as your compliance and security policy group to serve as the central location for managing compliance frameworks.
For detailed instructions, see Designate a compliance and security policy group.
Create compliance frameworks in the compliance and security policy group
After you’ve designated a compliance and security policy group, create compliance frameworks in it:
- Go to your designated compliance and security policy group.
- Select Secure > Compliance center.
- On the page, select the Frameworks tab.
- Select New framework.
- Enter the framework details:
- Name: A descriptive name for the framework.
- Description: Explain the purpose and requirements of the framework.
- Color: Choose a color for visual identification.
- Requirements (optional): Add specific controls and requirements.
- Select Save changes.
The framework is now available to all top-level groups in your instance.
Configure framework requirements (optional)
- Tier: Ultimate
- Offering: GitLab Self-Managed
You can define specific requirements and controls for each compliance framework:
- When creating or editing a framework in the compliance and security policy group, go to the Requirements section.
- Select New requirement.
- Add one or more controls:
- GitLab controls: Pre-defined checks for GitLab features and settings.
- External controls: Integration with third-party compliance tools.
- Select Save changes to the framework.
For more information about available controls, see GitLab compliance controls and details of supported compliance standards.
Apply compliance and security policy frameworks to projects
Apply compliance and security policy frameworks to projects as either a group owner or a project owner.
As a group owner
Group owners can view and apply compliance and security policy frameworks to their projects. Compliance and security policy frameworks are read-only on groups and you cannot edit or delete them from your group.
To apply a compliance and security policy framework to projects in your group:
- On the left sidebar, select Search or go to and find your group.
- Select Secure > Compliance center.
- On the page, select the Projects tab.
- Compliance and security policy frameworks appear in the list with a special indicator.
- Select a compliance and security policy framework to apply it to projects in your group.
As a project owner
To see which compliance frameworks apply to your projects:
- On the left sidebar, select Search or go to and find your project:
- Select Settings > General.
- Expand the Compliance frameworks section.
- View all applied frameworks, including those from the compliance and security policy group.
Modifying compliance and security policy frameworks
When you modify a compliance framework in the compliance and security policy group:
- Changes are immediately reflected across all groups.
- Projects using the framework automatically inherit the updates.
- Audit events track all modifications.
- No action is required from group or project owners.
Deleting compliance and security policy frameworks
When you delete a compliance and security policy framework, GitLab displays a warning about affected projects.
When you confirm that you want a compliance and security policy framework deleted:
- The framework is removed from all projects.
- Audit events are generated.
- The framework is no longer visible in any group.
Changing the compliance and security policy group
If you need to change which group serves as the compliance and security policy group:
- All frameworks from the previous compliance and security policy group become unavailable.
- Frameworks from the new compliance and security policy group become available.
- Projects must be reassigned to new frameworks if needed.
For detailed instructions, see designate a compliance and security policy group.
Integration with security policies
Compliance and security policy frameworks can be integrated with security policies for enhanced compliance:
- Create security policies in the compliance and security policy group.
- Scope policies to specific compliance frameworks.
- Projects with those frameworks automatically inherit the policies.
For more information, see security policy management in the compliance and security policy group.
Troubleshooting
Possible solutions to issues you might encounter using centralized compliance frameworks.
Frameworks not appearing in groups
If compliance and security policy frameworks aren’t visible in your groups:
- Verify the compliance and security policy group is properly designated in Admin settings.
- Check that frameworks exist in the compliance and security policy group.
- Ensure you have appropriate permissions to view frameworks.
Cannot modify compliance and security policy frameworks
Compliance and security policy frameworks can only be modified from the compliance and security policy group:
- Go the compliance and security policy group directly.
- Ensure you have the Owner role on the compliance and security policy group.
- Make changes from the compliance and security policy group’s Compliance center.
Feedback and support
Because this feature is in beta, we actively seek feedback from users. Share your experience, suggestions, and any issues through:
- GitLab issues.
- Your regular GitLab support channels.