A DevSecOps team is integrating Prisma Cloud Compute into their CI/CD pipeline. They want the pipeline to fail automatically when a container image contains a vulnerability with a severity of critical and a fix is available, before the image is pushed to production. Which TWO actions must the team take to achieve this? (Choose two.)
The twistcli scan command performs image scanning and returns a non-zero exit code when the image violates the configured vulnerability rule. By invoking twistcli in the CI job and acting on its exit code, the pipeline can automatically fail the build. This is the supported mechanism for integrating Prisma Cloud Compute scanning into CI/CD.
Why this answer
Automated image gating in CI/CD requires both a policy that defines what constitutes a violation and a scanning tool that enforces it. A vulnerability rule specifying critical severity with a fix available provides the policy, while twistcli scan in the pipeline provides enforcement through its exit code. Together they fail the build before the image reaches production.
Exam trap
The trap here is assuming that registry scanning or cluster admission control can fail a CI/CD build, when only an in-pipeline scan with an exit-code check can stop the image before it is pushed.