Security Architecture

A pipeline's DAST stage fails a build because of a reflected XSS finding. After the developer commits a fix, what should the pipeline do to verify that this specific finding is closed?

Show the answer

Correct answerB. Rerun the failed DAST test on the rebuilt artifact and gate promotion on it

AWhy not this: A developer's claim is unverified; closing on it skips the automated retest that provides evidence.

BWhy this is right: Automatically rerunning the failed test on the new build is the retest that proves the specific finding is closed.

CWhy not this: A canary release exposes real users to the fix and is a rollout technique, not a retest of one finding.

DWhy not this: Regression testing checks that existing features still work; it does not confirm the XSS finding is gone.

Automated retest reruns the same failed test against the new build and blocks promotion until it passes, proving the finding is closed. A regression suite checks unrelated functionality, not whether this finding was fixed.