An automated security gate enforces predefined security requirements within the Continuous Integration and Continuous Delivery (CI/CD) pipeline.
Its primary function is to prevent software containing unacceptable security risks from progressing to deployment.
Security gates can evaluate results from Static Application Security Testing (SAST), Dynamic Application Security Testing (DAST), software composition analysis, dependency scanning, container image assessment, and infrastructure configuration validation.
When a scan identifies vulnerabilities exceeding an established severity threshold, the pipeline can fail the affected build, block promotion, or require authorized remediation before deployment proceeds.
This approach converts security policy into an enforceable technical control rather than relying exclusively on manual review.
For example, an organization may configure a pipeline to reject a release containing unresolved critical vulnerabilities while permitting lower-severity findings according to documented risk-acceptance procedures.
Automated enforcement improves consistency, supports auditability, and reduces the likelihood of vulnerable code reaching production.
However, security gates do not eliminate the need for threat modeling, manual testing, developer education, or secure architecture reviews.
Option A represents advisory-only scanning. Option B incorrectly removes essential security activities, while option C promotes bypassing controls.
The correct implementation combines automated enforcement with risk-based exception handling and developer remediation workflows.
Official reference / study topic: GitHub, Code Scanning and Merge Protection; Splunk blueprint Objectives 5.1–5.5.
===============