Elastic high stable kql
Anthropic SSO Disabled or Connection Removed
SSO routes Anthropic authentication through the corporate identity provider. Disabling SSO, or deactivating or deleting an SSO connection, moves users onto alternate sign-in paths where IdP-enforced MFA, conditional access, and session policies no longer apply. That opens the door to password or magic-link accounts the attacker controls.
Detection Logic
from logs-anthropic.audit-* metadata _id, _version, _index
| where
data_stream.dataset == "anthropic.audit" and
mv_contains(event.category, "iam") and
(
event.action in ("org_sso_connection_deactivated", "org_sso_connection_deleted") or
(event.action == "org_sso_toggled" and anthropic.audit.enabled == false)
)
| keep _id, _version, _index, @timestamp, event.*, organization.*, user.*, source.*, user_agent.*, anthropic.audit.*, data_stream.* False Positives
- ⚠ Identity provider directory sync and SCIM provisioning can deactivate or delete SSO connections during IdP migrations, directory attribute changes, or connector maintenance. If `anthropic.audit.actor.type` is `scim_directory_sync_actor`, correlate with WorkOS or Okta change windows before escalating.
- ⚠ Administrators deactivate or delete SSO connections during identity provider migrations, certificate rotation, or maintenance. Validate the actor, `anthropic.audit.connection_id`, and whether SSO was restored after the change.
Field Validations
Loading…
Comments (0)
Loading comments...