
Security News
Software Engineering Daily Podcast: Feross on AI, Open Source, and Supply Chain Risk
Socket CEO Feross Aboukhadijeh joins Software Engineering Daily to discuss modern software supply chain attacks and rising AI-driven security risks.
aws-enumerateiam
Advanced tools
Enumerate IAM permissions by calling aws:List* and aws:Get* APIs.
This project has been created to help AWS users to identify which actions are allowed and which are denied by IAM policies.
This project can be used both as a Python library and as a command line tool.
Install using pip:
.. code-block:: console
$ pip install aws-enumerateiam
To enumerate the allowed IAM permissions using the command line tool:
.. code-block:: console
$ enumerate-iam
To use enumerate-iam as a Python library:
.. code-block:: python
from enumerate_iam import permissions
allowed, denied = permissions()
The library uses a list of AWS API actions (e.g. ec2:DescribeInstances), and then it attempts to call them.
If AWS returns an error that indicates the action is not allowed, it will be added to the denied list. If the call succeeds (or fails with a different error), it is considered allowed.
Sometimes API calls fail with errors that do not indicate an IAM permission problem. In those cases the action is not added to the denied list.
For example, calling ec2:DescribeInstances without any EC2 instances may return an empty list rather than an error.
This project is released under the BSD license.
FAQs
Enumerate the permissions associated with AWS credential set
We found that aws-enumerateiam demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Socket CEO Feross Aboukhadijeh joins Software Engineering Daily to discuss modern software supply chain attacks and rising AI-driven security risks.

Security News
GitHub has revoked npm classic tokens for publishing; maintainers must migrate, but OpenJS warns OIDC trusted publishing still has risky gaps for critical projects.

Security News
Rust’s crates.io team is advancing an RFC to add a Security tab that surfaces RustSec vulnerability and unsoundness advisories directly on crate pages.