Databricks Terms of Service Changes
Description
Detects Terms of Service acceptance or distribution events for compliance tracking. These events should be monitored for audit and governance purposes.
Query · python
from panther_databricks_helpers import databricks_alert_context
def rule(event):
return event.get("actionName") in ["acceptTos", "sendTos"]
def title(event):
action = event.get("actionName", "Unknown Action")
actor = event.deep_get("userIdentity", "email", default="Unknown Actor")
if action == "acceptTos":
return f"Terms of Service accepted by {actor}"
return f"Terms of Service distributed by {actor}"
def alert_context(event):
return databricks_alert_context(event)
Analyst notes
- Query audit logs for all TOS-related events in the past 90 days to establish baseline
- Check if this TOS acceptance aligns with expected onboarding or policy update timelines
- Find all TOS events for this user to verify compliance history