syft
syft copied to clipboard
When running syft with command line args for verbosity the command fails if the configuration is set
What happened:
When running syft -vv alpine:latest
an error will occur if the configuration file is also set for verbosity.
What you expected to happen: No error for syft to occur with command line flags and config set.
How to reproduce it (as minimally and precisely as possible):
run syft -vv alpine:latest
with a configuration file also configured with log settings
log:
# use structured logging
# same as SYFT_LOG_STRUCTURED env var
structured: false
# the log level; note: detailed logging suppress the ETUI
# same as SYFT_LOG_LEVEL env var
level: "error"
# location to write the log file (default is not to have a log file)
# same as SYFT_LOG_FILE env var
file: ""
Anything else we need to know?: Community Meeting origin 8/4
Environment:
- Output of
syft version
: v0.53.4 - OS (e.g:
cat /etc/os-release
or similar): - OSX