We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi There @brianwarehime Must say that this is a great tool!
I have come across a problem on line 18 in logs where it says :
'accessKeyDetails': KeyError Traceback (most recent call last): File "/var/task/main.py", line 18, in lambda_handler event_principal = (event['detail']['resource']['accessKeyDetails']['principalId']) KeyError: 'accessKeyDetails'
And the GuardDuty event isn't posted on slack channel and the monitoring on the lambda trows an error.
The notification i have got in GuardDuty is : UnauthorizedAccess:EC2
If you can shed some light, that would be great. Thanks.
The text was updated successfully, but these errors were encountered:
When you comment out those lines - Lambda will execute okay.
My guess is that in the json output that GD produces there is no field with event_principal.
Sorry, something went wrong.
Hey, I totally forgot to update that before zipping it up. Just pushed a fix for this. Thanks!
No branches or pull requests
Hi There @brianwarehime
Must say that this is a great tool!
I have come across a problem on line 18 in logs where it says :
'accessKeyDetails': KeyError
Traceback (most recent call last):
File "/var/task/main.py", line 18, in lambda_handler
event_principal = (event['detail']['resource']['accessKeyDetails']['principalId'])
KeyError: 'accessKeyDetails'
And the GuardDuty event isn't posted on slack channel and the monitoring on the lambda trows an error.
The notification i have got in GuardDuty is :
UnauthorizedAccess:EC2
If you can shed some light, that would be great.
Thanks.
The text was updated successfully, but these errors were encountered: