Open michasacuer opened 4 months ago
I'm also seeing this same behavior. If I try to pass a config file even in the simplest form it causes it to fail and not upload any results.
{
"tools": [
{
"tool": {
"name": "Checkov",
"version": "Latest"
},
"arguments": {
}
}
]
}
If it helps anyone else, I was able to use a checkov specific config file and it seems the scan picks up and uses that correctly. I just put a .checkov.yml
file in my scan directory of my repo. This allowed me to set options as well as choose tests to skip.
directory: ./
output: sarif
soft-fail: true
framework: terraform
skip-check:
- CKV_AZURE_190
- CKV2_AZURE_1
You can see the details of the checkov specific config file on there site. Configuration using a config file
So i have a bug where i provide a config file i have a lot of errors in my pipelines.
My Example config file for checkov:
and everything is fine but i am getting this error, even with
false
setting:Task still yells that
DownloadExternalModules
is required even when it is provided and set tofalse
. My pipeline is the simplest template as you can imagine:From template above i got a lot of errors:
When i do not provide config file, no issues, only error that
DownloadExternalModules
is required.Why this task behaves differently when config file for checkov is provided?