vt-cli icon indicating copy to clipboard operation
vt-cli copied to clipboard

Output Options (Feature Request)

Open Blevene opened this issue 5 years ago • 6 comments

For post processing or feeding into other tools, it would be very useful to be able to convert output into JSON (and potentially CSV).

Blevene avatar Apr 18 '19 15:04 Blevene

I'll second that feature request, so to process the output with jq for example!

melomac avatar Oct 16 '19 22:10 melomac

Me too! At least, add an option for minimal output (disable progress etc.) for better output handling: $ vt scan file file.zip > output.txt gives output: file.zip uploading... 30.8%.[0K .[1Ffile.zip scanning....[0K .[1Ffile.zip scanning....[0K .[1Ffile.zip scanning....[0K .[1Ffile.zip scanning....[0K .[1Ffile.zip ZZZ---zY2ZjMzE3NGVjNDE6MTYwODU1NTMwMw==.[0K

dmitrydonskih avatar Dec 21 '20 13:12 dmitrydonskih

Regarding YAML to JSON processing, the current vt-cli output is perfectly handled by yq (may be not interactive progress through).

melomac avatar Dec 21 '20 13:12 melomac

Strongly suggest output to JSON. YAML has lots of problems. Total blocker for automation. yq tool is not working neither. One example of the VT output using single colon to indicate empty key, which cannot be parsed. I have to manually delete it using sed tool. Other parserError doesn't make sense to me.

ns-jzhan avatar Jan 25 '22 00:01 ns-jzhan

For post processing or feeding into other tools, it would be very useful to be able to convert output into JSON (and potentially CSV).

I'll second that feature request, so to process the output with jq for example!

I'll third that feature request for json and CSV format support.. That would give us many more opportunites to munge, filter, parse sort ...,wait...

Please and thank you so much!

reanimat0r avatar Feb 12 '22 19:02 reanimat0r

Please add the ability to choose the output type you wish to receive. Having both a positional argument --output <type> and a config option for this would be ideal.

billyjbryant avatar May 26 '22 19:05 billyjbryant