...
Perform following to update PostgreSQL parametersendpoint protection:
Login to Azure Portal using https://portal.azure.com.
Go to Policy service.
On Policy overview, Click onDefault/Custom Policy.
Click on Edit Assignments.
In Basics menu, check there are no exclusions added for resource Group.
Set Policy Enforcement to Enabled.
Goto Parameters and set Monitor missing Endpoint Protection in Azure Security Center to AuditIfNotExist
Click Review + save.
...