Lessons from Using Checkov Scanner on a Large Monorepo
malgregator.com·2d
Archive Checksums
Preview
Report Post

I have recently used Checkov to analyze a quite large code base - an 8-year old monorepo with 28000 lines of HCL code. Many separate Terraform workflows in directories, each with its own state file. All managed by Atlantis.

It took around 1 hour to process the whole repository, minus external modules. I have run a variation of the following command:

$ checkov --quiet \
--download-external-modules=true \
--skip-path ".external_modules" \
-o cli -o json \
--output-file-path console,results.json \
--directory terraform/

Initially, I have got many error messages related to the fact that Checkov didn’t support pulling modules whose definitions used a partial…

Similar Posts

Loading similar posts...