You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm unable to generate json output for a malware scan using this command: mal scan -i metal3d/xmrig --format=json
Output
Incorrect Usage: flag provided but not defined: -format
NAME:
malcontent analyze - fully interrogate a path
USAGE:
malcontent analyze command [command options]
COMMANDS:
help, h Shows a list of commands or help for one command
OPTIONS:
--image value, -i value Scan an image
--processes Scan the commands (paths) of running processes (default: false)
--help, -h show help
💣 flag provided but not defined: -format
Thanks
The text was updated successfully, but these errors were encountered:
malcontent currently requires global flags to be provided before the sub-command. Try this:
mal --format=json scan -i metal3d/xmrig
This quirk trips me up all the time; I think this is good evidence that we should consider changing our flag handling so that global flags (ones that can be applied to multiple subcommands) can be specified anywhere.
Hi There
I'm unable to generate json output for a malware scan using this command:
mal scan -i metal3d/xmrig --format=json
Output
Thanks
The text was updated successfully, but these errors were encountered: