-
Notifications
You must be signed in to change notification settings - Fork 85
DescribeSecurityGroups not useable #116
Copy link
Copy link
Open
Description
There are a collection of permissions which aren't attached to resources. I can't find a way to specify these in a policy.
This does not work:
- arn: arn:aws:*
actions:
- "DescribeSecurityGroups"
as it produces
File "/usr/local/lib/python2.7/dist-packages/kappa/policy.py", line 54, in document
_, _, service, _ = arn.split(':', 3)
ValueError: need more than 3 values to unpack
Put another way, I have been unable to find a way to apply the following policy:
"Action": [
"ec2:DescribeSecurityGroups"
],
"Effect": "Allow",
"Resource": "*"
This is either a bug in documentation, or a bug in code; not sure which
This would affect all the permissions at this link:
http://docs.aws.amazon.com/AWSEC2/latest/APIReference/ec2-api-permissions.html#ec2-api-unsupported-resource-permissions
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels