Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Enhancement] Run cfn-guard check without parameters #62

Closed
benbridts opened this issue Sep 18, 2020 · 2 comments
Closed

[Enhancement] Run cfn-guard check without parameters #62

benbridts opened this issue Sep 18, 2020 · 2 comments
Labels
enhancement New feature or request

Comments

@benbridts
Copy link
Contributor

Is your feature request related to a problem? Please describe.
Currently you always have to specify both the ruleset and the templates. This makes scanning mulitple templates in one source code repository, or templates across different repositories difficult (see also #22 )

Describe the solution you'd like
Having a default filename for the rules and allowing a list of templates as input, would make it a lot easier to run. eg.

cfn-guard check template1.yaml template2.yaml
cfn-guard check template*.yaml
cfn-guard check --rule_set non-default-rules *.yaml
@ldomb
Copy link

ldomb commented Oct 19, 2020

Would be great to be able to point to multiple rules as well in the same command.

@benbridts
Copy link
Contributor Author

Can we reopen this? @shreyasdamle

Not being able to pass multiple files makes it so much harder to integrate this in a repository

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants