You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: org-delegation/README.md
+31-3
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
# Organizations Delegated Access
2
2
3
-
This script will configure Delegated Administrator in a payer account for GuardDuty and IAM Access Analyzer.
3
+
These scripts will configure Delegated Administrator in a payer account for GuardDuty and IAM Access Analyzer.
4
4
5
5
## Why?
6
6
@@ -9,9 +9,9 @@ This script will configure Delegated Administrator in a payer account for GuardD
9
9
The concept of Delegated Admin accounts for specific services is new. It allows the Organization master to grant an account in the organization full ability to deploy and manage the service in all accounts in the Organization. This eliminates the need for teams to login the payer account or individually deploy tooling in an organization's child accounts.
10
10
11
11
12
-
## What the script does.
12
+
## What the delegate-admin script does.
13
13
14
-
This script will enable delegated admin for GuardDuty and IAM Access Analyzer (plus any future services).
14
+
This script will enable delegated admin for IAM Access Analyzer (plus any future services).
15
15
16
16
Then, because GuardDuty has to be special, the script iterates through all the regions returned by ec2:DescribeRegions. It will then call enable_organization_admin_account() to configure GuardDuty's delegated admin.
17
17
@@ -38,6 +38,34 @@ optional arguments:
38
38
39
39
You must specify `--actually-do-it` for the changes to be made. Otherwise the script runs in dry-run mode only.
40
40
41
+
## What the delegate-guardduty script does.
42
+
43
+
This script iterates through all the regions returned by ec2:DescribeRegions. It will then call enable_organization_admin_account() to configure GuardDuty's delegated admin.
44
+
45
+
The script will report if the organization has delegated to another child account, or if the delegation was already configured before attempting to enable account delegation.
0 commit comments