projected1 / aws-iam-actions-list

A list of all known Amazon Web Services' IAM actions; and a way of updating that list.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

aws-iam-actions-list

A list of all known Amazon Web Services' IAM actions; and a way of updating that list.

Why?

Because sometimes it's just handy to have the list of IAM actions, all in one place. For example, if you can almost remember the name of the action, but not quite, this list can be quite a handy reference.

It's also informative to observe the history of the list, as new actions are added.

I wish AWS provided this information themselves somewhere, in a supported, machine-readable form. But if they do provide it, I haven't found it yet.

Follow https://gitlab.com/TryTryAgain/aws-iam-actions-list/-/issues/1 for similar content and related resources.

Using the list

It's one action per line, plain text format: all-actions.txt

For example, to see all CloudWatch Events actions: grep ^events: all-actions.txt

Browsing/Searching commit history

Along with having the all-actions.txt file, the project also makes it easy to follow along, commit messages will dynamically list what is completely New/Removed as well as what had actions added to or taken away from, using the language below:

  • New Services: 'xyz'.
  • Added actions to 'abc,xyz'.
  • Removed Services: 'lmno'.
  • Removed actions from 'abc'.

Meaning on GitLab for example you can search using regex for Added.*rds to surface all the times RDS has received updates/additional actions added...or Removed.*rds to see what's ever been removed.

Updating the list

Depends on bash, curl, ruby, node, and jq.

Manually

Run make update; review the results.

GitLab CI/CD

See .gitlab-ci.yml

The update works by reading JavaScript assets used by the AWS Policy Generator https://awspolicygen.s3.amazonaws.com/policygen.html. It's very much an unsupported method though, so the update scripts might need updating from time to time.

License

Licensed under the Apache License, Version 2.0. See the LICENSE file.

About

A list of all known Amazon Web Services' IAM actions; and a way of updating that list.

License:Other


Languages

Language:Shell 55.7%Language:JavaScript 24.3%Language:Makefile 20.0%