AWS - Organizations Enum

AWS - 組織の列挙

htARTE(HackTricks AWS Red Team Expert) を通じて、ゼロからヒーローまでAWSハッキングを学びましょう

HackTricks をサポートする他の方法:

基本情報

AWS Organizations は、追加費用をかけることなく新しいAWSアカウントの作成を容易にします。リソースを簡単に割り当てることができ、アカウントを効率的にグループ化し、個々のアカウントやグループにガバナンスポリシーを適用することで、組織内の管理とコントロールを強化します。

主なポイント:

  • 新しいアカウントの作成: AWS Organizations により、追加料金なしで新しいAWSアカウントを作成できます。

  • リソースの割り当て: アカウント間でリソースを割り当てるプロセスが簡素化されます。

  • アカウントのグループ化: アカウントをグループ化することで、管理がより効率的になります。

  • ガバナンスポリシー: アカウントまたはアカウントグループにポリシーを適用することで、組織全体でのコンプライアンスとガバナンスを確保できます。

詳細は以下で確認できます:

pageAWS - Basic Information

```bash # 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

## 参考

* https://aws.amazon.com/organizations/

<details>

<summary><strong>ゼロからヒーローまでのAWSハッキングを学ぶ</strong> <a href="https://training.hacktricks.xyz/courses/arte"><strong>htARTE(HackTricks AWS Red Team Expert)</strong></a><strong>!</strong></summary>

HackTricks をサポートする他の方法:

* **HackTricks で企業を宣伝したい** または **HackTricks をPDFでダウンロードしたい場合は** [**SUBSCRIPTION PLANS**](https://github.com/sponsors/carlospolop) をチェックしてください!
* [**公式PEASS&HackTricksグッズ**](https://peass.creator-spring.com)を入手する
* [**The PEASS Family**](https://opensea.io/collection/the-peass-family)、当社の独占的な [**NFTs**](https://opensea.io/collection/the-peass-family) コレクションを発見する
* **💬 [**Discordグループ**](https://discord.gg/hRep4RUj7f) に参加するか、[**telegramグループ**](https://t.me/peass) に参加するか、**Twitter** 🐦 [**@hacktricks\_live**](https://twitter.com/hacktricks\_live) をフォローする**
* **HackTricks** と [**HackTricks Cloud**](https://github.com/carlospolop/hacktricks-cloud) のGitHubリポジトリにPRを提出して、あなたのハッキングトリックを共有する。 

</details>

最終更新