aws-samples / devsecops-cicd

MIT No Attribution
87 stars 137 forks source link

Lambda ImportVulToSecurityHub #5

Open jsebastiancortes opened 2 years ago

jsebastiancortes commented 2 years ago

Hi , any help with this error .
LAMBDA import_findings_security_hub.zip

[ERROR] KeyError: 'messageType' Traceback (most recent call last):   File "/var/task/import_findings_security_hub.py", line 141, in lambda_handler     return process_message(event)   File "/var/task/import_findings_security_hub.py", line 27, in process_message     if event['messageType'] == 'CodeScanReport':

MoisesTapia commented 2 years ago

@jsebastiancortes you can see my last open pull request with various updates, it is possible the answer to your problem you can be found it