// Module included in the following assemblies:
//
// * service_mesh/v1x/prepare-to-deploy-applications-ossm.adoc

:_mod-docs-content-type: PROCEDURE
[id="ossm-mixer-policy-1x_{context}"]
= Updating Mixer policy enforcement

In previous versions of {SMProductName}, Mixer's policy enforcement was enabled by default. Mixer policy enforcement is now disabled by default. You must enable it before running policy tasks.

.Prerequisites
* Access to the OpenShift CLI (`oc`).

[NOTE]
====
The examples use `istio-system` as the control plane namespace. Replace this value with the namespace where you deployed the Service Mesh Control Plane (SMCP).
====

.Procedure

. Log in to the {product-title} CLI.

. Run this command to check the current Mixer policy enforcement status:
+
[source,terminal]
----
$ oc get cm -n istio-system istio -o jsonpath='{.data.mesh}' | grep disablePolicyChecks
----

. If `disablePolicyChecks: true`, edit the {SMProductShortName} ConfigMap:
+
[source,terminal]
----
$ oc edit cm -n istio-system istio
----

. Locate `disablePolicyChecks: true` within the ConfigMap and change the value to `false`.

. Save the configuration and exit the editor.

. Re-check the Mixer policy enforcement status to ensure it is set to `false`.
