mirror of
https://github.com/HackTricks-wiki/hacktricks-cloud.git
synced 2025-12-27 13:13:06 -08:00
2.0 KiB
2.0 KiB
AWS - Organizations Enum
{{#include ../../../banners/hacktricks-training.md}}
基本情報
AWS Organizationsは、追加コストをかけずに新しいAWSアカウントを作成することを容易にします。リソースは簡単に割り当てることができ、アカウントは効率的にグループ化され、ガバナンスポリシーは個々のアカウントまたはグループに適用され、組織内の管理と制御が強化されます。
主なポイント:
- 新しいアカウントの作成: AWS Organizationsは、追加料金なしで新しいAWSアカウントを作成することを可能にします。
- リソースの割り当て: アカウント間でのリソースの割り当てプロセスを簡素化します。
- アカウントのグループ化: アカウントをまとめて管理をより効率的にします。
- ガバナンスポリシー: アカウントまたはアカウントのグループにポリシーを適用し、組織全体のコンプライアンスとガバナンスを確保します。
詳細情報は以下で確認できます:
{{#ref}} ../aws-basic-information/ {{#endref}}
# Get Org
aws organizations describe-organization
aws organizations list-roots
# Get OUs, from root and from other OUs
aws organizations list-organizational-units-for-parent --parent-id r-lalala
aws organizations list-organizational-units-for-parent --parent-id ou-n8s9-8nzv3a5y
# Get accounts
## List all the accounts without caring about the parent
aws organizations list-accounts
## Accounts from a parent
aws organizations list-accounts-for-parent --parent-id r-lalala
aws organizations list-accounts-for-parent --parent-id ou-n8s9-8nzv3a5y
# Get basic account info
## You need the permission iam:GetAccountSummary
aws iam get-account-summary
参考文献
{{#include ../../../banners/hacktricks-training.md}}