Panther high experimental python
Box Shield Detected Anomalous Download Activity
A user's download activity has altered significantly.
Detection Logic
from panther_base_helpers import deep_get
from panther_box_helpers import box_parse_additional_details
def rule(event):
if event.get("event_type") != "SHIELD_ALERT":
return False
alert_details = box_parse_additional_details(event).get("shield_alert", {})
if alert_details.get("rule_category", "") == "Anomalous Download":
if alert_details.get("risk_score", 0) > 50:
return True
return False
def title(event):
details = box_parse_additional_details(event)
description = deep_get(details, "shield_alert", "alert_summary", "description")
if description:
return description
return (
f"Anomalous download activity triggered by user "
f"[{event.deep_get('created_by', 'name', default='<UNKNOWN_USER>')}]."
) Field Validations
Loading…
Comments (0)
Loading comments...