Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IAM Role is given superuser permissions #1

Open
brianholcomb opened this issue Apr 2, 2014 · 0 comments
Open

IAM Role is given superuser permissions #1

brianholcomb opened this issue Apr 2, 2014 · 0 comments

Comments

@brianholcomb
Copy link

It's currently:

    "RolePolicies": {
      "Type": "AWS::IAM::Policy",
      "Properties": {
        "PolicyName": "elasticsearch",
        "PolicyDocument": {
          "Statement": [ {
            "Effect": "Allow",
            "Action": "*",
            "Resource": "*"
          } ]
        },
        "Roles": [ { "Ref": "ElasticsearchRole" } ]
      }
    },

this will give the elasticsearch instances full access to the AWS account. The statement could be further restricted:

  "Statement": [
    {
      "Effect": "Allow",
      "Action": "EC2:Describe*",
      "Resource": "*"
    }
  ]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant