diff --git a/source/layer/sechub_findings.py b/source/layer/sechub_findings.py index 3ebfe578..d796de07 100644 --- a/source/layer/sechub_findings.py +++ b/source/layer/sechub_findings.py @@ -310,12 +310,13 @@ def notify(self): sns_notify_json["Ticket_URL"] = self.ticket_url if self.send_to_sns: + topic = "SO0111-SHARR_Topic" sent_id = publish_to_sns( - "SO0111-SHARR_Topic", + topic, json.dumps(sns_notify_json, indent=2, default=str), self.__region, ) - print(f"Notification message ID {sent_id} sent.") + print(f'Notification message ID {sent_id} sent to {topic}') self.applogger.add_message(self.severity + ": " + self.message) if self.logdata: for line in self.logdata: