Panther medium experimental python

Duo User Action Reported as Fraudulent

Alert when a user reports a Duo action as fraudulent.

View Source

Detection Logic

def rule(event):
    return event.get("result") == "fraud"


def title(event):
    user = event.deep_get("user", "name", default="Unknown")
    return f"A Duo action was marked as fraudulent by [{user}]"


def alert_context(event):
    return {
        "factor": event.get("factor"),
        "reason": event.get("reason"),
        "user": event.deep_get("user", "name", default=""),
        "os": event.deep_get("access_device", "os", default=""),
        "ip_access": event.deep_get("access_device", "ip", default=""),
        "ip_auth": event.deep_get("auth_device", "ip", default=""),
        "application": event.deep_get("application", "name", default=""),
    }

Field Validations

Loading…

Comments (0)

Loading comments...