-
Notifications
You must be signed in to change notification settings - Fork 208
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
cannot test custom_rules #230
Comments
@azam-akram are you absolutely sure that ./lib/customized_rules is a directory that exists and that you have permission to? This error means it can't access the directory to scan for rules. |
Thanks for reply. I am sure the ./lib/customised directory exists with following permissions, |
@azam-akram Please provide the following info:
I'll try to reproduce it. Thanks! |
I am using |
When I copy my rule into |
#230 - More windows :io to :string fixes
Should I reinstall cfn_nag (a new version consisting of your commit)? |
IT work now with cfn_nag version 0.4.16 |
Thanks for confirming. Please open another issue if there is anything else we can help you with in the future. |
Hi
I am new to this, please accept my apology for stupid question.
I have defined my own custom rule and wrote some test cases (which executes fine). But when I test my custom rule with real cfn_nag like,
cfn_nag -r ./lib/customized_rules/ ./spec/test_templates/s3_bucket/my_template.json
Then I get following error
Error: file or url for option 'rule_directory' cannot be opened: Is a directory @ rb_sysopen - ./lib/customized_rules/. Try --help for help.
Any help would really be appriciated.
Thanks
The text was updated successfully, but these errors were encountered: