TMA-GITHUB-2.3.5
Ensure access to build process triggering is minimized
Description
Restrict access to pipeline triggers. Build pipelines are used for multiple reasons. Some are very sensitive, such as pipelines which deploy to production. In order to protect the environment from malicious acts or human mistakes, such as a developer ... 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 every pipeline in use, verify only the necessary users have permission to trigger it. Expected state: For every pipeline in use, grant only the necessary users permission to trigger it.
How it is fixed
Fix method: Guidance or infrastructure patch
For every pipeline in use, grant only the necessary users permission to trigger it.
Properties
- Operating systems
- Any
- Tags
- githubbuild-pipelines
- Reference
- CIS GitHub Benchmark v1.2.0 - 2.3.5 Ensure access to build process triggering is minimized