Pcornel
Automation · Drift Management

Auto-remediation

Cheat sheet · https://pcornel.dk/topic.php?topic=6010

Back to the Topic

Answer

Auto-remediation in drift management automatically applies the desired state when drift is found. Use it for well-understood settings and alert-only mode for changes that could cause outages.

Remember

  • Auto-fix well-understood settings only.
  • Alert-only for risky changes.
  • Log every correction.

First checks

  • Auto-remediation scope (safe settings only) — policy
  • Enforcement runs (ApplyAndAutoCorrect, selfHeal) — mechanisms
  • Notification on auto-fix — visibility

Verify in this order

drift → auto-fix → notify

Where it usually breaks

Input/desired state → request accepted → job/task terminal status → target object read-back → effective runtime state → original workload → regression/rollback readiness.

Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=6010

Confirmation

Confirm action

Continue?