-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Fix(check122): Error when policy name contains commas #1067
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
Conversation
jfagoagas
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @plarso, please review comments above to merge this PR!
|
If it has comma, it will break csv output. |
Good point! I'm going to test a initial approach to solve this. |
|
I've added the requested changes. |
|
Based on my recent experience, I believe this kind of variable expansion will not be supported by old version of bash, like the one original from macOS. |
Cool, thank you @plarso ! |
All of this changes has been tested with |
jfagoagas
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good job @plarso !!
Thanks 👏


Context
AWS IAM policy names allow commas (','), but check 122 does not support the case where there is a comma in the policy name.
Description
License
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.