Skip to content
This repository was archived by the owner on Jun 7, 2022. It is now read-only.

Commit 0fc1ed2

Browse files
authored
Enabled skip-check for Checkov
1 parent 5624315 commit 0fc1ed2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ci-checkov.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ pip3 install checkov
88

99
# List of checks we do not want to run here
1010
# This is a living list and will see additions and mostly removals over time.
11-
# 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"
11+
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"
1212

1313
set +x
1414
# In case no terraform code is present
@@ -19,7 +19,7 @@ echo "==========================================================================
1919
# Set not to fail on non-zero exit code
2020
set +e
2121
# Run checkov
22-
python3 -m checkov.main --quiet --framework terraform --compact -d .
22+
python3 -m checkov.main --skip-check $SKIP_CHECKS --quiet --framework terraform --compact -d .
2323

2424
# Options
2525
# --quiet: Only show failing tests

0 commit comments

Comments
 (0)