mirror of
https://github.com/Sea-Haven-Industries/security-review.git
synced 2026-09-30 08:03:17 +00:00
72 lines
1.8 KiB
JSON
72 lines
1.8 KiB
JSON
|
|
{
|
||
|
|
"Version": "2012-10-17",
|
||
|
|
"Statement": [
|
||
|
|
{
|
||
|
|
"Sid": "CostAndUsageReadOnly",
|
||
|
|
"Effect": "Allow",
|
||
|
|
"Action": [
|
||
|
|
"ce:GetCostAndUsage",
|
||
|
|
"ce:GetCostAndUsageWithResources",
|
||
|
|
"ce:GetCostForecast",
|
||
|
|
"ce:GetDimensionValues",
|
||
|
|
"ce:GetTags",
|
||
|
|
"ce:GetReservationUtilization",
|
||
|
|
"ce:GetSavingsPlansUtilization",
|
||
|
|
"ce:GetAnomalies",
|
||
|
|
"ce:GetAnomalyMonitors",
|
||
|
|
"ce:GetAnomalySubscriptions"
|
||
|
|
],
|
||
|
|
"Resource": "*"
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"Sid": "CloudWatchMetricsReadOnly",
|
||
|
|
"Effect": "Allow",
|
||
|
|
"Action": [
|
||
|
|
"cloudwatch:GetMetricData",
|
||
|
|
"cloudwatch:GetMetricStatistics",
|
||
|
|
"cloudwatch:ListMetrics",
|
||
|
|
"cloudwatch:DescribeAlarms",
|
||
|
|
"cloudwatch:DescribeAlarmsForMetric"
|
||
|
|
],
|
||
|
|
"Resource": "*"
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"Sid": "Ec2DescribeReadOnly",
|
||
|
|
"Effect": "Allow",
|
||
|
|
"Action": [
|
||
|
|
"ec2:DescribeInstances",
|
||
|
|
"ec2:DescribeInstanceStatus",
|
||
|
|
"ec2:DescribeVolumes",
|
||
|
|
"ec2:DescribeAddresses",
|
||
|
|
"ec2:DescribeNatGateways",
|
||
|
|
"ec2:DescribeSnapshots",
|
||
|
|
"ec2:DescribeRegions"
|
||
|
|
],
|
||
|
|
"Resource": "*"
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"Sid": "ElbAndRdsDescribeReadOnly",
|
||
|
|
"Effect": "Allow",
|
||
|
|
"Action": [
|
||
|
|
"elasticloadbalancing:DescribeLoadBalancers",
|
||
|
|
"elasticloadbalancing:DescribeTargetGroups",
|
||
|
|
"elasticloadbalancing:DescribeTargetHealth",
|
||
|
|
"rds:DescribeDBInstances",
|
||
|
|
"rds:DescribeDBClusters"
|
||
|
|
],
|
||
|
|
"Resource": "*"
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"Sid": "LambdaAndStorageInventoryReadOnly",
|
||
|
|
"Effect": "Allow",
|
||
|
|
"Action": [
|
||
|
|
"lambda:ListFunctions",
|
||
|
|
"lambda:GetFunctionConfiguration",
|
||
|
|
"s3:ListAllMyBuckets",
|
||
|
|
"s3:GetBucketLocation"
|
||
|
|
],
|
||
|
|
"Resource": "*"
|
||
|
|
}
|
||
|
|
]
|
||
|
|
}
|