forked from SWO-GS/auto-tag
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsample_data.js
38 lines (38 loc) · 1.11 KB
/
sample_data.js
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
module.exports = {
Records: [
{
eventVersion: '2.0',
eventSource: 'aws:s3',
awsRegion: 'ap-northeast-1',
eventTime: '2015-09-11T03:20:59.155Z',
eventName: 'ObjectCreated:Put',
userIdentity: {
principalId: '[PRINCIPAL_ID]'
},
requestParameters: {
sourceIPAddress: '[IP_ADDRESS]'
},
responseElements: {
'x-amz-request-id': '0E14F7F4EA235F69',
'x-amz-id-2': 'WZNoByyvNgcOhP8CmfbbummtJNxICFpNCfFByhPIRVvvIrO9SvakxwS9NDkGFZnc9e2NfqaH37I='
},
s3: {
s3SchemaVersion: '1.0',
configurationId: 'YjQ3OWI0OWItYmY4Zi00MjVmLTg3MTItNjk1NTU0OGNmNDkz',
bucket: {
name: '[AUTOTAG_BUCKET_NAME]',
ownerIdentity: {
principalId: '[PRINCIPAL_ID]'
},
arn: 'arn:aws:s3:::[AUTOTAG_BUCKET_NAME]'
},
object: {
key: 'AWSLogs/[YOUR_ACCOUNT_ID]/CloudTrail/ap-northeast-1/2015/09/18/[FILE_NAME].json.gz',
size: 2858,
eTag: '1dca20ce134f8165f2ec7508cda93b39',
sequencer: '0055F2489B160B9FA4'
}
}
}
]
};