Skip to main content
ISSUE-408HighPipeline Composition

Missing required component

Control:CTRL-408Pipelines must include components

📋 What is this?

A required GitLab catalog component, as defined in your Policy controls, is missing in the project pipeline.

⚠️ Impact

Missing components result in insecure pipeline configurations that don't match your policy. For example, if your pipeline is missing a security scan component, vulnerabilities might go undetected.

🔧 How to fix

Include the missing GitLab catalog component in the CI/CD pipeline configuration of the project.

✗ BeforeThe SAST component is required but missing from the pipeline.
# .gitlab-ci.yml: ❌ Missing required SAST component
include:
- component: gitlab.com/components/secret-detection/secret-detection@2.4.1
# Missing: gitlab.com/components/sast/sast (required by policy)
✓ AfterBoth required components are included.
# .gitlab-ci.yml: ✅ All required components included
include:
- component: gitlab.com/components/sast/sast@1.5.2
- component: gitlab.com/components/secret-detection/secret-detection@2.4.1

💡 Tips

  • Use expression syntax (AND/OR) in required for complex rules: (sast AND secret-detection) OR full-security.
  • Alternatively, use requiredGroups with arrays for OR-of-ANDs logic.
  • The include must match the component path pattern configured for the control.

⚙️ Configure this control

On the Plumber Platform: open the Policies page and set control CTRL-408 on the policy that governs the project.

With the CLI alone: set it in your configuration file. Every field and default is in the controls configuration reference, CTRL-408.