Closed Astashin closed 2 years ago
Seems like copy-paste for web apps without changing config for bastion. Below are correct fields for policy definition:
"policyRule": { "if": { "field": "type", "equals": "Microsoft.Network/bastionHosts" },
Resource type:
"resources": [ { "type": "Microsoft.Network/bastionHosts/providers/diagnosticSettings",
Log and metrics config:
"metrics": [], "logs": [ { "category": "BastionAuditLogs", "enabled": true }
resolved - using log category group instead
Seems like copy-paste for web apps without changing config for bastion. Below are correct fields for policy definition:
Resource type:
Log and metrics config: