-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Alias request: "Microsoft.Web/sites/eligibleLogCategories" #1395
Comments
The requested value can be retireved inside the template, though for compliancy to report correctly for the different kinds of web apps one needs to have the field('Microsoft.Web/sites/eligibleLogCategories) available in existenceCondition to have a robust way of making sure the correct chosen logs are active. The following code works for dynamically activating the suported log categories on a given web app. Code:
|
Scenario
Dynamically find supported log category for all types of web apps as these are different depending on windows,linux and container.
Code tries to show a concept of how to activate only supported logs on a given web app type.
Compliance logic:
Log parameter:
The text was updated successfully, but these errors were encountered: