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.
| Column | Description |
|---|---|
| Policy name | The policy's name. |
| Action | Allow, MFA Required, or Deny. |
| Scope | Who the policy covers. |
| AD groups / users | The groups, users, and OUs in scope. |
| Auth | The authentication type (Active Directory). |
| Enforcement | The domain's mode: Monitor or Enforce. This comes from the identity source, not the policy. |
| Status | Active, Paused, or Pending. |
| Updated | Last modified time. |
Row menu
| Item | What it does |
|---|---|
| Update policy | Opens the policy in the editor. |
| Approve | Approves the policy. Shown only if it is not approved yet. |
| Pause / Re-activate | Stops or resumes the policy. |
| Revoke | Revokes the policy. |
| Delete policy | Removes 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
| Field | Description |
|---|---|
| Policy name | Required. |
| AD domain | The connected domain the policy applies to. |
| Auth type | Active Directory. RADIUS is coming soon. |
| Policy type | Static. Risk-Based is coming soon. |
Action
| Action | Result |
|---|---|
| Allow | The sign-in goes through. |
| MFA Required | The user gets a push. The sign-in waits for the answer. |
| Deny | The 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.
| Field | Options | Examples |
|---|---|---|
| Protocol | Kerberos, NTLM, LDAP, SMB. Empty = all protocols. | NTLM only |
| Source | All devices or Specific sources (IP or CIDR) | 10.0.5.20, 10.0.0.0/16 |
| Destination | All 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
| Variable | Value |
|---|---|
$username | The user's sign-in name. |
$user | The user. Currently this also returns the username. |
$domain | The AD domain. |
$source | The source IP of the sign-in. |
$destination | The target service or host. |
$protocol | Kerberos, NTLM, LDAP, or SMB. |
note
Duo Security shows the prompt in the push. Okta Verify may not display it.