Score:0

Service Control Policy - Prevent Root

ng flag

I would like to prevent the root account in my AWS Organization from taking actions in all the other accounts in the organization so I was planning to setup a Service Control Policy to block the root account which is also recommended guidance from AWS.

Sounds good in theory but can't the root account just remove the Service Control Policy?

Score:0
gp flag
Tim

Yes, the root can remove the SCP, but it's still good practice to block root from operating on resources. This is a soft guard rail to remind people not to use root for this type of thing.

AWS has an example SCP here.

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Sid": "RestrictEC2ForRoot",
      "Effect": "Deny",
      "Action": [
        "ec2:*"
      ],
      "Resource": [
        "*"
      ],
      "Condition": {
        "StringLike": {
          "aws:PrincipalArn": [
            "arn:aws:iam::*:root"
          ]
        }
      }
    }
  ]
}
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.