Panther medium experimental python
Databricks Delta Sharing Recipient Without IP ACLs
Detects creation of Delta Sharing recipients without IP access list restrictions, which could allow unauthorized data access from any location.
Detection Logic
from panther_databricks_helpers import databricks_alert_context
def rule(event):
if event.get("actionName") != "createRecipient":
return False
# Check if IP access list is configured
# Alert if IP ACL is missing, empty string, or empty list (all falsy)
ip_access_list = event.deep_get("requestParams", "ipAccessList")
return not ip_access_list
def title(event):
actor = event.deep_get("userIdentity", "email", default="Unknown Actor")
recipient = event.deep_get("requestParams", "name", default="Unknown Recipient")
return f"Delta Sharing recipient created without IP ACLs: {recipient} by {actor}"
def alert_context(event):
return databricks_alert_context(
event,
additional_fields={"recipient_name": event.deep_get("requestParams", "name")},
) Field Validations
Loading…
Comments (0)
Loading comments...