Skip to main content

Policies

Policies decide what happens when someone signs in to your domain. A policy can allow the sign-in, require MFA, or deny it.

Open Identity from the product switcher, then select Policies in the sidebar.

The policies list​

The list has two buttons:

  • Discover from AD — suggests policies from the groups and OUs in your directory.
  • New policy — opens the policy editor.
ColumnDescription
Policy nameThe policy's name.
ActionAllow, MFA Required, or Deny.
ScopeWho the policy covers.
AD groups / usersThe groups, users, and OUs in scope.
AuthThe authentication type (Active Directory).
EnforcementThe domain's mode: Monitor or Enforce. This comes from the identity source, not the policy.
StatusActive, Paused, or Pending.
UpdatedLast modified time.

Row menu​

ItemWhat it does
Update policyOpens the policy in the editor.
ApproveApproves the policy. Shown only if it is not approved yet.
Pause / Re-activateStops or resumes the policy.
RevokeRevokes the policy.
Delete policyRemoves the policy.
note

Older risk-based policies show a notice: "Created with risk-based evaluation, which the evaluator doesn't run. It evaluates as a static policy."

Create a policy​

Click New policy. The editor has two steps: 1 · Define policy and 2 · Review & publish.

Step 1 — Define policy​

Basics​

FieldDescription
Policy nameRequired.
AD domainThe connected domain the policy applies to.
Auth typeActive Directory. RADIUS is coming soon.
Policy typeStatic. Risk-Based is coming soon.

Action​

ActionResult
AllowThe sign-in goes through.
MFA RequiredThe user gets a push. The sign-in waits for the answer.
DenyThe sign-in is blocked.

Scope​

Pick who the policy covers:

  • AD groups
  • AD users
  • Organizational units
  • Apply to every user in this domain

Context​

Context narrows when the policy applies. Leave a field empty or on "All" to match everything.

FieldOptionsExamples
ProtocolKerberos, NTLM, LDAP, SMB. Empty = all protocols.NTLM only
SourceAll devices or Specific sources (IP or CIDR)10.0.5.20, 10.0.0.0/16
DestinationAll or Specific*, cifs/*, cifs/fileserver01, fileserver01

MFA prompt​

When the action is MFA Required, you can edit the text of the push. The default is:

$user is signing in to $destination via $protocol from $source
VariableValue
$usernameThe user's sign-in name.
$userThe user. Currently this also returns the username.
$domainThe AD domain.
$sourceThe source IP of the sign-in.
$destinationThe target service or host.
$protocolKerberos, NTLM, LDAP, or SMB.
note

Duo Security shows the prompt in the push. Okta Verify may not display it.

Step 2 — Review & publish​

The review step shows:

  • Monitor-mode warning — if the domain is in Monitor, a warning appears with a Switch … to Enforce link. Policies do not block or push anyone until the domain is enforcing.
  • Impact — the users the policy matches.
  • What will be published — a summary of the policy.
  • Dry run — pick an AD user and a Protocol, then click Run. The dry run tests the currently published policy set.

If the new policy conflicts with existing ones, publishing stops with "Not published — N conflicting…". Review the conflicts. Click publish anyway to publish regardless.

How policies are applied​

SituationResult
No policy matches the sign-inAllowed. This is true in Monitor and Enforce.
Identity source in MonitorEvery verdict becomes allow. No push is sent.
Identity source in EnforcingThe matching policy's action is applied.
Push denied, expired, or timed outThe identity source's Fallback setting applies.
AuthNull unreachableThe Fallback setting applies to every sign-in.
A policy targets the user but does not cover this sign-inAllowed. The reason is logged.
warning

With Fallback set to Allow, a denied or timed-out push still lets the user in. Set Fallback to Deny if a denied push must block the sign-in. Fallback is set when you connect the domain.

Tenant compliance mode​

The tenant's Audit / Policy / Live mode (see Tenant Configuration) has one effect on Identity: in Live mode, policies marked not allowed are excluded. Monitor or Enforce is set per identity source, not by the tenant mode.

Roll out safely​

tip
  1. Keep the identity source in Monitoring while you build policies.
  2. Use Dry run on the review step to test real users and protocols.
  3. Check Logs for the sign-ins you expect.
  4. On Identity Sources, switch the source's Mode to Enforcing.

MFA pushes go through your configured provider: Duo Security or Okta Verify. AuthNull Authenticator is coming soon. See MFA Providers.

Retired features​

FeatureStatus
Notify actionRetired. Existing Notify policies show as Allow with "ACTION RETIRED".
Per-policy Online / Monitor / Offline modeRemoved. Mode is set per identity source.
Risk-based policiesComing soon. New ones cannot be created.