forked from glassechidna/trackiam
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathAWSCodeCommitReadOnly.json
123 lines (123 loc) · 3.51 KB
/
AWSCodeCommitReadOnly.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
{
"Arn": "arn:aws:iam::aws:policy/AWSCodeCommitReadOnly",
"CreateDate": "2015-07-09T17:05:06Z",
"DefaultVersionId": "v10",
"IsAttachable": true,
"Path": "/",
"PolicyId": "ANPAJACNSXR7Z2VLJW3D6",
"PolicyName": "AWSCodeCommitReadOnly",
"PolicyVersion": {
"CreateDate": "2020-07-30T23:08:05Z",
"Document": {
"Statement": [
{
"Action": [
"codestar-notifications:DescribeNotificationRule"
],
"Condition": {
"StringLike": {
"codestar-notifications:NotificationsForResource": "arn:aws:codecommit:*"
}
},
"Effect": "Allow",
"Resource": "*",
"Sid": "CodeStarNotificationsReadOnlyAccess"
},
{
"Action": [
"codecommit:BatchDescribe*",
"codecommit:BatchGet*",
"codecommit:Describe*",
"codecommit:EvaluatePullRequestApprovalRules",
"codecommit:Get*",
"codecommit:GitPull",
"codecommit:List*"
],
"Effect": "Allow",
"Resource": "*"
},
{
"Action": [
"codeguru-reviewer:DescribeCodeReview",
"codeguru-reviewer:DescribeRepositoryAssociation",
"codeguru-reviewer:ListCodeReviews",
"codeguru-reviewer:ListRepositoryAssociations"
],
"Effect": "Allow",
"Resource": "*",
"Sid": "AmazonCodeGuruReviewerReadOnlyAccess"
},
{
"Action": [
"codestar-connections:GetConnection",
"codestar-connections:ListConnections"
],
"Effect": "Allow",
"Resource": "arn:aws:codestar-connections:*:*:connection/*",
"Sid": "CodeStarConnectionsReadOnlyAccess"
},
{
"Action": [
"codestar-notifications:ListEventTypes",
"codestar-notifications:ListNotificationRules",
"codestar-notifications:ListTargets"
],
"Effect": "Allow",
"Resource": "*",
"Sid": "CodeStarNotificationsListAccess"
},
{
"Action": [
"events:DescribeRule",
"events:ListTargetsByRule"
],
"Effect": "Allow",
"Resource": "arn:aws:events:*:*:rule/codecommit*",
"Sid": "CloudWatchEventsCodeCommitRulesReadOnlyAccess"
},
{
"Action": [
"iam:GetSSHPublicKey",
"iam:ListAccessKeys",
"iam:ListAccessKeys",
"iam:ListSSHPublicKeys",
"iam:ListServiceSpecificCredentials"
],
"Effect": "Allow",
"Resource": "arn:aws:iam::*:user/${aws:username}",
"Sid": "IAMReadOnlyConsoleAccess"
},
{
"Action": [
"iam:ListUsers"
],
"Effect": "Allow",
"Resource": "*",
"Sid": "IAMReadOnlyListAccess"
},
{
"Action": [
"lambda:ListFunctions"
],
"Effect": "Allow",
"Resource": "*",
"Sid": "LambdaReadOnlyListAccess"
},
{
"Action": [
"sns:GetTopicAttributes",
"sns:ListSubscriptionsByTopic",
"sns:ListTopics"
],
"Effect": "Allow",
"Resource": "*",
"Sid": "SNSSubscriptionAccess"
}
],
"Version": "2012-10-17"
},
"IsDefaultVersion": true,
"VersionId": "v10"
},
"UpdateDate": "2020-07-30T23:08:05Z"
}