-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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(iam): change prowler additional policy json due errors in creation #1852
Conversation
I was test driving prowler and added this policy to its dedicated IAM user. When I create the policy in the editor It complained about `s3:GetBucketPublicAccessBlock` not existing. I changed it for the one I think is required, but not sure about it.
Hi @theist, thank you for your contribution, but this policy was made to extend the permissions of the |
Thanks @sergargar I was following documentation in https://docs.prowler.cloud/en/latest/getting-started/requirements/ And it states:
So I understood that I have to add the four policies to
It is true that the SecurityAudit policy does include the My contribution corrected it, but it is true that is better to remove it, as it is already covered by the other recommended policies. I leave it to you, but keeping the file with unknown permission can mislead users. Cheers. |
Thank you for the info @theist ! |
Co-authored-by: Sergio Garcia <[email protected]>
Co-authored-by: Sergio Garcia <[email protected]>
Context
I found a problem adding this policy to a dedicated user in IAM
Description
Hi!
I was test driving prowler and added this policy to its dedicated IAM user. When I create the policy in the editor It complained about
s3:GetPublicAccessBlock
not existing. I changed it for the one I think is required, but not sure about it.https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetPublicAccessBlock.html
I think the problem is that while the API call is
GetPublicAccessBlock
the permission required according to the doc iss3:GetBucketPublicAccessBlock
License
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.