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

Support appending rules from installed packages #1209

Closed
zroger opened this issue Nov 21, 2019 · 2 comments
Closed

Support appending rules from installed packages #1209

zroger opened this issue Nov 21, 2019 · 2 comments
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@zroger
Copy link
Contributor

zroger commented Nov 21, 2019

I would like to create a python package of my organization's custom rules, which could be installed alongside cfn-lint and then referenced from the CLI and/or .cfnlintrc by import path rather than directory path.

For example, with a custom package named myrules and a module within that package named recommended:

# install via pip
pip install cfn-lint
pip install myrules

# invoke via CLI
cfn-lint -a myrules.recommended ...
# or in .cfnlintrc
append_rules:
  - myrules.recommended

I'm happy to put together a PR if this is something that would be considered.

@kddejong
Copy link
Contributor

I like this idea. I wonder how hard it would be to accomplish. I'm open to it.

@kddejong kddejong added enhancement New feature or request help wanted Extra attention is needed labels Nov 22, 2019
@kddejong
Copy link
Contributor

I believe this is complete. Closing. We can reopen if needed.

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

No branches or pull requests

2 participants