-
Notifications
You must be signed in to change notification settings - Fork 59
checkov fails to download external modules #235
Copy link
Copy link
Open
Labels
area:msdo-cliMSDO CLI integration and executionMSDO CLI integration and executionstatus:waiting-on-authorWaiting for more information from authorWaiting for more information from authortype:featureNew feature or requestNew feature or request
Description
I started seeing checkov failures on downloading external modules to support scanning functionality. Since the checkov.exe is not including the --download-external-modules flag this failing.
- Need the ability to include the --download-external-modules flag
D:\a\_msdo\packages\nuget\Microsoft.Guardian.CheckovRedist_windows_amd64.3.2.497\tools\dist\checkov.exe --directory .\ --output sarif --soft-fail --output-file-path D:\a\aks-store-demo\aks-store-demo\.gdn\.r\checkov\001\checkov.sarif
Error: 2026-04-03 17:00:19,354 [ThreadPoolEx] [WARNI] Failed to download module Azure/avm-res-documentdb-databaseaccount/azurerm:0.10.0 (for external modules, the --download-external-modules flag is required)
Error: 2026-04-03 17:00:19,354 [ThreadPoolEx] [WARNI] Failed to download module Azure/avm-res-containerregistry-registry/azurerm:0.4.0 (for external modules, the --download-external-modules flag is required)
Error: 2026-04-03 17:00:19,354 [ThreadPoolEx] [WARNI] Failed to download module Azure/avm-res-containerservice-managedcluster/azurerm:0.1.7 (for external modules, the --download-external-modules flag is required)
Error: 2026-04-03 17:00:19,356 [ThreadPoolEx] [WARNI] Failed to download module Azure/avm-res-cognitiveservices-account/azurerm:0.10.0 (for external modules, the --download-external-modules flag is required)
Error: 2026-04-03 17:00:19,356 [ThreadPoolEx] [WARNI] Failed to download module Azure/avm-res-servicebus-namespace/azurerm:0.4.0 (for external modules, the --download-external-modules flag is required)
Error: 2026-04-03 17:00:21,600 [ThreadPoolEx] [WARNI] Fail to read file .\.github\workflows\test-e2e-pr.yml. error: 'charmap' codec can't decode byte 0x9d in position 1457: character maps to <undefined>`
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
area:msdo-cliMSDO CLI integration and executionMSDO CLI integration and executionstatus:waiting-on-authorWaiting for more information from authorWaiting for more information from authortype:featureNew feature or requestNew feature or request