Enforcing policies
How you enforce a policy depends on the type of policy you want to enforce:
-
You enforce remediation policies from the Enforcements tab of the Device Actions page.
-
You enforce all other policy types from the Enforcements tab of the Policy Configurations page.
You can also click a policy name and create an enforcement from the policy page.
After you create a policy, it is enforced in the following scenarios:
-
The enforcement is first created
-
Changes are made to the policy corresponding to the enforcement
-
The Tanium Client or Tanium Client process restarts on an endpoint
-
At the beginning and end of the enforcement schedule
-
Enforce detects a failed or incomplete verification of policies
-
(User Administrative Template policies) When a user signs in to an endpoint
Enforce verifies policies approximately every 15 minutes.
Applying policy settings on endpoints
The policy type and endpoint setup determine how policy settings are applied.
Configuration service providers (CSPs)
When you enforce a Bitlocker policy, Machine Administrative Template policy, Security Settings policy, or User Administrative Template policy, settings on supported Windows 10 and later endpoints are applied using configuration service providers (CSPs) when possible. Settings that can be applied using a CSP are annotated with this icon in the Enforce policy. When you apply policies using a CSP, domain-joined endpoints do not need to be connected to a Domain Controller to configure settings, unlike policy application using Group Policy Object (GPO). If an Enforce policy setting is applied using a CSP that is also applied by a group policy, local policy, or already configured manually in the registry, the setting that is applied by the CSP takes precedence. This means that you do not need to first configure settings as Not Configured before you can configure a setting using a CSP. For more information about CSPs, see Microsoft Documentation: What is a CSP?.
Enforce uses the WMI-to-CSP Bridge to apply policies on endpoints, so a mobile device management (MDM) service is not required to use this feature. For more information about the WMI-to-CSP Bridge, see Microsoft Documentation: The WMI-to-CSP Bridge.
Microsoft Policy DDF files determine which policy settings can be applied using a CSP. For more information about Policy DDF files, see Microsoft documentation: Policy DDF file. To determine the earliest supported Windows 10 operating system versions for a specific setting, hover over next to the setting. For more information about the supported operating system versions for each policy setting, see Microsoft Documentation: Policy Areas.
Enforce policies that were created before the Enforce update on January 30, 2023 are not applied using a CSP by default. To apply existing policies using a CSP, edit and re-save the policy.
ADMX-backed CSP
Some settings in Machine Administrative Template and User Administrative Template policies are applied using ADMX-backed CSP. For more information, see Microsoft Documentation: ADMX-backed policies in Policy CSP.
Local Group Policy (LGPO)
When you enforce an AppLocker, Device Control - All Devices, or Device Control - Removable Storage policy, settings are applied using Local Group Policy (LGPO)
For policy settings that are applied using LGPO, domain-joined endpoints must be able to connect to a domain controller so that Enforce can resolve conflicts and apply some settings. For more information, see Resolve Active Directory policy conflicts.
This requirement does not apply to Windows endpoints that are not joined to a domain or are EntraID-joined, Security Policy settings, or configuration service providers (CSPs).
Scheduled actions
When you enforce an Anti-Malware, Remediation, Remediation Purge, or Software Restriction policy, settings are applied using Tanium scheduled actions. These policies are not reported on by the Enforce - Diagnostic - Applied Policy Settings sensor. Instead, you can check the action history and action logs for status. For more information about scheduled actions, see View status for simple actions.
API or CLI
When you enforce a FileVault, Firewall - Windows, or Firewall - Linux policy, settings are applied using the API or CLI on the endpoint.
- Settings in Windows firewall policies are not applied on endpoints where there are existing firewall settings managed by a GPO linked to a domain. In this scenario, the enforcement status is Not Applied with the reason GPO firewall rules found on endpoint.
- If a legacy Windows firewall policy is superseded by a Windows firewall policy that applies settings using LGPO, the status of the legacy policy is Superseded with the reason Policy has been superseded by an LGPO firewall policy.
Create enforcements
Create an enforcement for a remediation policy
- From the Main menu, go to .
- Enter a name for the enforcement and select a policy.
- Go to Complete the enforcement creation to continue creating the enforcement.
Create an enforcement for a cluster policy
- From the Main menu, go to .
- Enter a name for the enforcement and select a policy.
- Go to Complete the enforcement creation for a cluster policy to continue creating the enforcement.
Create an enforcement for all other types of policies
- From the Main menu, go to .
- Enter a name for the enforcement and select a policy.
- Go to Complete the enforcement creation to continue creating the enforcement.
Create an enforcement from an individual policy
Complete the enforcement creation
To view the status of an enforcement on the Enforcements tab of the Policy Configurations page, click the arrow next to an enforcement to expand the status information. You can also view the status information in the Summary section of the enforcement details page. For more information about each enforcement state, see Enforcements.
Complete the enforcement creation for a cluster policy
To view the status of an enforcement on the Enforcements tab of the Policy Configurations page, click the arrow next to an enforcement to expand the status information. You can also view the status information in the Summary section of the enforcement details page. For more information about each enforcement state, see Enforcements.
View enforcements
Required access rights
To view enforcements, you must have one of the following access rights:
-
The Unrestricted Management Rights permission.
-
Access to the computer groups targeted by the enforcement.
Note: You must have access to the exact computer group targeted by the enforcement to view the enforcement. Access to another computer group that includes the endpoints from the targeted computer group does not provide viewing access. For example, if you have access to the All Windows computer group, but not the All Windows 10 computer group, you cannot view enforcements that target only the All Windows 10 computer group.
For more information, see Assign computer groups.
View the enforcement
-
For a remediation policy: From the Main menu, go to .
-
For all other policy types: From the Main menu, go to .
Expand the details for the enforcement to view the application status.
Click the name of the enforcement to open the enforcement details page.
Filter results
In the Endpoints section on the enforcement details page, you can filter results by items such as computer name, operating system, operators (contains or does not contain), and plain text. You can also add additional rows and groupings to the filter.
For more information about filtering and merging question results, see the Analyzing question results in Interact.
View endpoint details
You can use Enforce with Reporting to view enhanced endpoint details in enforcements. In the Endpoints section on the enforcement details page, click Endpoint Details .
Remove an enforcement
From the list of enforcements, select one or more enforcements and click Delete . You can also click an individual enforcement and then click Delete
.
When you remove an enforcement for a remediation policy, Enforce unenforces the policy on targeted endpoints that are online within an hour, and the Enforce - Diagnostic - Applied Machine Policies sensor no longer reports the policy as enforced on them. If another enforcement of the same policy remains, Enforce does not unenforce the policy. Removing the enforcement does not revert changes that the remediation already made on the endpoint.
For more information about this behavior, see the section "Persistence in security settings" in Microsoft documentation: Applying security settings.