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?
C.
This question is a trick, but C is actually correct because if you use --u it is wrong. The correct command for abbreviations like --user or --password is with just a hyphen in front of the letter, like -u or -p.
D is Correct. Already tested on lab environment with this command. ./twistcli images scan --address <CONSOLE_ADDRESS> --u <ACCESS_KEY> --p <SECRET_KEY> --details --output-file scan-results.json nginx:latest
To write scan results to stdout in tabular format, pass the --details flag to twistcli. This does not affect where the results are sent.
To write scan results to a file in JSON format, pass the --output-file flag to twistcli. The file schema is being kept for backwards compatibility.
A voting comment increases the vote count for the chosen answer by one.
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one.
So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
3ff5100
3 months, 1 week agoLP223
4 months, 1 week agoBubbleman
9 months, 1 week agopiipo
10 months, 3 weeks agopiipo
10 months, 3 weeks agopiipo
10 months, 3 weeks agopiipo
10 months, 3 weeks ago