bridgecrewio / checkov

Prevent cloud misconfigurations and find vulnerabilities during build-time in infrastructure as code, container images and open source packages with Checkov by Bridgecrew.
https://www.checkov.io/
Apache License 2.0
6.75k stars 1.08k forks source link

How to set CHECKOV_OUTPUT_CODE_LINE_LIMIT variable from config file ? #6284

Closed bioinfornatics closed 2 months ago

bioinfornatics commented 2 months ago

Dear, I am looking to store into the config file the OUTPUT_CODE_LINE_LIMIT to 100. After read test and code, I do not see the alternative of the env var.

Indeed I use the Azure/avm-res-storage-storageaccount/azurerm and this module need round ~75 lines to be configured.

Thanks for your help

gruebel commented 2 months ago

Hey @bioinfornatics there is no option to configure it via the config file. I don't think this specific option will ever be configurable via a CLI argument and therefore you can't set it in the config file.