PCCSE · Question #75
Which container image scan is constructed correctly?
The correct answer is B. twistcli images scan --address https://us-west1.cloud.twistlock.com/us-3-123456789. For twistcli image scanning, the correct flag for specifying the Console address is '--address' followed by the full HTTPS URL including the tenant path. Answer B uses 'twistcli images scan --address https://us-west1.cloud.twistlock.com/us-3-123456789', which is the correct base
Question
Which container image scan is constructed correctly?
Options
- Atwistcli images scan -u api -p api --address https://us-west1.cloud.twistlock.com/us-3-123456789 -
- Btwistcli images scan --address https://us-west1.cloud.twistlock.com/us-3-123456789
- Ctwistcli images scan --address https://us-west1.cloud.twistlock.com/us-3-123456789 --container
- Dtwistcli images scan -u api -p api --docker-address https://us-west1.cloud.twistlock.com/us-3-
How the community answered
(30 responses)- A13% (4)
- B73% (22)
- C3% (1)
- D10% (3)
Explanation
For twistcli image scanning, the correct flag for specifying the Console address is '--address' followed by the full HTTPS URL including the tenant path. Answer B uses 'twistcli images scan --address https://us-west1.cloud.twistlock.com/us-3-123456789', which is the correct base structure. Answer A and D use '-u api -p api' with potentially incorrect flags or use '--docker-address', which is not a valid twistcli flag for the Console address. Answer C appends '--container' which is not the correct flag for this use case. Answer B's '--address' flag with the full SaaS Console URL is the properly constructed command.
Topics
Community Discussion
No community discussion yet for this question.