https://github.com/iann0036/iam-dataset
A consolidated series of structured data for cloud identity and access management systems, including datasets for AWS, Azure, and Google Cloud
https://github.com/iann0036/iam-dataset
aws aws-iam azure-rbac gcp-iam iam iam-actions iamlive sar sdk-actions
Last synced: about 1 month ago
JSON representation
A consolidated series of structured data for cloud identity and access management systems, including datasets for AWS, Azure, and Google Cloud
- Host: GitHub
- URL: https://github.com/iann0036/iam-dataset
- Owner: iann0036
- License: mit
- Created: 2021-01-30T22:58:11.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2025-04-09T14:19:34.000Z (about 1 month ago)
- Last Synced: 2025-04-09T15:32:18.603Z (about 1 month ago)
- Topics: aws, aws-iam, azure-rbac, gcp-iam, iam, iam-actions, iamlive, sar, sdk-actions
- Language: Python
- Homepage:
- Size: 574 MB
- Stars: 258
- Watchers: 10
- Forks: 31
- Open Issues: 10
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
# IAM Dataset
A consolidated series of structured data for cloud identity and access management systems, including datasets for AWS, Azure, and Google Cloud.
It is currently being used to support:
* [iamlive](https://github.com/iann0036/iamlive)
* [iamfast](https://github.com/iann0036/iamfast)
* [aws.permissions.cloud](https://aws.permissions.cloud)
* [azure.permissions.cloud](https://azure.permissions.cloud)
* [gcp.permissions.cloud](https://gcp.permissions.cloud)
* [claws](https://clawsapp.com)
* [LocalStack](https://discuss.localstack.cloud/t/localstack-release-v2-2-0/424#live-policy-streams-9)
* [Access Undenied](https://github.com/ermetic/access-undenied-aws)
* [Otterize](https://otterize.com/)Tooling which assists in the generation of some datasources is located in the `util/` directory.
## AWS
For Amazon Web Services IAM, the primary datasources are map.json and iam_definition.json.
### map.json
A comprehensive mapping from SDK calls to IAM actions, typically created with the assistance of the mapping tool.
For more information on this file, see [aws/MAP-README.md](aws/MAP-README.md).
### iam_definition.json
A scraping of the [AWS Service Authorization Reference](https://docs.aws.amazon.com/service-authorization/latest/reference/reference.html), the AWS-provided reference of known IAM actions. It is generated using work from [Parliament](https://github.com/duo-labs/parliament).
The file does have some post-crawl patching actions.
### managedpolicies/_name_.json
The details of all AWS Managed Policies, including flags for whether the managed policy contains high sensitivity actions.
## Azure
For Azure, the primary datasource is built-in-roles.json.
### provider-operations.json
The direct output of the command `az provider operation list` which retrieves all operations from all providers.
### built-in-roles-raw.json
The output of the command `az role definition list` with a query for all built-in roles.
### built-in-roles.json
The aggregation of thr built-in roles and provider operations permitted by those built-in roles.
## Google Cloud
For Google Cloud, the primary datasources are methods.json, permissions.json and role_permissions.json.
### predefined_roles.json
The result of the command `gcloud iam roles list`, including deleted roles, showing all predefined roles.
### map.json
A map of IAM permissions required for each method. **[WORK IN PROGRESS]**
### methods.json
The combination of the methods extracted from the Google Cloud Go SDK.
### methods_ext.json
Same as methods.json, but with parameter information.
### permissions.json
IAM Permissions as defined by the online [IAM permissions reference](https://cloud.google.com/iam/docs/permissions-reference).
### role_permissions.json
A mapping of each permission and the roles which the permission has, including whether the containment is undocumented per the IAM permission reference.
### roles/_name_.json
The result of the command `gcloud iam roles describe "$name"` for all built-in roles.