Skip to content
This repository has been archived by the owner on May 13, 2024. It is now read-only.

Getting Error #1

Open
vinaysingh16 opened this issue Apr 23, 2020 · 1 comment
Open

Getting Error #1

vinaysingh16 opened this issue Apr 23, 2020 · 1 comment

Comments

@vinaysingh16
Copy link

I'm getting error in the cloudwatch logs when executing the lambda funtion.

[ERROR] KeyError: 'Details'
Traceback (most recent call last):
File "/var/task/index.py", line 6, in lambda_handler
noncompliantTrail = str(event['detail']['findings'][0]['Resources'][0]['Details']['Other']['name'])

@mourackb
Copy link

I`m facing the same issue

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants