Skip to content

Instantly share code, notes, and snippets.

@sebsto
Created January 20, 2019 13:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sebsto/f19ecdab1f978e6f6e92ede344eb4cae to your computer and use it in GitHub Desktop.
Save sebsto/f19ecdab1f978e6f6e92ede344eb4cae to your computer and use it in GitHub Desktop.
CloudTrail Event JSON
{
"Records": [{
"eventVersion": "2.0",
"eventSource": "aws:s3",
"awsRegion": "us-west-2",
"eventTime": "2014-11-27T21:08:30.487Z",
"eventName": "ObjectCreated:Put",
"userIdentity": {
"principalId": "AWS:ARxxxxxxxxxxSW:i-4fxxxxa5"
},
"requestParameters": {
"sourceIPAddress": "54.211.178.99"
},
"responseElements": {
"x-amz-request-id": "F104F805121C9B79",
"x-amz-id-2": "Lf8hbNPkrhLAT4sHT7iBYFnIdCJTmxcr1ClX93awYfF530O9AijCgja19rk3MyMF"
},
"s3": {
"s3SchemaVersion": "1.0",
"configurationId": "quickCreateConfig",
"bucket": {
"name": "aws-cloudtrail-xxx",
"ownerIdentity": {
"principalId": "AHxxxxxxxxQT"
},
"arn": "arn:aws:s3:::aws-cloudtrail-xxx"
},
"object": {
nbsp;
"key": "AWSLogs/577xxxxxxxx68/CloudTrail/us-west-2/2014/11/27/577xxxxxxxx68_CloudTrail_us-west-2_20141127T2110Z_JWcmX2IqHMUoBRIM.json.gz",
"size": 2331,
"eTag": "63d801bb561037f59f2cb4d1c03c2392"
}
}
}]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment