Which command correctly outputs scan results to stdout in tabular format and writes scan results to a JSON file while still sending the results to Console?
The correct command to output scan results to stdout in tabular format and write scan results to a JSON file while still sending the results to Console is:
$ twistcli images scan \
--address \
--user \
--password \
--output-file scan-results.json \
--publish \
nginx:latest
This command uses the --output-file option to write the scan results to a file and the --publish option to send the results to the Console. The --stdout-tabular option is not necessary as by default, twistcli writes scan results to stdout in a human-readable format. The placeholders , , and should be replaced with the actual address of the Console, and the user’s credentials12.
Please replace the placeholders with your actual Prisma Cloud Console address and credentials to execute the command successfully. If you have any more questions or need further assistance, feel free to ask.
Contribute your Thoughts:
Chosen Answer:
This is a voting comment (?). You can switch to a simple comment. It is better to Upvote an existing comment if you don't have anything to add.
Submit