diff --git a/guardrails/iam/SCP-IAM-6.json b/guardrails/iam/SCP-IAM-6.json new file mode 100644 index 0000000..2a0d1d7 --- /dev/null +++ b/guardrails/iam/SCP-IAM-6.json @@ -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": ["*"] +} \ No newline at end of file