forked from glassechidna/trackiam
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathAWSCodeBuildAdminAccess.json
148 lines (148 loc) · 4.71 KB
/
AWSCodeBuildAdminAccess.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
{
"Arn": "arn:aws:iam::aws:policy/AWSCodeBuildAdminAccess",
"CreateDate": "2016-12-01T19:04:44Z",
"DefaultVersionId": "v12",
"IsAttachable": true,
"Path": "/",
"PolicyId": "ANPAJQJGIOIE3CD2TQXDS",
"PolicyName": "AWSCodeBuildAdminAccess",
"PolicyVersion": {
"CreateDate": "2020-09-14T16:03:39Z",
"Document": {
"Statement": [
{
"Action": [
"codestar-notifications:CreateNotificationRule",
"codestar-notifications:DeleteNotificationRule",
"codestar-notifications:DescribeNotificationRule",
"codestar-notifications:Subscribe",
"codestar-notifications:Unsubscribe",
"codestar-notifications:UpdateNotificationRule"
],
"Condition": {
"StringLike": {
"codestar-notifications:NotificationsForResource": "arn:aws:codebuild:*"
}
},
"Effect": "Allow",
"Resource": "*",
"Sid": "CodeStarNotificationsReadWriteAccess"
},
{
"Action": [
"cloudwatch:GetMetricStatistics",
"codebuild:*",
"codecommit:GetBranch",
"codecommit:GetCommit",
"codecommit:GetRepository",
"codecommit:ListBranches",
"codecommit:ListRepositories",
"ec2:DescribeSecurityGroups",
"ec2:DescribeSubnets",
"ec2:DescribeVpcs",
"ecr:DescribeRepositories",
"ecr:ListImages",
"elasticfilesystem:DescribeFileSystems",
"events:DeleteRule",
"events:DescribeRule",
"events:DisableRule",
"events:EnableRule",
"events:ListRuleNamesByTarget",
"events:ListTargetsByRule",
"events:PutRule",
"events:PutTargets",
"events:RemoveTargets",
"logs:GetLogEvents",
"s3:GetBucketLocation",
"s3:ListAllMyBuckets"
],
"Effect": "Allow",
"Resource": "*"
},
{
"Action": [
"logs:DeleteLogGroup"
],
"Effect": "Allow",
"Resource": "arn:aws:logs:*:*:log-group:/aws/codebuild/*:log-stream:*"
},
{
"Action": [
"ssm:PutParameter"
],
"Effect": "Allow",
"Resource": "arn:aws:ssm:*:*:parameter/CodeBuild/*"
},
{
"Action": [
"ssm:StartSession"
],
"Effect": "Allow",
"Resource": "arn:aws:ecs:*:*:task/*/*"
},
{
"Action": [
"chatbot:DescribeSlackChannelConfigurations"
],
"Effect": "Allow",
"Resource": "*",
"Sid": "CodeStarNotificationsChatbotAccess"
},
{
"Action": [
"codestar-connections:CreateConnection",
"codestar-connections:DeleteConnection",
"codestar-connections:GetConnection",
"codestar-connections:GetIndividualAccessToken",
"codestar-connections:GetInstallationUrl",
"codestar-connections:ListConnections",
"codestar-connections:ListInstallationTargets",
"codestar-connections:ListTagsForResource",
"codestar-connections:PassConnection",
"codestar-connections:StartOAuthHandshake",
"codestar-connections:TagResource",
"codestar-connections:UntagResource",
"codestar-connections:UpdateConnectionInstallation",
"codestar-connections:UseConnection"
],
"Effect": "Allow",
"Resource": "arn:aws:codestar-connections:*:*:connection/*",
"Sid": "CodeStarConnectionsReadWriteAccess"
},
{
"Action": [
"codestar-notifications:ListEventTypes",
"codestar-notifications:ListNotificationRules",
"codestar-notifications:ListTagsforResource",
"codestar-notifications:ListTargets"
],
"Effect": "Allow",
"Resource": "*",
"Sid": "CodeStarNotificationsListAccess"
},
{
"Action": [
"sns:CreateTopic",
"sns:SetTopicAttributes"
],
"Effect": "Allow",
"Resource": "arn:aws:sns:*:*:codestar-notifications*",
"Sid": "CodeStarNotificationsSNSTopicCreateAccess"
},
{
"Action": [
"sns:GetTopicAttributes",
"sns:ListTopics"
],
"Effect": "Allow",
"Resource": "*",
"Sid": "SNSTopicListAccess"
}
],
"Version": "2012-10-17"
},
"IsDefaultVersion": true,
"VersionId": "v12"
},
"UpdateDate": "2020-09-14T16:03:39Z"
}