aws-cloudformation / cloudformation-guard

Guard offers a policy-as-code domain-specific language (DSL) to write rules and validate JSON- and YAML-formatted data such as CloudFormation Templates, K8s configurations, and Terraform JSON plans/configurations against those rules. Take this survey to provide feedback about cfn-guard: https://amazonmr.au1.qualtrics.com/jfe/form/SV_bpyzpfoYGGuuUl0
Apache License 2.0
1.28k stars 180 forks source link

fix(pre-commit-hook): Handle multiple rules args #543

Closed dannyvassallo closed 1 month ago

dannyvassallo commented 2 months ago

Issue #, if available: 539

https://github.com/aws-cloudformation/cloudformation-guard/issues/539

Description of changes:

Update the arg parser for the pre-commit-hook to handle multiple rules params.


By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license