Hardening a control plane