Enable GitLab Compliance Center integration with CI/CD pipelines through predefined variables

Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.

Problem to solve

Currently, there is no direct way to integrate GitLab Compliance Center's compliance reports with CI/CD pipelines, making it difficult to automate compliance-based pipeline decisions. Users cannot access compliance report statuses as predefined pipeline variables to use with job rules or within script sections, limiting the ability to enforce compliance requirements during pipeline execution.

Proposal

Introduce predefined pipeline variables that expose compliance report statuses from the GitLab Compliance Center, allowing users to conditionally execute or skip pipeline jobs based on compliance state. This would enable seamless integration between compliance reporting and CI/CD automation, allowing teams to enforce compliance requirements directly within their deployment pipelines without requiring custom API calls or workarounds.

Edited by 🤖 GitLab Bot 🤖