Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Account Context Module Improved and Enabled by Default #77

Merged
merged 4 commits into from Dec 15, 2023

Conversation

gabrielsoltz
Copy link
Owner

  • The account context module was using decribe_account as the way to understand if the account was part of an AWS organization. This API can be called only from the organization’s management account or by a member account that is a delegated administrator, so it was showing False when the account was not part of an organization but also when the account was not master or a delegated administrator.
  • Now, the module relies on describe_organization, which can be called from any account.
  • We added an extra section, Details, that is only called when the account is master or a delegated administrator, adding more details like the Parent, the OU, and the policies for the organizations and their targets.
  • Now that this is sorted out, the module is enabled by default, as it can be called from any account. It can be disabled using the --context option

@gabrielsoltz gabrielsoltz merged commit 78f874d into main Dec 15, 2023
2 checks passed
@gabrielsoltz gabrielsoltz deleted the improve-account-context branch December 15, 2023 15:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant