TMA-GITHUB-2.3.2
Ensure steps have clearly defined build stage input and output
Description
Define clear expected input and output for each build stage. In order to have more control over data flow in the build pipeline, clearly define the input and output of the pipeline steps. If anything malicious happens during the build stage, it will be recognized more easily and ... 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 stage, verify that the expected input and output are clearly defined. Expected state: For each build stage, clearly define what is expected for input and output.
How it is fixed
Fix method: Guidance or infrastructure patch
For each build stage, clearly define what is expected for input and output.
Properties
- Operating systems
- Any
- Tags
- githubbuild-pipelines
- Reference
- CIS GitHub Benchmark v1.2.0 - 2.3.2 Ensure steps have clearly defined build stage input and output