Implementing checkov for shared modules

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Implementing checkov for shared modules

L0 Member

Hello Everyone, I am trying to implement Checkov in one of the portal repositories to validate policies and other configurations. However, I am facing an issue with downloading shared Terraform modules present in the One of the project. Somehow, Checkov is unable to download these modules and is giving the following warnings:

 

2025-07-01 10:09:12,466 [ThreadPoolEx] [WARNI]  Module git::https:<link>.TerraformModules//azure//resource-group?ref=main:None failed to load via <class 'checkov.terraform.module_loading.loaders.git_loader.GenericGitLoader'> due to: invalid git url

 

I did a quick search for this issue but couldn't find an exact solution. Checkov works well when running it before terraform plan. I thought of creating a template out of it (if it would have worked) so that teams could simply use the YAML in their Terraform release pipeline to integrate Checkov.

 

Does anyone have any idea on this issue? Have you tried integrating Checkov with shared Terraform modules in Azure DevOps repositories?

#checkov

Azure #azure devops

 

0 REPLIES 0
  • 92 Views
  • 0 replies
  • 0 Likes
Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

Click Accept as Solution to acknowledge that the answer to your question has been provided.

The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!

These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!

The LIVEcommunity thanks you for your participation!