Skip to content

Instantly share code, notes, and snippets.

@asjadathick
Last active May 28, 2020 08:44
Show Gist options
  • Save asjadathick/e11d9177ba4136aa4f3763fd2bc042a1 to your computer and use it in GitHub Desktop.
Save asjadathick/e11d9177ba4136aa4f3763fd2bc042a1 to your computer and use it in GitHub Desktop.
AWS IAM policy for metricbeat aws module metricsets
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "VisualEditor0",
"Effect": "Allow",
"Action": [
"ec2:DescribeRegions",
"cloudwatch:GetMetricData",
"cloudwatch:ListMetrics",
"tag:getResources",
"sts:GetCallerIdentity",
"iam:ListAccountAliases",
"ec2:DescribeInstances",
"rds:DescribeDBInstances",
"sqs:ListQueues"
],
"Resource": "*"
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment