-
Notifications
You must be signed in to change notification settings - Fork 17
/
logging_bucket_policy.json
66 lines (66 loc) · 1.89 KB
/
logging_bucket_policy.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
{
"Statement": [
{
"Action": "s3:GetBucketAcl",
"Effect": "Allow",
"Principal": {
"AWS": [
"arn:aws:iam::027434742980:root",
"arn:aws:iam::035351147821:root",
"arn:aws:iam::903692715234:root",
"arn:aws:iam::127311923021:root",
"arn:aws:iam::216624486486:root",
"arn:aws:iam::086441151436:root",
"arn:aws:iam::783225319266:root",
"arn:aws:iam::156460612806:root",
"arn:aws:iam::797873946194:root",
"arn:aws:iam::859597730677:root",
"arn:aws:iam::814480443879:root",
"arn:aws:iam::114774131450:root",
"arn:aws:iam::582318560864:root",
"arn:aws:iam::507241528517:root",
"arn:aws:iam::388731089494:root",
"arn:aws:iam::054676820928:root",
"arn:aws:iam::113285607260:root",
"arn:aws:iam::284668455005:root"
]
},
"Resource": "arn:aws:s3:::%%S3_BUCKET%%",
"Sid": "AWSCloudTrailAclCheck20131101"
},
{
"Action": "s3:PutObject",
"Condition": {
"StringEquals": {
"s3:x-amz-acl": "bucket-owner-full-control"
}
},
"Effect": "Allow",
"Principal": {
"AWS": [
"arn:aws:iam::027434742980:root",
"arn:aws:iam::035351147821:root",
"arn:aws:iam::903692715234:root",
"arn:aws:iam::127311923021:root",
"arn:aws:iam::216624486486:root",
"arn:aws:iam::086441151436:root",
"arn:aws:iam::783225319266:root",
"arn:aws:iam::156460612806:root",
"arn:aws:iam::797873946194:root",
"arn:aws:iam::859597730677:root",
"arn:aws:iam::814480443879:root",
"arn:aws:iam::114774131450:root",
"arn:aws:iam::582318560864:root",
"arn:aws:iam::507241528517:root",
"arn:aws:iam::388731089494:root",
"arn:aws:iam::054676820928:root",
"arn:aws:iam::113285607260:root",
"arn:aws:iam::284668455005:root"
]
},
"Resource": "arn:aws:s3:::%%S3_BUCKET%%/*",
"Sid": "AWSCloudTrailWrite20131101"
}
],
"Version": "2012-10-17"
}