{"id":43329893,"url":"https://github.com/inhumantsar/asai","last_synced_at":"2026-02-01T23:40:35.796Z","repository":{"id":47597946,"uuid":"398675947","full_name":"inhumantsar/asai","owner":"inhumantsar","description":"ASAI can find the available actions, conditions, and other useful IAM information for AWS services.","archived":false,"fork":false,"pushed_at":"2021-09-06T21:13:34.000Z","size":185,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2024-08-11T05:04:28.992Z","etag":null,"topics":["aws","aws-iam","python"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/inhumantsar.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-08-21T23:36:01.000Z","updated_at":"2022-11-11T19:15:24.000Z","dependencies_parsed_at":"2022-09-13T07:32:08.561Z","dependency_job_id":null,"html_url":"https://github.com/inhumantsar/asai","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/inhumantsar/asai","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/inhumantsar%2Fasai","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/inhumantsar%2Fasai/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/inhumantsar%2Fasai/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/inhumantsar%2Fasai/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/inhumantsar","download_url":"https://codeload.github.com/inhumantsar/asai/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/inhumantsar%2Fasai/sbom","scorecard":{"id":488752,"data":{"date":"2025-08-11","repo":{"name":"github.com/inhumantsar/asai","commit":"db19154c63ebf447f51f32b5f3beb22c49d9d7b4"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2.9,"checks":[{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Code-Review","score":0,"reason":"Found 0/6 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/tagged-release.yml:1","Warn: no topLevel permission defined: .github/workflows/tests.yml:1","Warn: no topLevel permission defined: .github/workflows/version-bump.yml:1","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/tagged-release.yml:18: update your workflow using https://app.stepsecurity.io/secureworkflow/inhumantsar/asai/tagged-release.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/tagged-release.yml:26: update your workflow using https://app.stepsecurity.io/secureworkflow/inhumantsar/asai/tagged-release.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/tagged-release.yml:34: update your workflow using https://app.stepsecurity.io/secureworkflow/inhumantsar/asai/tagged-release.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/tagged-release.yml:41: update your workflow using https://app.stepsecurity.io/secureworkflow/inhumantsar/asai/tagged-release.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/tagged-release.yml:54: update your workflow using https://app.stepsecurity.io/secureworkflow/inhumantsar/asai/tagged-release.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/tests.yml:29: update your workflow using https://app.stepsecurity.io/secureworkflow/inhumantsar/asai/tests.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/tests.yml:34: update your workflow using https://app.stepsecurity.io/secureworkflow/inhumantsar/asai/tests.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/tests.yml:55: update your workflow using https://app.stepsecurity.io/secureworkflow/inhumantsar/asai/tests.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/version-bump.yml:19: update your workflow using https://app.stepsecurity.io/secureworkflow/inhumantsar/asai/version-bump.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/version-bump.yml:24: update your workflow using https://app.stepsecurity.io/secureworkflow/inhumantsar/asai/version-bump.yml/main?enable=pin","Warn: pipCommand not pinned by hash: .github/workflows/tagged-release.yml:47","Warn: pipCommand not pinned by hash: .github/workflows/tagged-release.yml:48","Warn: pipCommand not pinned by hash: .github/workflows/tests.yml:68","Warn: pipCommand not pinned by hash: .github/workflows/tests.yml:69","Info:   0 out of   5 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   5 third-party GitHubAction dependencies pinned","Info:   0 out of   4 pipCommand dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":9,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Warn: project license file does not contain an FSF or OSI license."],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'main'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 4 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Vulnerabilities","score":5,"reason":"5 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-9hjg-9r4m-mvj7","Warn: Project is vulnerable to: GHSA-9wx4-h78v-vm56","Warn: Project is vulnerable to: PYSEC-2023-74 / GHSA-j8r2-6x86-q33q","Warn: Project is vulnerable to: PYSEC-2024-48 / GHSA-fj7x-q9j7-g6q6","Warn: Project is vulnerable to: PYSEC-2022-43017 / GHSA-qwmp-2cf2-g9g6"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-19T18:30:48.627Z","repository_id":47597946,"created_at":"2025-08-19T18:30:48.627Z","updated_at":"2025-08-19T18:30:48.627Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28995536,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-01T23:10:54.274Z","status":"ssl_error","status_checked_at":"2026-02-01T23:10:47.298Z","response_time":56,"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":["aws","aws-iam","python"],"created_at":"2026-02-01T23:40:35.727Z","updated_at":"2026-02-01T23:40:35.789Z","avatar_url":"https://github.com/inhumantsar.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# AWS Service Authorization Information (ASAI) v0.3.1\n\n[![PyPI](https://img.shields.io/pypi/v/asai.svg)](https://pypi.python.org/pypi/asai)\n\nASAI can find the available actions, conditions, and other useful IAM information for AWS services.\n\nThis was written to make building detailed IAM policies with regional permissions boundaries less tedious.\n\n## Features\n\n* Search or list all AWS services\n* List all regional or global AWS services\n* Create a list of available IAM actions, wildcarding common prefixes\n* Display all available IAM actions for a service\n* Print all IAM information for a service.\n\n## Usage\n\n### Generate Policy Scaffolds\n\nThe `policy` command will help you generate policy scaffolds you can tailor to fit your needs.\n\nPolicy scaffolds are valid JSON, but *not* valid IAM policies. They demonstrate all of the possible options a service's IAM policy could employ. You must tailor the resulting scaffolds\nto create valid IAM policies.\n\n#### Sample Output\n\nThe fields below have been truncated for readability. For a complete example which includes\nall possible services, see [`tests/expected/policy-all`](tests/expected/policy-all).\n\n```json\n{\n    \"Version\": \"2012-10-17\",\n    \"Statement\": [\n        {\n            \"Sid\": \"Amazon Comprehend\",\n            \"Effect\": \"Allow\",\n            \"Action\": [\n                \"comprehend:BatchDetectDominantLanguage\",\n                \"comprehend:BatchDetectEntities\",\n                ...\n            ],\n            \"Resource\": [\n                \"arn:${Partition}:comprehend:${Region}:${AccountId}:${ResourceType}/${ResourceName}\"\n            ],\n            \"Condition\": {\n                \"SomeCondition-IYzBf\": {\n                    \"aws:RequestTag/${TagKey}\": \"...some value...\"\n                },\n                \"SomeCondition-UYQWo\": {\n                    \"comprehend:ModelKmsKey\": \"...some value...\"\n                },\n                ...\n            }\n        },\n        {\n            \"Sid\": \"Amazon Elastic File System\",\n            \"Effect\": \"Allow\",\n            \"Action\": [\n                \"elasticfilesystem:Backup\",\n                \"elasticfilesystem:ClientMount\",\n                ...\n            ],\n            \"Resource\": [\n                \"arn:${Partition}:elasticfilesystem:${Region}:${Account}:${ResourceType}/${ResourcePath}\"\n            ],\n            \"Condition\": {...}\n        },\n        ...\n    ]\n}\n```\n\n#### Command details\n\n    asai policy [OPTIONS]\n\n      Generate an IAM policy scaffold using specified services.\n    \n      When multiple service options are specified, they will be combined into a\n      single policy.\n  \n      If `--group` is set, then the policy will contain multiple statements for each\n      parameter. eg: Setting `--prefix ssm --prefix ec2 --all-global --search\n      container` will result in four statements, one for SSM, one for EC2, one for\n      all global services, and one for \"container\" search results. These will\n      *not* be de-duped.\n\n      If no service options are specified, a policy scaffold with all services\n      will be created. Using `--group` here will result in each service getting its own\n      policy statement.\n  \n      Options:\n        -p, --prefix TEXT  Specific service prefix. Can be used multiple times.\n        --all-global       Include all global services in policy scaffold.\n        --all-regional     Include all global services in policy scaffold.\n        -s, --search TEXT  Include all search results. Can be used multiple times.\n        --wildcard         Wildcard the actions list of all specified services.\n        --group            Group services by parameter.\n        --help             Show this message and exit.\n\n\n### Service Information\n\nThe `service` and `services` commands will display prefix names and other information\nabout particular services.\n\n| Command    | Subcommand         | Description |\n|------------|--------------------|---|\n| `services` | `all`              |List all service prefixes.|\n|            | `global`           |List all services which aren't tied to specific regions.|\n|            | `no-arn`           |List all services which don't have an ARN format.|\n|            | `regional`         |List all services which are tied to specific regions.|\n|            | `search`           |Search for a service by name or prefix.|\n| `service`  | `actions`          |List a service's actions.|\n|            | `actions-wildcard` |List a service's actions, wildcarding common prefixes.|\n|            | `arn-format`       |Display a service's ARN format description.|\n|            | `arn-regex`        |Display a service's ARN Regex string.|\n|            | `info`             |Print all available service information.|\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finhumantsar%2Fasai","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Finhumantsar%2Fasai","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finhumantsar%2Fasai/lists"}