generated from amazon-archives/__template_MIT-0
-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Description
It would appear the event payload has changed. for Inspector-to-S3ES-crossAcnt.py
sns_message = json.loads(event['Records'][0]['body'])
inspector_message = json.loads(sns_message['Message'])
if inspector_message["event"] == 'FINDING_REPORTED':
i was able to get it working by changing the following.
sns_message = json.dumps(event)
inspector_message = json.loads(sns_message)
if inspector_message['event'] == 'FINDING_REPORTED':
Metadata
Metadata
Assignees
Labels
No labels