TMA-GITHUB-2.2.3
Ensure the duties of each build worker are segregated
Description
Separate responsibilities in the build workflow, such as testing, compiling, pushing artifacts, etc., to different build workers so that each worker will have a single duty. Separating duties and allocating them to many workers makes it easier to verify each step in the build process and ensure there is no corruption. Reported as a manual review item: no reliable read-only gh api check exists for this control.
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 build worker, ensure it has the least responsibility possible, preferably only one duty. Expected state: For each build worker, limit its responsibility to one duty.
How it is fixed
Fix method: Guidance or infrastructure patch
For each build worker, limit its responsibility to one duty.
Properties
- Operating systems
- Any
- Tags
- githubbuild-pipelines
- Reference
- CIS GitHub Benchmark v1.2.0 - 2.2.3 Ensure the duties of each build worker are segregated