{"id":42665624,"url":"https://github.com/cloud-copilot/iam-data","last_synced_at":"2026-01-29T10:06:46.853Z","repository":{"id":254633648,"uuid":"847115773","full_name":"cloud-copilot/iam-data","owner":"cloud-copilot","description":"Daily Updates of AWS IAM Data","archived":false,"fork":false,"pushed_at":"2026-01-22T05:05:42.000Z","size":3801,"stargazers_count":22,"open_issues_count":1,"forks_count":3,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-01-22T19:33:54.453Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cloud-copilot.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2024-08-24T22:30:07.000Z","updated_at":"2026-01-22T05:05:46.000Z","dependencies_parsed_at":"2024-10-26T08:58:19.793Z","dependency_job_id":"d16cf5bc-672c-4f93-aa58-272cd87b7a3c","html_url":"https://github.com/cloud-copilot/iam-data","commit_stats":null,"previous_names":["cloud-copilot/iam-data"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/cloud-copilot/iam-data","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cloud-copilot%2Fiam-data","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cloud-copilot%2Fiam-data/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cloud-copilot%2Fiam-data/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cloud-copilot%2Fiam-data/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cloud-copilot","download_url":"https://codeload.github.com/cloud-copilot/iam-data/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cloud-copilot%2Fiam-data/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28875448,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-29T09:47:23.353Z","status":"ssl_error","status_checked_at":"2026-01-29T09:47:19.357Z","response_time":59,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2026-01-29T10:06:46.782Z","updated_at":"2026-01-29T10:06:46.845Z","avatar_url":"https://github.com/cloud-copilot.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# AWS IAM Data\n\n## Description\nContains IAM data for AWS actions, resources, and conditions based on IAM policy documents. This is intended to be used in downstream projects to provide a reference for IAM policy documents.\n\nPublished in ESM and CommonJS.\n\n## Data Updates\nData is scanned daily and a new version is published if there are changes. The version number is updated to reflect the date of the last update and the function `iamDataUpdatedAt()` returns the date of the last data update. This process is managed outside this repo.\n\n## Usage\n\n```bash\nnpm install @cloud-copilot/iam-data\n```\n\n```typescript\nimport { iamServiceKeys, iamActionDetails, iamActionsForService, iamServiceName } from '@cloud-copilot/iam-data';\n\n// Iterate through all actions in all services\nconst serviceKeys = await iamServiceKeys()\nfor(const serviceKey of serviceKeys) {\n  const serviceName = await iamServiceName(serviceKey);\n  console.log(`Getting Actions for ${serviceName}`);\n  const actions = await iamActionsForService(serviceKey);\n  for(const action of actions) {\n    const actionDetails = await iamActionDetails(serviceKey, action);\n    console.log(actionDetails);\n  }\n}\n```\n\n## API\n### Services\n* `iamServiceKeys()` - Returns an array of all service keys such as 's3', 'ec2', etc.\n* `iamServiceName(serviceKey: string)` - Returns the service name for a given service key.\n* `iamServiceExists(serviceKey: string)` - Returns true if the service key exists.\n\n### Actions\n* `iamActionsForService(serviceKey: string)` - Returns an array of all actions for a given service key.\n* `iamActionDetails(serviceKey: string, actionKey: string)` - Returns an object with the action details such as `description`, `resourceTypes`, and `conditionKeys`.\n* `iamActionExists(serviceKey: string, actionKey: string)` - Returns true if the action exists.\n\n### Resources\n* `iamResourceTypesForService(serviceKey: string)` - Returns an array of all resource types for a given service key.\n* `iamResourceTypeDetails(serviceKey: string, resourceTypeKey: string)` - Returns an object with the resource type details such as `description`, `arnFormat`, and `conditionKeys`.\n* `iamResourceTypeExists(serviceKey: string, resourceTypeKey: string)` - Returns true if the resource type exists.\n\n### Conditions Keys\n* `iamConditionKeysForService(serviceKey: string)` - Returns an array of all condition keys for a given service key.\n* `iamConditionKeyDetails(serviceKey: string, conditionKey: string)` - Returns an object with the condition key details such as `description`, `conditionValueTypes`, and `conditionOperators`.\n* `iamConditionKeyExists(serviceKey: string, conditionKey: string)` - Returns true if the condition key exists.\n\n### Version Info\nThe version is number is formatted as `major.minor.updatedAt`. The updatedAt is the date the data was last updated in the format `YYYYMMDDX` where `X` is a counter to enable publishing more than once per day if necessary. For example version `0.1.202408291` has data updated on August 29th, 2024.\n\nThe version can be accessed using the `iamDataVersion()` method.\n\nThere is also `iamDataUpdatedAt()` which returns the date the data was last updated.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcloud-copilot%2Fiam-data","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcloud-copilot%2Fiam-data","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcloud-copilot%2Fiam-data/lists"}