↳ GitHub sourceAnalytics ruleMedium
ContraForce - Privileged access change
Description
'Identifies administrative access changes made in the ContraForce workspace: workspace role
assignments, changes and removals, organization role changes, member additions and removals,
and service provider (MSP) access grants or revocations. Review each change to confirm it was
expected and authorized. The affected member and the old and new roles are carried in the
event metadata.'
- Rule type
- Scheduled
- Version
- 1.0.0
- Declared status
- Available
- Query frequency
- 5m
- Query period
- 1d
- Trigger
- gt 0
Declared MITRE coverage
Declared sources
Metadata from the source file. No dependencies inferred from KQL.
Connectors
Data types
KQL query
Original query, unchanged.
ContraForceEvents_CL
| where ingestion_time() > ago(5m)
| where ActivityType in ("WorkspaceRoleAssigned", "WorkspaceRoleChanged", "WorkspaceRoleRemoved", "OrganizationalRoleChanged", "MemberAdded", "MemberRemoved", "ServiceProviderAdded", "ServiceProviderRemoved")
| extend Meta = parse_json(Metadata)
| extend MemberEmail = tostring(Meta.MemberEmail),
MemberType = tostring(Meta.MemberType),
FromRole = tostring(Meta.FromRole),
ToRole = tostring(Meta.ToRole),
Members = tostring(Meta.Members)
| project TimeGenerated, EventId, CfWorkspaceId, ActivityType, ActivityAction,
ActorName, ActorEmail, TargetResourceType, TargetResourceId, TargetResourceName,
MemberEmail, MemberType, FromRole, ToRole, Members
Related content
Links established from declared identifiers and solution manifests.
Source provenance
GitHubDisplayed values come from files in Azure/Azure-Sentinel. They describe the published template, not your workspace configuration.
- Commit
9800e51↗- Source identifier
3f4bd2a1-7c58-4a83-9c2e-6d1f0a8b5c31
GSTEP / CATALOG TRACKING
Added to catalog : 16 Sept 2026 · 05:49 UTC
Last change observed : 16 Sept 2026 · 05:49 UTC