-
-
Save tyrannasaurusbanks/d8f05da40d5d64ab59e166badaecce7d to your computer and use it in GitHub Desktop.
Grab cloudtrail events and try and make them a bit more human readable
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
aws --region us-west-2 cloudtrail lookup-events --start-time="2016-05-06, 9:49 AM" --end-time="2016-05-06, 9:52 AM" | jq '[.Events[] | {EventTime: .EventTime, EventName: .EventName, ResourceType: [.Resources[].ResourceType], EventRequestParams: .CloudTrailEvent|fromjson.requestParameters}]' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment