From 247d96baf2eca1e9d9f8150a6f650d69b2b325d5 Mon Sep 17 00:00:00 2001 From: Florian Mutter Date: Thu, 22 Feb 2024 22:07:08 +0100 Subject: [PATCH] feat: add bridgecrewio/checkov (#20226) * feat: add bridgecrewio/checkov [bridgecrewio/checkov](https://github.com/bridgecrewio/checkov): Prevent cloud misconfigurations and find vulnerabilities during build-time in infrastructure as code, container images and open source packages with Checkov by Bridgecrew * Include all versions --- pkgs/bridgecrewio/checkov/pkg.yaml | 16 +++++ pkgs/bridgecrewio/checkov/registry.yaml | 85 +++++++++++++++++++++++++ registry.yaml | 84 ++++++++++++++++++++++++ 3 files changed, 185 insertions(+) create mode 100644 pkgs/bridgecrewio/checkov/pkg.yaml create mode 100644 pkgs/bridgecrewio/checkov/registry.yaml diff --git a/pkgs/bridgecrewio/checkov/pkg.yaml b/pkgs/bridgecrewio/checkov/pkg.yaml new file mode 100644 index 00000000000..acef958719b --- /dev/null +++ b/pkgs/bridgecrewio/checkov/pkg.yaml @@ -0,0 +1,16 @@ +packages: + - name: bridgecrewio/checkov@3.2.23 + - name: bridgecrewio/checkov + version: 2.5.15 + - name: bridgecrewio/checkov + version: 2.5.13 + - name: bridgecrewio/checkov + version: 2.3.338 + - name: bridgecrewio/checkov + version: 2.3.334 + - name: bridgecrewio/checkov + version: 2.3.321 + - name: bridgecrewio/checkov + version: 2.3.320 + - name: bridgecrewio/checkov + version: 2.3.318 diff --git a/pkgs/bridgecrewio/checkov/registry.yaml b/pkgs/bridgecrewio/checkov/registry.yaml new file mode 100644 index 00000000000..cd658f4a831 --- /dev/null +++ b/pkgs/bridgecrewio/checkov/registry.yaml @@ -0,0 +1,85 @@ +packages: + - type: github_release + repo_owner: bridgecrewio + repo_name: checkov + description: Prevent cloud misconfigurations and find vulnerabilities during build-time in infrastructure as code, container images and open source packages with Checkov by Bridgecrew + version_constraint: "false" + files: + - name: checkov + src: dist/checkov + version_overrides: + - version_constraint: semver("<= 2.3.314") + no_asset: true + - version_constraint: semver("<= 2.3.318") + asset: checkov_{{.OS}}_{{.Version}} + format: raw + rosetta2: true + windows_arm_emulation: true + complete_windows_ext: false + supported_envs: + - darwin + - windows + - amd64 + - version_constraint: Version == "2.3.320" + asset: checkov_{{.OS}}_{{.Arch}}_{{.Version}}.{{.Format}} + format: zip + rosetta2: true + windows_arm_emulation: true + replacements: + amd64: X86_64 + supported_envs: + - darwin + - windows + - amd64 + - version_constraint: Version == "2.3.321" + asset: checkov_{{.OS}}_{{.Arch}}_{{.Version}}.{{.Format}} + format: zip + rosetta2: true + windows_arm_emulation: true + replacements: + amd64: X86_64 + - version_constraint: semver("<= 2.3.334") + asset: checkov_{{.OS}}_{{.Arch}}_{{.Version}}.{{.Format}} + format: zip + rosetta2: true + windows_arm_emulation: true + replacements: + amd64: X86_64 + supported_envs: + - darwin + - windows + - amd64 + - version_constraint: semver("<= 2.3.338") + asset: checkov_{{.OS}}_{{.Arch}}_{{.Version}}.{{.Format}} + format: zip + rosetta2: true + windows_arm_emulation: true + replacements: + amd64: X86_64 + - version_constraint: Version == "2.3.340" + no_asset: true + - version_constraint: semver("<= 2.5.13") + asset: checkov_{{.OS}}_{{.Arch}}_{{.Version}}.{{.Format}} + format: zip + rosetta2: true + windows_arm_emulation: true + replacements: + amd64: X86_64 + - version_constraint: Version == "2.5.15" + asset: checkov_{{.OS}}_{{.Arch}}_{{.Version}}.{{.Format}} + format: zip + rosetta2: true + windows_arm_emulation: true + replacements: + amd64: X86_64 + supported_envs: + - darwin + - windows + - amd64 + - version_constraint: "true" + asset: checkov_{{.OS}}_{{.Arch}}_{{.Version}}.{{.Format}} + format: zip + rosetta2: true + windows_arm_emulation: true + replacements: + amd64: X86_64 diff --git a/registry.yaml b/registry.yaml index fb480a1a7e8..c5923919c66 100644 --- a/registry.yaml +++ b/registry.yaml @@ -8529,6 +8529,90 @@ packages: version_overrides: - version_constraint: "true" asset: kail_{{trimV .Version}}_{{.OS}}_amd64.tar.gz + - type: github_release + repo_owner: bridgecrewio + repo_name: checkov + description: Prevent cloud misconfigurations and find vulnerabilities during build-time in infrastructure as code, container images and open source packages with Checkov by Bridgecrew + version_constraint: "false" + files: + - name: checkov + src: dist/checkov + version_overrides: + - version_constraint: semver("<= 2.3.314") + no_asset: true + - version_constraint: semver("<= 2.3.318") + asset: checkov_{{.OS}}_{{.Version}} + format: raw + rosetta2: true + windows_arm_emulation: true + complete_windows_ext: false + supported_envs: + - darwin + - windows + - amd64 + - version_constraint: Version == "2.3.320" + asset: checkov_{{.OS}}_{{.Arch}}_{{.Version}}.{{.Format}} + format: zip + rosetta2: true + windows_arm_emulation: true + replacements: + amd64: X86_64 + supported_envs: + - darwin + - windows + - amd64 + - version_constraint: Version == "2.3.321" + asset: checkov_{{.OS}}_{{.Arch}}_{{.Version}}.{{.Format}} + format: zip + rosetta2: true + windows_arm_emulation: true + replacements: + amd64: X86_64 + - version_constraint: semver("<= 2.3.334") + asset: checkov_{{.OS}}_{{.Arch}}_{{.Version}}.{{.Format}} + format: zip + rosetta2: true + windows_arm_emulation: true + replacements: + amd64: X86_64 + supported_envs: + - darwin + - windows + - amd64 + - version_constraint: semver("<= 2.3.338") + asset: checkov_{{.OS}}_{{.Arch}}_{{.Version}}.{{.Format}} + format: zip + rosetta2: true + windows_arm_emulation: true + replacements: + amd64: X86_64 + - version_constraint: Version == "2.3.340" + no_asset: true + - version_constraint: semver("<= 2.5.13") + asset: checkov_{{.OS}}_{{.Arch}}_{{.Version}}.{{.Format}} + format: zip + rosetta2: true + windows_arm_emulation: true + replacements: + amd64: X86_64 + - version_constraint: Version == "2.5.15" + asset: checkov_{{.OS}}_{{.Arch}}_{{.Version}}.{{.Format}} + format: zip + rosetta2: true + windows_arm_emulation: true + replacements: + amd64: X86_64 + supported_envs: + - darwin + - windows + - amd64 + - version_constraint: "true" + asset: checkov_{{.OS}}_{{.Arch}}_{{.Version}}.{{.Format}} + format: zip + rosetta2: true + windows_arm_emulation: true + replacements: + amd64: X86_64 - type: github_release repo_owner: bridgecrewio repo_name: yor