Closed giorod3 closed 1 year ago
@markwooff Can you please review this PR as it makes changes to code you had contributed. I want to ensure this fix will still work for your use case. Keep in mind that if no severity is provided to Trivy, it defaults to all severities.
@cjbush this PR fixes your issue, I will merge it once it is reviewed
Much appreciated @giorod3!
Looks good to me. Good idea to let the default value be blank for those cases where a user wants an empty severity level.
This fixes the issue #32 where cmd severity is overriding the env severity when no cmd severity is provided. This happens because of the default that can be blank.