output/20260723_081532/govviz/ALZ_20260723_081601/Enterprise-Scale/src/resources/Microsoft.Authorization/policyDefinitions/DenyAction-DiagnosticLogs.json
|
{ "name": "DenyAction-DiagnosticLogs", "type": "Microsoft.Authorization/policyDefinitions", "apiVersion": "2021-06-01", "scope": null, "properties": { "policyType": "Custom", "mode": "Indexed", "displayName": "DenyAction implementation on Diagnostic Logs.", "description": "DenyAction implementation on Diagnostic Logs.", "metadata": { "deprecated": false, "version": "1.0.0", "category": "Monitoring", "source": "https://github.com/Azure/Enterprise-Scale/", "alzCloudEnvironments": [ "AzureCloud", "AzureChinaCloud", "AzureUSGovernment" ] }, "parameters": {}, "policyRule": { "if": { "field": "type", "equals": "Microsoft.Insights/diagnosticSettings" }, "then": { "effect": "denyAction", "details": { "actionNames": [ "delete" ] } } } } } |