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

Correct incorrect label action on chime:ValidateE911Address and redshift:DescribeEndpointAuthorization #185

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

smoy
Copy link
Contributor

@smoy smoy commented Jun 20, 2024

Summary:

  • chime:validate* is categorized as ["Read", "Write"].
  • redshift:DescribeEndpointAuthorization is categorized as ["Permissions"]

Root cause:

  • chime:ValidateE911Address is encoded as "Write" in data.json
  • redshift:DescribeEndpointAuthorization is encoded as "Permissions" in data.json
Screenshot 2024-06-20 at 10 39 16 AM Screenshot 2024-06-21 at 9 24 43 AM

test case:

>>> policy = { "Statement": [{"Action": ["chime:validate*"], "Resource": "*", "Effect": "Allow"}]}
>>> from policyuniverse.policy import Policy
>>> p = Policy(policy)
>>> for k, v in p.action_summary().items():
...     print(k,v)
... 
chime {'Read', 'Write'}

I suspect the data.json is not up to date.

@smoy smoy changed the title Correct incorrect label action Correct incorrect label action on chime:ValidateE911Address Jun 20, 2024
@smoy smoy changed the title Correct incorrect label action on chime:ValidateE911Address Correct incorrect label action on chime:ValidateE911Address and redshift:DescribeEndpointAuthorization Jun 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant