Skip to content

Instantly share code, notes, and snippets.

@scottnixonjr
Created March 27, 2020 21:33
Show Gist options
  • Save scottnixonjr/c99b7681933a148cc9e64ea0df6de1cc to your computer and use it in GitHub Desktop.
Save scottnixonjr/c99b7681933a148cc9e64ea0df6de1cc to your computer and use it in GitHub Desktop.
# Get all IAM actions for Tagging using policy_sentry database.
# Not perfect query because it will include actions that contain 'tAg' --> 'artifact:AcceptAgreement'
policy_sentry query action-table --service all | for i in $(cat); do policy_sentry query action-table --service $i; done | grep -i tag > all-aws-tag-actions.txt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment