SOLVED

Azure Security Center Recommendations Log Analytics Query syntax

Copper Contributor

Hi

 

Could someone point me in the direction of a resource that provides a mapping of the recommendations in Security Center with theassociated Log Analytics query syntax? For example SC lists all of the machines that are not compliant with the recommendations in list below. I need to extract these results out into a spreadsheet and cannot see how to do this other than maybe running a query in Log analytics? If so does anyone know of a listing of these queries?

 

  • Designate more than one owner on your subscription (Preview)
  • Enable MFA for accounts with owner permissions on your subscription (Preview)
  • Endpoint Protection not installed on Azure VMs
  • Enable Auditing on SQL servers
  • Apply a Just-In-Time network access control
  • Enable Auditing on SQL databases
  • Apply system updates
  • Apply disk encryption
  • CORS should not allow every resource to access your Web Application (Preview)
  • Configure IP restrictions for Web Application (Preview)
  • Enable MFA for accounts with write permissions on your subscription (Preview)
  • Web Application should only be accessible over HTTPS (Preview)
  • Web Sockets should be disabled for Web Application (Preview)
  • Restrict access through Internet facing endpoint
  • Add a vulnerability assessment solution
  • Enable Transparent Data Encryption
  • Reboot after system updates
  • Enable MFA for accounts with read permissions on your subscription (Preview)
  • Remove deprecated accounts from your subscription (Preview)
  • Remove external accounts with read permissions from your subscription (Preview)
  • Use custom domains for Web Application (Preview)
  • Use the latest supported PHP version for Web Application (Preview)
  • Remediate security configurations

Thanks

2 Replies

Hi,

On the Log Analytics portal, on the upper-right area, you can find the query explorer, and in it selected solution queries for your convenience:

query explorer.png

HTH,

Noa

best response confirmed by Stanislav Zhelyazkov (MVP)
Solution

Hi

ASC recommendations for Azure resources are not available as data in Log Analytics. Best option is to use unofficial ASC PowerShell module Azure-Security-Center. You can use Get-ASCTask to get recommendations on resources.

1 best response

Accepted Solutions
best response confirmed by Stanislav Zhelyazkov (MVP)
Solution

Hi

ASC recommendations for Azure resources are not available as data in Log Analytics. Best option is to use unofficial ASC PowerShell module Azure-Security-Center. You can use Get-ASCTask to get recommendations on resources.

View solution in original post