From 6a037fe38a8d90ac967ed18f3647b8df6bc4f2de Mon Sep 17 00:00:00 2001 From: sebastianczech Date: Fri, 1 Dec 2023 01:26:50 +0000 Subject: [PATCH 1/2] [chore] pre-commit-dependencies-update --- .pre-commit-config.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 5bd1a62d..dd2b8599 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,6 +1,6 @@ repos: - repo: https://github.com/antonbabenko/pre-commit-terraform - rev: v1.68.1 # Get the latest from: https://github.com/antonbabenko/pre-commit-terraform/releases + rev: v1.83.6 # Get the latest from: https://github.com/antonbabenko/pre-commit-terraform/releases hooks: - id: terraform_fmt - id: terraform_docs @@ -20,7 +20,7 @@ repos: --args=--only=terraform_workspace_remote, ] - repo: https://github.com/bridgecrewio/checkov.git - rev: '2.3.310' + rev: '3.1.20' hooks: - id: checkov verbose: true From 899762eae3f5db4cafad6901bef262f0acd6f9a2 Mon Sep 17 00:00:00 2001 From: Sebastian Czech Date: Tue, 12 Dec 2023 14:52:04 +0100 Subject: [PATCH 2/2] Update to Checkov 3.1.33 as there is an issue in 3.1.20: ImportError: cannot import name 'sha1sum' from 'cyclonedx.model' --- .pre-commit-config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index dd2b8599..fc0ce2ee 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -20,7 +20,7 @@ repos: --args=--only=terraform_workspace_remote, ] - repo: https://github.com/bridgecrewio/checkov.git - rev: '3.1.20' + rev: '3.1.33' hooks: - id: checkov verbose: true