forked from SummitRoute/aws_managed_policies
-
-
Notifications
You must be signed in to change notification settings - Fork 32
/
Copy pathAWSProtonCodeBuildProvisioningServiceRolePolicy.json
60 lines (60 loc) · 2.01 KB
/
AWSProtonCodeBuildProvisioningServiceRolePolicy.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
[
{
"findingDetails": "Using the iam:PassRole action with wildcards (*) in the resource can be overly permissive because it allows iam:PassRole permissions on multiple resources. We recommend that you specify resource ARNs or add the iam:PassedToService condition key to your statement.",
"findingType": "SECURITY_WARNING",
"issueCode": "PASS_ROLE_WITH_STAR_IN_RESOURCE",
"learnMoreLink": "https://docs.aws.amazon.com/IAM/latest/UserGuide/access-analyzer-reference-policy-checks.html#access-analyzer-reference-policy-checks-security-warning-pass-role-with-star-in-resource",
"locations": [
{
"path": [
{
"value": "Statement"
},
{
"index": 2
},
{
"value": "Action"
}
],
"span": {
"end": {
"column": 735,
"line": 1,
"offset": 735
},
"start": {
"column": 721,
"line": 1,
"offset": 721
}
}
},
{
"path": [
{
"value": "Statement"
},
{
"index": 2
},
{
"value": "Resource"
}
],
"span": {
"end": {
"column": 752,
"line": 1,
"offset": 752
},
"start": {
"column": 749,
"line": 1,
"offset": 749
}
}
}
]
}
]