@codemod/arm-client-cert-auth-endpoints
Require client certificate authentication on Azure App Service ARM resources by rewriting Microsoft.Web/sites and Microsoft.Web/sites/slots resource definitions in ARM template JSON files.
What It Changes
For each matching App Service resource, the codemod ensures:
properties.clientCertEnabledistrueproperties.clientCertModeis"Required"
If the resource has no properties object, the codemod creates one.
Scope
- Targets JSON ARM templates with a top-level
resourcesarray - Rewrites
Microsoft.Web/sites - Rewrites
Microsoft.Web/sites/slots - Leaves unrelated Azure resource types unchanged
- Leaves already compliant App Service resources unchanged
Usage
bash
Development
bash
License
MIT