aws-samples / aws-samples/devsecops-cicd

Lambda ImportVulToSecurityHub

Open
#5 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
HTML
Stars
92
Forks
142
PR merge metrics
No merged PRs in 30d

Description

Hi , any help with this error .
![LAMBDA](https://user-images.githubusercontent.com/93729257/149628243-f6a3e5e6-a9df-4b3f-a247-671bc0bf99a2.png)
[import_findings_security_hub.zip](https://github.com/aws-samples/devsecops-cicd/files/7875296/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':

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.