Fix SMS module alertstore.high() call passing slug as message

The first argument was self.get_slug() (module slug) instead of a
human-readable message. The module is already auto-detected via
AlertStore._get_calling_module(). Also removed redundant log_latest().
This commit is contained in:
Donncha Ó Cearbhaill
2026-04-10 20:40:45 +02:00
parent ddb8993139
commit 5a919ea42a
+1 -3
View File
@@ -77,12 +77,10 @@ class SMS(IOSExtraction):
"text", ""
).startswith(alert_new):
self.alertstore.high(
self.get_slug(),
f"Apple warning about state-sponsored attack received on the {message['isodate']}",
f"Apple warning about state-sponsored attack received on {message['isodate']}",
message["isodate"],
message,
)
self.alertstore.log_latest()
if not self.indicators:
return