Skip to content

Commit

Permalink
https://github.com/aws-samples/aws-iam-permissions-guardrails/issues/18
Browse files Browse the repository at this point in the history
  • Loading branch information
Cody Wood committed Jun 10, 2021
1 parent 26c8760 commit 228212b
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions guardrails/macie/SCP-MACIE-1.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
{
"Identifier": "SCP-MACIE-1",
"Guardrail": "Prevent Disabling Macie",
"Rationale": [
"Prevent someone disabling or deleting Macie intentionally or accidentally"
],
"Test Scenarios": [
{
"Test-Scenario": "Disable Macie",
"Steps": [
"Log in to the AWS console with a role that is able to disable Macie and has Macie enabled",
"Disable Macie"
],
"Expected-Result": "Access Denied"
}
],
"References": [
"https://docs.aws.amazon.com/macie/"
],
"Policy-Type": "SCP",
"SCP-Type": "Prevent-All",
"IAM Actions": [
"macie2:DisassociateFromMasterAccount",
"macie2:DisableOrganizationAdminAccount",
"macie2:DisableMacie",
"macie2:DeleteMember"
],
"Resource": ["*"]
}

0 comments on commit 228212b

Please sign in to comment.