From 150302af18197eba90202bd30fdedafebb027a78 Mon Sep 17 00:00:00 2001 From: Taylor Date: Wed, 31 Jul 2024 14:36:00 -0700 Subject: [PATCH] Fix TF module check --- docs/en/enterprise-edition/policy-reference/book.yml | 2 ++ .../terraform-policies/terraform-policies.adoc | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/en/enterprise-edition/policy-reference/book.yml b/docs/en/enterprise-edition/policy-reference/book.yml index 45af5c9dd1..951692ecab 100644 --- a/docs/en/enterprise-edition/policy-reference/book.yml +++ b/docs/en/enterprise-edition/policy-reference/book.yml @@ -146,6 +146,8 @@ topics: file: terraform-policies.adoc - name: Terraform module sources do not use a git url with a commit hash revision file: ensure-terraform-module-sources-use-git-url-with-commit-hash-revision.adoc + - name: Terraform module sources do not use a git url with a tag or commit hash revision + file: ensure-terraform-module-sources-use-tag.adoc --- kind: chapter name: Ansible Policies diff --git a/docs/en/enterprise-edition/policy-reference/supply-chain-policies/terraform-policies/terraform-policies.adoc b/docs/en/enterprise-edition/policy-reference/supply-chain-policies/terraform-policies/terraform-policies.adoc index a29eaabe2f..a87b8ff3c7 100644 --- a/docs/en/enterprise-edition/policy-reference/supply-chain-policies/terraform-policies/terraform-policies.adoc +++ b/docs/en/enterprise-edition/policy-reference/supply-chain-policies/terraform-policies/terraform-policies.adoc @@ -9,7 +9,7 @@ | https://github.com/bridgecrewio/checkov/blob/main/checkov/terraform/checks/module/generic/RevisionHash.py[CKV_TF_1] |MEDIUM -|xref:ensure-terraform-module-sources-use-git-url-with-commit-hash-revision.adoc[Terraform module sources do not use a git url with a tag or commit hash revision] +|xref:ensure-terraform-module-sources-use-tag.adoc[Terraform module sources do not use a git url with a tag or commit hash revision] | https://github.com/bridgecrewio/checkov/blob/main/checkov/terraform/checks/module/generic/RevisionTag.py[CKV_TF_2] |HIGH