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
When we define soft-fail in config file and pass that config file to tfsec cli , it doesn't work. soft-fail: true #Runs checks but suppresses error code include-passed: true #Resources that pass checks are included in the result output allow-checks-to-panic: true #Allow panics to propagate up from rule checking verbose: true #Enable verbose logging
When we define soft-fail in config file and pass that config file to tfsec cli , it doesn't work.
soft-fail: true #Runs checks but suppresses error code include-passed: true #Resources that pass checks are included in the result output allow-checks-to-panic: true #Allow panics to propagate up from rule checking verbose: true #Enable verbose logging
In Task
`steps:
displayName: "Compliance Run > tfsec"
inputs:
debug: true
dir: $(workdir)
args: '--config-file
Got an error like ##[error]Failed: tfsec detected misconfigurations.
Means soft-fail: true is not working when it's set in config.yml file.
It should override cli options from config file.
It works for cli option --exclude when we define in config file
`exclude:
Ideally it should work for other cli options too.
System Info
tfsec version: v1.26.0
terraform version: 1.4.6
OS: Linux
The text was updated successfully, but these errors were encountered: