In Azure Advisor I have the following security advisories:
- TLS should be updated to the latest version for web apps
- TLS should be updated to the latest version for function apps
How can I get a list of all of the affected resources that are not set to TLS 1.2? I am able to view resources that aren't TLS 1.2 for storage accounts using Azure Resource Graph Explorer and the query below. Is this possible for function apps and web apps? I tried using the type "Microsoft.Web/sites" and "Microsoft.Web/sites/functions", but it only yields 0 results.
resources
| where type == "microsoft.storage/storageaccounts"
| where properties['minimumTlsVersion'] != "TLS1_2"
| project name, resourceGroup, properties.minimumTlsVersion