Comments (2)
The script calls sts:AssumeRole both for the master account and linked accounts. Without testing it the IAM policy should look like this:
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "VisualEditor0",
"Effect": "Allow",
"Action": "sts:AssumeRole",
"Resource": "*"
}
]
}
from amazon-guardduty-multiaccount-scripts.
Jason,
Please see the updated documentation as well as the EnableGuardDuty.yaml CloudFormation template that was added. The template will create a role with the permissions needed by the script as well as an instance role and profile that can be attached to an instance. The instance does need AssumeRole but you should scope that down to only allow it to assume the role that will be used.
from amazon-guardduty-multiaccount-scripts.
Related Issues (20)
- raised in error
- Document other tools for guard duty multi-account enablement in readme HOT 1
- Issues with enabledguardduty script HOT 6
- Exceptions thrown in eu-west-3 HOT 1
- Script is stuck after creating detector for member account in ap-northeast-1 region HOT 1
- Released version
- New line character in windows is "\r\n", current enabler script only removes "\n" character from csv HOT 1
- disableguardduty.py does not work HOT 7
- enableguardduty script - argument to disable email invite? HOT 1
- Enable Guard Duty on Stolkhome region HOT 6
- Issues with disableguardduty.py HOT 1
- Enable Guard Duty on Asia Pacific (Hong Kong) region HOT 5
- master_account type needs to be STR not INT on line 105 in disableguardduty.py HOT 1
- Frequency for updated findings HOT 3
- Most recent version of botocore/boto3 is not compatible with this code HOT 8
- Include Paris region, now that it supports GuardDuty HOT 1
- Organisation account in Removed state
- Issues with enabledguardduty script HOT 2
- Assume role with MFA condition HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from amazon-guardduty-multiaccount-scripts.