Panther medium experimental python
Anthropic Service Key Revoked
Detects when a service key is revoked. Unauthorized revocation could indicate an attacker disrupting integrations or covering tracks after using a compromised key. The service_key_id and service_name fields identify which key was revoked.
Detection Logic
from panther_anthropic_helpers import anthropic_actor_id, anthropic_alert_context
def rule(event):
return event.get("type") == "service_key_revoked"
def title(event):
actor_email = anthropic_actor_id(event)
return f"Anthropic: Service key revoked by [{actor_email}]"
def dedup(event):
return anthropic_actor_id(event)
def alert_context(event):
return anthropic_alert_context(event) Field Validations
Loading…
Comments (0)
Loading comments...