Policy engine
The Workforce Authority policy engine allows you to define an action to be executed when a specific condition is met for the specified event.
As an example, you can skip MFA for users who are located in a specific country and belong to a specific Active Directory group. We've provided a user-friendly UI to define these policies.
A settings policy works differently: instead of acting on a login, it gives the members of chosen groups their own values for user and organization settings.
Each policy consists of 3 main sections:
-
General information such as name, description and event
-
Conditions in which the policy will be triggered
-
Action to be triggered when the conditions are met
Conditions are essentially predicates by which we define a policy. If you think of a policy as a type of food, conditions are the ingredients.
A condition can also read a header of the sign-in request, such as one your proxy adds to Internet traffic. See Request header.
New organizations come with one enabled policy, User enrollment mobile pairing, which has each new user pair the authenticator app when they enroll.
How a policy decides
A policy applies to a sign-in only when the sign-in meets all of its conditions. If one condition isn't met, the policy doesn't apply.
A group counts as one condition. Any of these is met when one of its conditions is, and All of these when every one is. NOT reverses a condition or a group: it is met when what it reverses isn't.
When several policies apply to one sign-in and their actions disagree, one action wins. See How authentication actions are prioritized.
When a sign-in lacks what a condition checks
Some sign-ins don't carry what a condition compares, such as an IP address or a country. That condition isn't met, whatever the action, Automatically Reject included. Outside a group, the policy then doesn't apply. In Any of these, another of the group's conditions can still match; in All of these, the group isn't met either. Reversed with NOT, such a condition counts as one that can't be checked instead.
| Condition | Not met when |
|---|---|
| Network | The sign-in has no IP address. |
| Country | The sign-in has no country. With Include mobile location on, the user's phone has none either. |
| Overall LOA Score | The sign-in has no LOA score. |
| Last MFA | The sign-in isn't part of a session. |
| Authentication Method Used | This sign-in used no authentication method. |
| Directory Groups | The directory doesn't support groups, or doesn't answer. |
| Request header | The sign-in has no request headers. |
| Operating system | The sign-in has no user agent, or one too long to read. |
| AI agent | The sign-in has no verdict. No verdict can match it instead; see AI agent. |
Two conditions handle a missing value their own way:
- Timezone Offset Delta: If either time zone is unknown sets the outcome.
- Password Last Used: with no record of the user's last password, At least is met and At most isn't.
When a condition can't be checked
If anything else stops a condition from being checked, such as an error, the policy fails safe. When its other conditions are met, a policy that blocks or steps up the sign-in applies. One that allows or relaxes it doesn't.
| Action | Applies? |
|---|---|
| Automatically Reject | Yes |
| Force Out Of Band | Yes |
| Require Device Pairing | Yes |
| Require Password Factor | Yes |
| Adjust LOA Score, lowering the score | Yes |
| Automatically Approve | No |
| Adjust LOA Score, raising the score | No |
| Change Settings | No |
If any other condition isn't met, the policy doesn't apply, whatever its action.
Policy management console
To access the policy management console, log in to Workforce Authority and go to Policies.