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
Describe the issue
When --download-external-modules is explicitly set to false, Checkov still produces warnings indicating that downloading external modules has failed.
If I am explicitly setting this value to false, it is not useful to produce a warning, and may lead to confusion for those running the output.
2023-11-21 14:01:42,192 [MainThread ] [WARNI] Failed to download module <module_path> (for external modules, the --download-external-modules flag is required)
Version (please complete the following information):
Checkov Version 3.1.8
Additional context
Downloading external modules is disabled in our pipeline to avoid performing checks against code that we do not have any control over as part of the CI process.
edit:
At present, I am using 2> >(grep -v 'Failed to download module' >&2) to filter this output out of the CI job console.