Skip to content

Commit a5d0efa

Browse files
committed
fix: Use fresh UUID for email alerts to prevent UAM silent drops and update classification ID
- Changed email alert resource UID from shared GUID to fresh UUID (uuid.uuid4()) to prevent S1 UAM from silently dropping site-scoped alerts with static resource UIDs - Updated proofpoint_email_alert.json s1_classification_id from 1 to 28 - Removed email_asset_uid caching logic that was causing alert deduplication issues
1 parent 6e916f5 commit a5d0efa

2 files changed

Lines changed: 4 additions & 8 deletions

File tree

Backend/api/app/alerts/templates/proofpoint_email_alert.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,5 +36,5 @@
3636
"attack_surface_ids": [1],
3737
"severity_id": 4,
3838
"state_id": 1,
39-
"s1_classification_id": 1
39+
"s1_classification_id": 28
4040
}

Backend/scenarios/apollo_ransomware_scenario.py

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -341,16 +341,12 @@ def send_phase_alert(
341341
alert["metadata"]["logged_time"] = time_ms
342342
alert["metadata"]["modified_time"] = time_ms
343343

344-
# Set resource - use XDR Asset ID for endpoint alerts, shared GUID for email/user alerts
344+
# Set resource - use XDR Asset ID for endpoint alerts, fresh UUID for email/user alerts
345345
target_machine = mapping.get("target_machine", "bridge")
346346
if target_machine == "email":
347-
# Proofpoint/M365 alerts link to the user email with a consistent GUID
348-
email_asset_uid = uam_config.get('email_asset_uid')
349-
if not email_asset_uid:
350-
email_asset_uid = str(uuid.uuid5(uuid.NAMESPACE_DNS, VICTIM_PROFILE["email"]))
351-
uam_config['email_asset_uid'] = email_asset_uid
347+
# Fresh UUID each time — S1 UAM silently drops site-scoped alerts with static resource UIDs
352348
alert["resources"] = [{
353-
"uid": email_asset_uid,
349+
"uid": str(uuid.uuid4()),
354350
"name": VICTIM_PROFILE["email"]
355351
}]
356352
elif target_machine == "enterprise":

0 commit comments

Comments
 (0)