security gate
An automated check in a pipeline that stops a change going further when it fails, usually by exiting with a non-zero code.
In more detail
Good gates block only new, high-confidence problems and tolerate known debt, otherwise developers learn to bypass them. Comparing findings with the main branch shows which ones a change introduced.
Example
Key findings by rule and file rather than line number, because line numbers move with every editRelated terms
- shift left — Doing testing, quality and security checks as early as they work reliably in the software development lifecycle, instead of only before release.
- exit code — A number a process returns when it finishes: 0 means success, anything else means something went wrong.
- status check — A pass or fail result that a pipeline job reports on a commit or pull request, which can be required before merging.
- baseline — A recorded reference state, such as agreed settings or normal behaviour, that later states are compared against.
- pipeline — An automated sequence of steps, such as build, test, scan and publish, that runs on every change.
- pre-commit hook — A Git hook that runs before a commit is created and can refuse the commit, for example when it contains something shaped like a secret.
Taught in
- Cross-Account AssumeRole Chains & Temporary STS — Cloud Security & DevSecOps Engineering
- Zero-Trust Network Access & IdP Federation — Cloud Security & DevSecOps Engineering
- Shift-Left Security Principles & Automated Pipeline Gates — Cloud Security & DevSecOps Engineering
- Software Composition Analysis with Trivy — Cloud Security & DevSecOps Engineering
- Supply Chain Security: SBOMs & Cosign Signing — Cloud Security & DevSecOps Engineering
- Static IaC Scanning: Linting Terraform with Checkov — Cloud Security & DevSecOps Engineering
- Container Security: Minimal Bases And Non Root — Application Security & Threat Modeling for Engineers
- Static Application Security Testing — Application Security & Threat Modeling for Engineers
- Secret Scanning — Application Security & Threat Modeling for Engineers
- How To Stop Drowning In Findings — Application Security & Threat Modeling for Engineers