You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Policies are applied to new resources when they're created. To apply a policy to existing resources, create a remediation task. Remediation tasks bring resources into compliance with a policy.
147
150
151
+
Remediation tasks act for specific policies. For initiatives that contain multiple policies, create a remediation task for each policy in the initiative where you have resources that you want to bring into compliance.
152
+
153
+
Define remediation tasks when you first assign the policy, or at any stage after assignment.
154
+
155
+
To create a remediation task for policies during the policy assignment, select the **Remediation** tab on **Assign policy** page and select the **Create remediation task** checkbox.
156
+
157
+
To create a remediation task after the policy has been assigned, select your assigned policy from the list on the Policy Assignments page.
158
+
159
+
:::image type="content" source="./media/diagnostics-settings-policies-deployifnotexists/remediation-after-assignment.png" alt-text="A screenshot showing the edit-initiative-assignment page with the checkbox unselected.":::
160
+
161
+
Select **Remediate**.
162
+
Track the status of your remediation task in the **Remediation tasks** tab of the Policy Remediation page.
163
+
164
+
:::image type="content" source="./media/diagnostics-settings-policies-deployifnotexists/new-remediation-task-after-assignment.png" alt-text="A screenshot showing the new remediation task page.":::
165
+
166
+
167
+
168
+
169
+
For more information on remediation tasks, see [Remediate non-compliant resources](../../governance/policy/how-to/remediate-resources.md)
148
170
149
-
---
150
171
## Assign initiatives
151
172
152
173
Initiatives are collections of policies. There are three initiatives for Azure Monitor Diagnostics settings:
Policies are applied to new resources when they're created. To apply a policy to existing resources, create a remediation task. Remediation tasks bring resources into compliance with a policy.
258
-
259
-
Remediation tasks act for specific policies. For initiatives that contain multiple policies, create a remediation task for each policy in the initiative where you have resources that you want to bring into compliance.
260
-
261
-
Define remediation tasks when you first assign the policy, or at any stage after assignment.
262
-
263
-
To create a remediation task for policies during the policy assignment, select the **Remediation** tab on **Assign policy** page and select the **Create remediation task** checkbox.
264
-
265
-
To create a remediation task after the policy has been assigned, select your assigned policy from the list on the Policy Assignments page.
266
-
267
-
:::image type="content" source="./media/diagnostics-settings-policies-deployifnotexists/remediation-after-assignment.png" alt-text="A screenshot showing the edit-initiative-assignment page with the checkbox unselected.":::
268
-
269
-
Select **Remediate**.
270
-
Track the status of your remediation task in the **Remediation tasks** tab of the Policy Remediation page.
271
-
272
-
:::image type="content" source="./media/diagnostics-settings-policies-deployifnotexists/new-remediation-task-after-assignment.png" alt-text="A screenshot showing the new remediation task page.":::
273
-
274
-
275
-
276
-
277
-
For more information on remediation tasks, see [Remediate non-compliant resources](../../governance/policy/how-to/remediate-resources.md)
0 commit comments