PSE-PRISMACLOUD · Question #43
What occurs with the command twistcli when scanning images?
The correct answer is B. If option "--user" is used, it is mandatory to use option "--password. Option B is correct because twistcli requires both --user and --password together for authentication against the Prisma Cloud Compute Console - providing a username without a password leaves the credential pair incomplete, causing the command to fail. This is standard…
Question
What occurs with the command twistcli when scanning images?
Options
- AIf options are listed after the image name; they will be ignored.
- BIf option "--user" is used, it is mandatory to use option "--password.
- CIf option "--address" is unspecified, all images are scanned.
- DOption "--output-file" cannot be used in conjunction with option "--details."
How the community answered
(22 responses)- A9% (2)
- B82% (18)
- C5% (1)
- D5% (1)
Explanation
Option B is correct because twistcli requires both --user and --password together for authentication against the Prisma Cloud Compute Console - providing a username without a password leaves the credential pair incomplete, causing the command to fail. This is standard credential-pair enforcement common in CLI security tools.
Why the distractors are wrong:
- A is wrong: options placed after the image name are still parsed and applied -
twistclidoes not silently drop them. - C is wrong:
--addressspecifies the Compute Console endpoint; if omitted, the scan fails entirely because the tool has no target to authenticate against - it does not default to scanning all images. - D is wrong:
--output-fileand--detailsare compatible and commonly used together to write detailed scan results to a file.
Memory tip: Think of --user/--password like a door lock - the key (--user) is useless without the lock mechanism (--password). Any authentication flag pair in a security scanning tool will be mutually required.
Topics
Community Discussion
No community discussion yet for this question.