Identity security checks
The security_identity module has 5 checks. Identity and access posture — Entra ID (Microsoft Graph, read-only application permissions), Entra Domain Services / AD (WinRM, read-only), and the platform's own accounts.
This page is generated from the product's check catalog when the documentation is built, so the rules, intervals and default severities always match the version you are reading. Thresholds are defaults; entities and resources can override them.
| Check | Every | Default severity | Rule |
|---|---|---|---|
security_identity.privileged_without_mfaPrivileged directory roles without MFA registration | 3600s | critical | warning >= 1 count / critical >= 1 count |
security_identity.risky_signinsRisky sign-ins (Identity Protection) | 300s | warning | warning >= 1 count / critical >= 1 count |
security_identity.privileged_group_changesPrivileged group membership changes (AD / AADDS) | 300s | critical | any change |
security_identity.stale_accountsStale and never-expiring accounts | 86400s | warning | warning >= 1 count |
security_identity.excubius_admin_loginsPlatform administrative logins | 60s | warning | warning >= 1 count |
Checks
security_identity.privileged_without_mfa
Privileged directory roles without MFA registration
- Measures
privileged_without_mfa(count) · every3600s·entra- Rule
warning >= 1 count / critical >= 1 count· Default severity: critical- Action
- Ask each listed user to register for MFA (https://aka.ms/mysecurityinfo) before their next sign-in, and require it with a Conditional Access policy for directory roles. If an assignment is not needed any more, remove it, or make it PIM-eligible instead of active.
- Baseline
- CIS Microsoft 365 / Entra: privileged roles must be MFA-registered; prefer PIM eligible assignments. · source
security_identity.risky_signins
Risky sign-ins (Identity Protection)
- Measures
risk_detections(count) · every300s·entra- Rule
warning >= 1 count / critical >= 1 count· Default severity: warning- Action
- Review the sign-ins of the user in Entra ID › Protection › Risky users. If the activity was not the user's, reset the password, revoke the sessions and confirm the user as compromised; if it was, confirm it as safe (dismiss) so the detection is not counted again.
- Baseline
- High risk → critical; medium → warning; low → info. A detection that is remediated or dismissed in Entra resolves the finding. · source
security_identity.privileged_group_changes
Privileged group membership changes (AD / AADDS)
- Measures
members· every300s·winrm- Rule
any change· Default severity: critical- Action
- Confirm the change with whoever made it (Security event 4728/4732/4756 on the domain controller names the account) and that an approved request exists. If not, remove the member, reset its password and review what it did. Resolve the event once reviewed.
- Baseline
- Snapshot diff every 5 minutes; any addition or removal is an event (the first run only records the baseline). · source
security_identity.stale_accounts
Stale and never-expiring accounts
- Measures
stale_accounts(count) · every86400s·winrm- Rule
warning >= 1 count· Default severity: warning- Action
- Send the list to the account owners' managers. Disable accounts nobody claims (Disable-ADAccount) and delete them after your retention period; move service accounts to group managed service accounts (gMSA) or give them a password rotation, then clear PasswordNeverExpires.
- Baseline
- 90 days without logon, or PasswordNeverExpires on a human account. · source
security_identity.excubius_admin_logins
Platform administrative logins
- Measures
admin_logins(count) · every60s·manual- Rule
warning >= 1 count· Default severity: warning- Action
- Confirm with the person named that the sign-in was theirs and planned. An unexpected super administrator sign-in means the password must be rotated (installer --reconfigure) and the audit log reviewed.
- Baseline
- Any super_admin login raises an event and a Slack message.
Related content
- Identity security: prerequisites and how to add resources
- Thresholds and baselines: how a default threshold is overridden