Prisma Certified Cloud Security Engineer (PCCSE) — Question 222
Which command should be used in the Prisma Cloud twistcli tool to scan the nginx:latest image for vulnerabilities and compliance issues?
Answer options
- A. $ twistcli images scan --console-address --user --password --output-file scan-results.json nginx:latest
- B. $ twistcli images scan --address --user --password --details nginx:latest
- C. $ twistcli images build --console-address --user --password --details nginx:latest
- D. $ twistcli images scan --address --username --password --details nginx:latest
Correct answer: B
Explanation
The correct answer is B because it uses the appropriate command syntax for scanning images with twistcli while including the necessary flag for details. Option A is incorrect as it uses an invalid flag '--console-address' and includes an output file option, which is not required for a simple scan. Options C and D are incorrect as they use the 'build' command instead of 'scan' and have incorrect flag parameters, respectively.