Skip to content

Instantly share code, notes, and snippets.

@maishsk
Created March 4, 2019 15:05
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 maishsk/f79d27571a4b6500f184eec7e3f9c418 to your computer and use it in GitHub Desktop.
Save maishsk/f79d27571a4b6500f184eec7e3f9c418 to your computer and use it in GitHub Desktop.
access_attempt
{
"eventVersion": "1.05",
"userIdentity": {
"type": "IAMUser",
"principalId": "xxxxxxxxxxxxx7NSXUYG",
"arn": "arn:aws:iam::xxxxxxxxxxxx:user/some_username",
"accountId": "xxxxxxxxxxxx",
"accessKeyId": "AKIAJTMN5LKN3KSNDOPA",
"userName": "some_username"
},
"eventTime": "2019-03-04T08:33:06Z",
"eventSource": "iam.amazonaws.com",
"eventName": "ListAccessKeys",
"awsRegion": "us-east-1",
"sourceIPAddress": "85.216.144.55",
"userAgent": "Boto3/1.6.3 Python/2.7.14 Windows/2012ServerR2 Botocore/1.9.3",
"errorCode": "AccessDenied",
"errorMessage": "User: arn:aws:iam::xxxxxxxxxxxx:user/some_username is not authorized to perform: iam:ListAccessKeys on resource: user nullsome_username",
"requestParameters": null,
"responseElements": null,
"requestID": "xxxxxxxxxxxx-11e9-a59b-6d14ad52ecd4",
"eventID": "xxxxxxxxxxxx-434b-bc5d-0ad8feadfdf3",
"eventType": "AwsApiCall",
"recipientAccountId": "xxxxxxxxxxxx"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment