Skip to content

Latest commit

 

History

History

Vulnerability assessment should be enabled on your SQL servers

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

Samples for remediating "Vulnerability assessment should be enabled on your SQL servers"

These samples provide various ways to resolve the "Vulnerability assessment should be enabled on your SQL servers" recommendation in Azure Security Center. There are four samples:

  • PowerShell script - will loop through and remediate each instance
    • Requires the Azure (Az) and Azure Security (Az.Security) PowerShell modules
  • Logic App Playbook - uses the REST API to enumerate and remediate each instance
    • Will create a managed service principal. This will need to be added to the subscription with the appropriete access
  • Azure Policy definitions
    • Deny Policy - This will prevent someone from changing the HTTPS setting back to disabled and prevents the creation of new instances which are not using HTTPS
    • deployIfNotExist Policy - This allows to run a remediation task