mirror of
https://github.com/mvt-project/mvt.git
synced 2026-06-06 15:03:54 +02:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user