Datasets:
GenIaC-SecBench / human_reference_dataset /iac-model-evaluation /cdk /python /scripts /test-single.sh
| set -eou pipefail | |
| echo "Linting..." | |
| pip -q install -r ../requirements.txt | |
| pylint --recursive=y --rcfile=../pylintrc ./ | |
| echo "Synthing..." | |
| npx cdk synth -q | |
| echo "Checkov..." | |
| checkov --framework cloudformation --quiet -f cdk.out/*.template.json | |
| echo "Guard..." | |
| cfn-guard validate \ | |
| --rules ../../../cloudformation/rules/guard-rules-registry-all-rules.guard \ | |
| --show-summary fail --data cdk.out/*.template.json | |