In this activity, you will implement a Secure Development Lifecycle (SDLC) control by automating a security scan in the build pipeline.
run_pipeline function.stage_security_scan() before the deploy step.True (Pass) or False (Fail).if statement: If the scan fails, print an error and return immediately to stop deployment.A "Security Gate" is useless if it only warns you. To be effective, the pipeline must automatically abort deployment if vulnerabilities are detected.