Skip to main content

awsssoreporting.py

Description

AWS IAM Identity Center (FKA AWS SSO) connects an IdP to an AWS Organization. Identities are granted access (in the form of Permission Sets) to accounts. The combined identity/permission set/account binding is called an assignment. It is challenging to use the AWS Console to generate a report of all granted access. This package provides a way of reporting this access to the terminal or a CSV.

Installation

python3 -m pip install boto3

python3 -m pip install awsssoreporting

Usage

Because this utility uses the AWS IAM Identity Center and Organization APIs, it must be run from the Organization management account.

export AWS_PROFILE=<your AWS profile. This must have read access to the sso-admin, identitystore, and organizations API.>

export AWS_DEFALT_REGION=<region AWS Identity Center is configured in>

awsssoreporting.py [-a | -u] -c -f myfile.csv -q

  • -a Report access by AWS account
  • -u Report access by identity
  • -c Write the results to a CSV
  • -f The filename to write the CSV to. Otherwise, the default (aws_sso_reporting-<date>.csv) is used
  • -q Quite mode. No results printed to terminal. The default is False.

TODO

  • Support more than one AWS Identity Center Instance

Metadata

Release files for awsssoreporting 0.12

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for awsssoreporting 0.12
File Size Uploaded Provenance Actions
awsssoreporting-0.12.tar.gz 7.4 kB Without provenance Details for awsssoreporting-0.12.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for awsssoreporting 0.12
File Interpreter ABI Platform Actions
awsssoreporting-0.12-py3-none-any.whl Python 3 none any Details for awsssoreporting-0.12-py3-none-any.whl

Total release size: 14.5 kB

Release files / awsssoreporting-0.12.tar.gz

Download URL awsssoreporting-0.12.tar.gz
Size 7.4 kB
Tags Source
SHA-256 checksum
How to use checksums
97d8bf6947536fcaebbccbe3266c10092a731db4d1b3907223c99513b27d2e02
BLAKE2b-256 checksum
How to use checksums
fda8e84bf1bcc8f32f37f6df2f722585a4f2ec85b951ea76d8b663232764ec44
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.12

Release files / awsssoreporting-0.12-py3-none-any.whl

Download URL awsssoreporting-0.12-py3-none-any.whl
Size 7.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
28dbfcb95f8656e689c090db48fe31e4322ecf7a46891ffc2045474a5b028653
BLAKE2b-256 checksum
How to use checksums
0ef75991aa8ad83ebcfecad4ea44b02e49a701ac66941c4e12cb18ff3c95c7ae
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.12

Security for awsssoreporting 0.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page