{"id":34952323,"url":"https://github.com/sktan/aws-support-level","last_synced_at":"2026-04-27T07:34:01.537Z","repository":{"id":98564916,"uuid":"549249784","full_name":"sktan/aws-support-level","owner":"sktan","description":"Easily find out the support level of all the AWS Accounts in your org","archived":false,"fork":false,"pushed_at":"2025-01-14T00:58:59.000Z","size":42,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-04-27T07:33:56.885Z","etag":null,"topics":["api","aws","aws-support","awssupport","supportplans"],"latest_commit_sha":null,"homepage":"","language":"Python","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/sktan.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":"support-level-direct.py","governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-10-10T22:55:21.000Z","updated_at":"2025-01-14T00:59:02.000Z","dependencies_parsed_at":"2023-03-13T15:58:42.348Z","dependency_job_id":null,"html_url":"https://github.com/sktan/aws-support-level","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/sktan/aws-support-level","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sktan%2Faws-support-level","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sktan%2Faws-support-level/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sktan%2Faws-support-level/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sktan%2Faws-support-level/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sktan","download_url":"https://codeload.github.com/sktan/aws-support-level/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sktan%2Faws-support-level/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32327701,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-26T23:26:28.701Z","status":"online","status_checked_at":"2026-04-27T02:00:06.769Z","response_time":128,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["api","aws","aws-support","awssupport","supportplans"],"created_at":"2025-12-26T21:40:48.824Z","updated_at":"2026-04-27T07:34:01.520Z","avatar_url":"https://github.com/sktan.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# AWS Support Level Tool\n\nThis tool helps you identify the AWS support level of the following:\n\n- Your current AWS account\n- A list of AWS Account IDs\n- All the accounts in your AWS organisation\n\nI'm using Python 3.10 to develop and run this, but anything python 3.7 and above should work as long as you have the following Python libraries installed:\n\n- boto3\n- awscrt\n- requests\n\nIf you are interested in learning more about why this was built and how I found the SupportPlans API, feel free to check out my [blog post](https://www.sktan.com/blog/post/7-determining-your-aws-support-level-via-the-supportplans-api).\n\n## Usage - support-level-direct.py (Undocumented SupportPlans API)\n\nThis version of the tool uses an undocumented SupportPlans API provided by AWS to show you your current subscription in the \"Change Support Plans\" page.\n\nYou will notice that I am using the us-east-2 region and that is intended. Even though the Support Console runs in the us-east-1 region, this API is only available in us-east-2 from what I've found.\n\n```text\n# Install the pipenv requirements and open a shell\nsktan ➜ /workspaces/aws-support-level (master ✗) $ pipenv install\nsktan ➜ /workspaces/aws-support-level (master ✗) $ pipenv shell\n\n# Run the command against the entire organisation (you will need to run this from a role that has access to the organisation parent account)\n(aws-support-level) sktan ➜ /workspaces/aws-support-level (master ✗) $ python support-level-direct.py --org --role sktan-org-support\nRetrieved a list of 14 AWS accounts under the parent org.\nAssuming role arn:aws:iam::0123456789012:role/sktan-org-support\nAccount 0123456789012 has support level ENTERPRISE\nAssuming role arn:aws:iam::0123456789013:role/sktan-org-support\nAccount 0123456789013 has support level BUSINESS\nAssuming role arn:aws:iam::0123456789014:role/sktan-org-support\nAccount 0123456789014 failed with error An error occurred (AccessDenied) when calling the AssumeRole operation: User: arn:aws:sts::0123456789014:assumed-role/AWSReservedSSO_AdministratorAccess_asdf1234/sktan is not authorized to perform: sts:AssumeRole on resource: arn:aws:iam::0123456789014:role/sktan-org-support\nAssuming role arn:aws:iam::0123456789015:role/sktan-org-support\nAccount 0123456789015 has support level BASIC\n\n# Run the command against a list of AWS Account Ids\n(aws-support-level) sktan ➜ /workspaces/aws-support-level (master ✗) $ python support-level.py --awsids 0123456789012,0123456789013 --role sktan-org-support\nAssuming role arn:aws:iam::0123456789012:role/sktan-org-support\nAccount 0123456789012 has support level ENTERPRISE\nAssuming role arn:aws:iam::0123456789013:role/sktan-org-support\nAccount 0123456789013 has support level BUSINESS\n\n# Run the command against the current AWS account\n(aws-support-level) sktan ➜ /workspaces/aws-support-level (master ✗) $ python support-level.py\nYour AWS support level is: BASIC\n```\n\n### CSV Output\n\nWhen running the command, you will get an ouptut of the tool's actions and which accounts it's currently performing API actions against. Once this is completed, it will spit out an `output.csv` file which looks like:\n\n```csv\nawsid,supportplan\n0123456789012,ENTERPRISE\n0123456789013,BUSINESS\n0123456789014,ERROR\n0123456789015,BASIC\n```\n\nNOTE: If running against a singlular account, you will not receive any CSV file output.\n\n### Required IAM Permissions - support-level-direct.py\n\n```json\n{\n    \"Version\": \"2012-10-17\",\n    \"Statement\": [\n        {\n            \"Effect\": \"Allow\",\n            \"Action\": \"supportplans:GetSupportPlan\",\n            \"Resource\": \"*\"\n        }\n    ]\n}\n```\n\n## Usage - support-level.py (Get Severity Levels)\n\nThis method isn't as feature-rich and only supports the current account you're authenticated to. It currently only provides you a guesstimate of your AWS support level based on the information in the [Choosing a Severity](https://docs.aws.amazon.com/awssupport/latest/user/case-management.html#choosing-severity) section of the AWS Support User Guide.\n\n```text\n# Run this against the current account\n(aws-support-level) sktan ➜ /workspaces/aws-support-level (master ✗) $ python support-level.py\nYour AWS support level is: BASIC\n```\n\n### Required IAM Permissions - support-level.py\n\n```json\n{\n    \"Version\": \"2012-10-17\",\n    \"Statement\": [\n        {\n            \"Effect\": \"Allow\",\n            \"Action\": \"support:DescribeSeverityLevels\",\n            \"Resource\": \"*\"\n        }\n    ]\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsktan%2Faws-support-level","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsktan%2Faws-support-level","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsktan%2Faws-support-level/lists"}