A release pipeline starts an asynchronous source-code security scan, but deployments sometimes proceed before findings are available. Policy requires blocking releases with high-severity findings or an unsuccessful scan; which pipeline change BEST enforces this policy?
Show the answer
Correct answerA. Wait for scan completion and gate deployment on scan status and finding severity.
AWhy this is right: Waiting and evaluating both scan status and severity blocks failed scans and releases that violate the finding threshold.
BWhy not this: An uploaded report can contain high-severity findings or describe an unsuccessful scan.
CWhy not this: Earlier repository results may describe different code and cannot validate the current release.
DWhy not this: Submission success does not establish scan completion or the absence of high-severity findings.
The deployment gate must await the current scan and evaluate both successful completion and finding severity. Successful submission only confirms that scanning started; it does not establish that the release passed security analysis.