Skip to main content
ISSUE-403LowPipeline Composition

Outdated template

Control: Pipeline must use only up-to-date includesยท Config key: includesMustBeUpToDate

๐Ÿ“‹ What is this?

An outdated template is used in the project CI/CD pipeline configuration.

โš ๏ธ Impact

Outdated templates may have known vulnerabilities or fall behind current standards. For example, if your security scan template is outdated, it might miss detecting recent threats.

๐Ÿ”ง How to fix

Update the template in your project CI/CD configuration file to the latest version to stay secure and aligned with current standards.

โœ— BeforeComponents are several versions behind the latest release.
# .gitlab-ci.yml - โŒ Uses outdated version
include:
- component: gitlab.com/components/sast/sast@1.0.0
# Latest available: 1.5.2
- component: gitlab.com/components/secret-detection/secret-detection@2.1.0
# Latest available: 2.4.1
โœ“ AfterComponents are up to date with the latest releases.
# .gitlab-ci.yml: โœ… Uses latest versions
include:
- component: gitlab.com/components/sast/sast@1.5.2
- component: gitlab.com/components/secret-detection/secret-detection@2.4.1

๐Ÿ’ก Tips

  • Use Plumber regularly to detect outdated includes before they become a security risk.
  • Consider using Renovate or Dependabot to automate version updates in your CI configuration.
  • Check the CI Catalog changelog for breaking changes before updating major versions.

โš™๏ธ Configuration

This control is configured in .plumber.yaml under the gitlab section:

gitlab:
  controls:
    includesMustBeUpToDate:
      enabled: true

See the CLI documentation for the full configuration reference. On Plumber Platform, the same key is used in your policy configuration.