Skip to content

runbooks inventory org-governance-reportΒΆ

Auto-generated from runbooks inventory org-governance-report --help on 2026-05-21. Source of truth: runbooks PyPI package v1.3.22

Usage: runbooks inventory org-governance-report [OPTIONS]

  Generate an AWS Organizations governance report (HTML dashboard).

  Fetches accounts, enabled services, SCPs, and delegated admins from the
  management account (Organizations APIs are org-scoped β€” requires
  organizations:ListAccounts, ListAWSServiceAccessForOrganization,
  ListPolicies, ListDelegatedAdministrators).

  Requires plotly and pandas: uv sync --extra analytics

  Exit codes: 0=success, 1=AWS auth/permission error, 2=unexpected error.

  Examples:     runbooks inventory org-governance-report --management-profile
  $AWS_MANAGEMENT_PROFILE     runbooks inventory org-governance-report
  --management-profile $AWS_MANAGEMENT_PROFILE \         --tenant-name "B2B
  Energy" --output-dir tenants/b2b-energy/raw/organizations/

Options:
  --management-profile TEXT  Management account profile (defaults to
                             $AWS_MANAGEMENT_PROFILE β€” Organizations APIs are
                             org-scoped).
  --tenant-name TEXT         Display name shown in the dashboard title.
                             [default: Organization]
  --output-dir DIRECTORY     Write org-governance-YYYY-MM-DD.html to this
                             directory (omit to print path only).
  --help                     Show this message and exit.

ExamplesΒΆ