Skip to content

Commit 18caed2

Browse files
committed
run checkov
1 parent e845043 commit 18caed2

File tree

3 files changed

+3
-11
lines changed

3 files changed

+3
-11
lines changed

.buildkite/ci-checkov.sh

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,7 @@
11
#!/usr/bin/env bash
2-
# Set this to fail on the install
2+
# Set this to fail on the install
33
set -euxo pipefail
44

5-
# Install and run the plugin for checkov
6-
# Use the full path to run pip3.10
7-
pip3 install checkov
8-
95
# List of checks we do not want to run here
106
# This is a living list and will see additions and mostly removals over time.
117
SKIP_CHECKS="CKV_GCP_22,CKV_GCP_66,CKV_GCP_13,CKV_GCP_71,CKV_GCP_61,CKV_GCP_21,CKV_GCP_65,CKV_GCP_67,CKV_GCP_20,CKV_GCP_69,CKV_GCP_12,CKV_GCP_24,CKV_GCP_25,CKV_GCP_64,CKV_GCP_68,CKV2_AWS_5,CKV2_GCP_3,CKV2_GCP_5,CKV_AWS_23,CKV_GCP_70,CKV_GCP_62,CKV_GCP_62,CKV_GCP_62,CKV_GCP_62,CKV_GCP_29,CKV_GCP_39"
@@ -19,7 +15,7 @@ echo "==========================================================================
1915
# Set not to fail on non-zero exit code
2016
set +e
2117
# Run checkov
22-
python3 -m checkov.main --skip-check $SKIP_CHECKS --quiet --framework terraform --compact -d .
18+
checkov --skip-check $SKIP_CHECKS --quiet --framework terraform --compact -d .
2319

2420
# Options
2521
# --quiet: Only show failing tests

.buildkite/vagrant-run.sh

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,6 @@ vagrant plugin install vagrant-scp
2020

2121
trap cleanup EXIT
2222

23-
# echo --- ":bug: fixing dotenv"
24-
# echo "see fix: https://github.com/hashicorp/vagrant/issues/13550"
25-
# sed -i -e 's/exists?/exist?/g' /var/lib/buildkite-agent/.vagrant.d/gems/3.3.8/gems/dotenv-0.11.1/lib/dotenv.rb
26-
2723
echo --- ":lock: builder account key"
2824
KEY_PATH="/tmp/e2e-builder.json"
2925
if [ ! -f ${KEY_PATH} ]; then

.tool-versions

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@ yarn 1.22.4
33
shellcheck 0.7.1
44
golang 1.19.8
55
github-cli 2.46.0
6-
python system
6+
checkov

0 commit comments

Comments
 (0)