Skip to Content

PCCSE: Twistcli Command to Scan Running Containers with Access Token

Learn the correct twistcli command to scan a running container from within using an access token for authentication with the Prisma Cloud console, enabling comprehensive vulnerability analysis.

Table of Contents

Question

Given the following information, which twistcli command should be run if an administrator were to exec into a running container and scan it from within using an access token for authentication?

  • Console is located at https://prisma-console.mydomain.local
  • Token is: TOKEN_VALUE
  • Report ID is: REPORT_ID
  • Container image running is: myimage:latest

A. twistcli images scan –address https://prisma-console.mydomain.local –token TOKEN_VALUE –containerized –details myimage:latest
B. twistcli images scan –console-address https://prisma-console.mydomain.local –auth-token TOKEN_VALUE –containerized –vulnerability-details REPORT_ID
C. twistcli images scan –address https://prisma-console.mydomain.local –token TOKEN_VALUE –containerized –details REPORT_ID
D. twistcli images scan –console-address https://prisma-console.mydomain.local –auth-token MY_TOKEN –local-scan –details myimage:latest

Answer

D. twistcli images scan –console-address https://prisma-console.mydomain.local –auth-token MY_TOKEN –local-scan –details myimage:latest

Explanation

To scan a running container from within using an access token for authentication, the correct twistcli command is:

twistcli images scan –console-address https://prisma-console.mydomain.local (specifies the Prisma Cloud console address) –auth-token TOKEN_VALUE (uses the provided access token for authentication) –local-scan (indicates that the scan should be performed on a local container) –details myimage:latest (scans the specified container image and provides detailed results)

This command allows an administrator to execute the twistcli utility from within a running container and initiate a vulnerability scan on the container image using the specified access token for authentication with the Prisma Cloud console.

Palo Alto Networks Prisma Certified Cloud Security Engineer PCCSE certification exam practice question and answer (Q&A) dump with detail explanation and reference available free, helpful to pass the Palo Alto Networks Prisma Certified Cloud Security Engineer PCCSE exam and earn Palo Alto Networks Prisma Certified Cloud Security Engineer PCCSE certification.