PyPanther Detections (Beta)
Configure detections fully in Python
Overview
Key features
# Import the Panther-managed BoxNewLogin rule from pypanther.rules.box import BoxNewLogin
from pypanther import Severity # Set multiple attribute overrides BoxNewLogin.override( default_severity=Severity.MEDIUM, tags=['Initial Access'], default_runbook="Ask user in Slack if this login was actually from them.", ) # Add a simple filter to exclude all logins from Alice BoxNewLogin.extend( exclude_filters=[lambda e: e.deep_get('created_by', 'name') == 'Alice'], )from pypanther import register # Register a single rule to test and upload register(BoxNewLogin)
PyPanther Detections vs. v1 detections
v1 Box New Login rule
PyPanther Box New Login rule
Limitations of PyPanther Detections
Getting started using PyPanther Detections
Contribute to pypanther
Last updated
Was this helpful?

