Prevent cloud misconfigurations and find vulnerabilities during build-time in infrastructure as code, container images and open source packages with Checkov by Bridgecrew.
Examples
An example where inheriting baseline is undesired. Note that quiet comes up twice. Lists (framework, skip-check) gets replaced entirely, which is expected.
Hi @hexagonalsquare
first of all, thanks a lot for reaching out for us and for the well-detailed example!
It seems that indeed there is some issue here that should be handled.
Describe the issue According to the
README
at https://github.com/bridgecrewio/checkov/blob/6ab61ddea3bd9d189647d84d767fb047deb11d89/README.md?plain=1#L403 I would expect.checkov.yml
to be ignored when--config-file <config>
is used. What actually happens is that they get merged. This means the passed config file has to account for this, e.g.baseline: ''
(null doesn't work).Examples An example where inheriting
baseline
is undesired. Note thatquiet
comes up twice. Lists (framework
,skip-check
) gets replaced entirely, which is expected.Version