Skip to content

DescribeSecurityGroups not useable #116

@AnthonySheetz

Description

@AnthonySheetz

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions