/iam-policy-document-search

Search all AWS IAM policy documents in an account

Primary LanguageShellMIT LicenseMIT

iam-policy-document-search

Bash scripts to help search all IAM policy documents in an AWS account.

Useful for searching for things like depreciated ARN formats.

Searches the policy documents using grep.

Example Usage

$ ./search-inline-policies.sh "arn:aws:ecs:.*:.*:task/.*" output-file
$ ./search-managed-policies.sh "arn:aws:ecs:.*:.*:task/.*" output-file