twistcli Flashcards
Where are the twistcli binaries located in Prisma Cloud Console for download?
Runtime Security > Manage > System > Utilities
How can twistcli be downloaded in case of automated workflows?
from the API
What has to be installed on the executing machine for image scanning?
Docker Engine
What does the variable COMPUTE_CONSOLE
represent?
the address for the Console
What do most twistcli functions require?
connectivity to Console
What is the twistcli command for scanning container images for vulnerabilities and compliance issues?
twistcli images scan [OPTIONS] [IMAGE]
Where does the image need to reside when performing a scan?
On the system where twistcli runs
What does the twistcli images scan
function do?
Collects information about the packages and binaries in the container image, and then sends it to Console for analysis.
What does the data collected by twistcli include? (3)
- Packages in the image
- Files installed by each package
- Hashes for each file in the image
What does twistcli do after Console analyzes the image for vulnerabilities? (2)
- Outputs a summary report.
- Exits with a pass or fail return value.
Scan results can be retrieved in which format from the Console using API calls?
JSON
What is used to specify an image to scan?
Either the image ID, or repository name and tag
If a repository is specified with a tag, twistcli looks for an image tagged with which tag?
latest
What is the return value if twistcli finds no vulnerabilities or compliance issues?
0, otherwise the code is 1
Describe the --address URI
option. Is it required?
- Complete URI for Console, including the protocol and port
- Only the HTTPS protocol is supported
- By default, Console listens to HTTPS on port 8083, although your administrator can configure Console to listen on a different port.
Required
–address https://console.example.com:8083