You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: current-version/2-Process/2-3-Build/2-3-5-Security-Gates.md
+32-31Lines changed: 32 additions & 31 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,17 +1,19 @@
1
1
# Security Gates
2
2
3
-
Security gates are automated checkpoints in your CI/CD pipeline that enforce security policies before code can proceed to the next stage. They act as quality gates specifically focused on security, ensuring that vulnerabilities, misconfigurations, and policy violations are caught early in the development lifecycle.
3
+
Security gates are checkpoints in your CI/CD pipeline that block or warn when security issues are detected. Think of them like quality gates, but for security - if a scan finds a critical vulnerability, the pipeline stops and the code doesn't get deployed.
4
4
5
-
## Why Security Gates Matter
5
+
The idea is simple: catch problems before they hit production. A vulnerability found during a pull request costs minutes to fix. The same vulnerability found in production? That's an incident, potentially a breach, and weeks of cleanup.
6
6
7
-
Without security gates, vulnerabilities can slip through the pipeline and reach production, leading to:
7
+
## Why Bother?
8
8
9
-
- Data breaches and security incidents
10
-
- Costly remediation efforts
11
-
- Compliance violations
12
-
- Reputation damage
9
+
Most teams already run linters and unit tests in CI. Security gates extend this to:
13
10
14
-
Security gates shift security left by making it an integral part of the development process rather than an afterthought.
11
+
- Block code with hardcoded secrets or API keys
12
+
- Catch vulnerable dependencies before they ship
13
+
- Flag container images with known CVEs
14
+
- Enforce infrastructure-as-code policies (no public S3 buckets, etc.)
15
+
16
+
Without gates, security becomes a manual review bottleneck or gets skipped entirely when deadlines hit.
15
17
16
18
## Types of Security Gates
17
19
@@ -30,11 +32,11 @@ Security gates shift security left by making it an integral part of the developm
0 commit comments