forked from aws-samples/aws-iam-permissions-guardrails
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
https://github.com/aws-samples/aws-iam-permissions-guardrails/issues/42
- Loading branch information
Cody Wood
committed
Jun 10, 2021
1 parent
26c8760
commit 5fd53dc
Showing
1 changed file
with
28 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
{ | ||
"Identifier": "SCP-IAM-6", | ||
"Guardrail": "Prevent Creation of New IAM Users or Access Keys", | ||
"Rationale": [ | ||
"Restrict creation of any new IAM users access keys to prohibit bypass of SSO and other controls" | ||
], | ||
"Test Scenarios": [ | ||
{ | ||
"Test-Scenario": "Create new user", | ||
"Steps": [ | ||
"Log in to the AWS console with a role that is allowed to call CreateUser and/or CreateAccessKey", | ||
"Create a new user", | ||
"Create an access key for that user" | ||
], | ||
"Expected-Result": "Access Denied" | ||
} | ||
], | ||
"References": [ | ||
"https://docs.aws.amazon.com/IAM/latest/UserGuide/best-practices.html" | ||
], | ||
"Policy-Type": "SCP", | ||
"SCP-Type": "Prevent-All", | ||
"IAM Actions": [ | ||
"iam:CreateUser", | ||
"iam:CreateAccessKey" | ||
], | ||
"Resource": ["*"] | ||
} |