-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
fix(sns): allow default SNS policy with SourceOwner #2698
Conversation
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 catch!!
Please include tests for the policy_condition_parser
library.
00299e4
to
17a7f2e
Compare
1e72232
to
2f59fef
Compare
Done! I don't find how to run the tests localy before the PR. I checked the CONTRIB docs, but it only says how to create or modify the tests, but not how to run them. |
You have to do a |
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 again @christiandavilakoobin !
I've fixed some tests, so this will be merged once the CI pass.
Co-authored-by: Azure Pipeplines CI <monitor@koobin.com> Co-authored-by: Sergio Garcia <sergargar1@gmail.com> Co-authored-by: Pepe Fagoaga <pepe@verica.io>
Co-authored-by: Azure Pipeplines CI <monitor@koobin.com> Co-authored-by: Sergio Garcia <sergargar1@gmail.com> Co-authored-by: Pepe Fagoaga <pepe@verica.io>
Co-authored-by: Azure Pipeplines CI <monitor@koobin.com> Co-authored-by: Sergio Garcia <sergargar1@gmail.com> Co-authored-by: Pepe Fagoaga <pepe@verica.io>
Co-authored-by: Azure Pipeplines CI <monitor@koobin.com> Co-authored-by: Sergio Garcia <sergargar1@gmail.com> Co-authored-by: Pepe Fagoaga <pepe@verica.io>
Co-authored-by: Azure Pipeplines CI <monitor@koobin.com> Co-authored-by: Sergio Garcia <sergargar1@gmail.com> Co-authored-by: Pepe Fagoaga <pepe@verica.io>
Context
Prowler alerts for sns public accessibilty checks on topics that are generated from the AWS console.
Description
The AWS console uses the not very well documented AWS:SourceOwner attribute on defaults policies: awsdocs/iam-user-guide#111
License
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.