Skip to content

iam-user and aim-role compliance checks #2

@fwesselhoft

Description

@fwesselhoft

Thank you for sharing those policies, very helpful. I have been playing with the check-permissions filter within the iam-user resource, trying to list a map the following: iam account --> ALlowed Actions --> Resources, but I'm stuck, and wondering if you could point me to the correct direction.

The current policy, when run, outputs a resource.yml file that contains the IAM accounts that are allowed to perform a s3:DeleteBucket action against all resources (*), but misses to list accounts that have the s3:DeleteBucket action allowed against specific resources only.

policies:

  • name: iam-user-activekey-deleteBucket
    resource: iam-user
    filters:
    - type: check-permissions
    match: allowed
    actions:
    - s3:DeleteBucket

Am I missing something or the functionality is not there yet? Thank you very much for the help, and I apologize before hand if I posted this in the wrong place, I'm very new to github.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions