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

Find files recursively when using the github action #545

Closed benbridts closed 1 month ago

benbridts commented 1 month ago

I had the issue that the github action would not recurse into the given data directory.

This PR solves that, and applies the same fix to the rules directory.

Notes:


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

dannyvassallo commented 1 month ago

Thanks for this @benbridts will take a look at this and fiddle with the path issue you are having :)

dannyvassallo commented 1 month ago

Thanks for the nudge @benbridts - new version available here: https://github.com/aws-cloudformation/cloudformation-guard/releases/tag/action-v0.0.5