TMAegis
More rules for gitlab

GitLab

TMA-GITLAB-2.3.6

Ensure pipelines are automatically scanned for misconfigurations

MediumLevel 1Manual reviewgitlab

Description

Scan the pipeline for misconfigurations. It is recommended that this be performed automatically. Automatic scans for misconfigurations detect human mistakes and misconfigured tasks. This protects the environment from backdoors caused by such mistakes, which create easier access for attackers. For example, a task that mistakenly configures credentials to persist on the disk makes it easier for an attacker to steal them. This type of incident can be prevented by auto-scanning.

How it is checked

Audit method: Manual review

This recommendation cannot be checked automatically. A scan lists it with these instructions when you pass --include-manual.

For each pipeline, verify that it is automatically scanned for misconfigurations.

How it is fixed

Fix method: Guidance or infrastructure patch

For each pipeline, set automated misconfiguration scanning.

Properties

Operating systems
Any
Tags
ci-cddevsecopsgitlab
Reference
CIS GitLab Benchmark v1.0.1 - 2.3.6 Ensure pipelines are automatically scanned for misconfigurations