Open jenka13all opened 2 years ago
Is your question related to any CLI commands?
Thank you for your feedback. This has been routed to the support team for assistance.
My question is related to allowed values in Terraform.
This repo is only focusing on Azure CLI related issues.
What would the CLI parameters be? Maybe that can help me already.
@jenka13all Looks like the Web Categories - List By Subscription REST API returns the list of web categories that are used for this field.
Here are the list of the values that the API returns for reference
AlcoholAndTobacco
ChildAbuseImages
ChildInappropriate
CriminalActivity
DatingAndPersonals
Gambling
Hacking
HateAndIntolerance
IllegalDrug
IllegalSoftware
LingerieAndSwimsuits
Marijuana
Nudity
PornographyAndSexuallyExplicit
SchoolCheating
SelfHarm
SexEducation
Tasteless
Violence
Weapons
ImageSharing
PeerToPeer
StreamingMediaAndDownloads
DownloadSites
Entertainment
Business
ComputersAndTechnology
Education
Finance
ForumsAndNewsgroups
Government
HealthAndMedicine
InformationSecurity
JobSearch
News
NonProfitsAndNgos
PersonalSites
PrivateIPAddresses
ProfessionalNetworking
SearchEnginesAndPortals
Translators
WebRepositoryAndStorage
WebBasedEmail
AdvertisementsAndPopUps
Chat
Cults
Games
InstantMessaging
Shopping
SocialNetworking
Arts
FashionAndBeauty
General
GreetingCards
LeisureAndRecreation
NatureAndConservation
PoliticsAndLaw
RealEstate
Religion
RestaurantsAndDining
Sports
Transportation
Travel
Uncategorized
@KumudD Could you get these values documented alongside the table for reference?
Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @fwsuppgithub.
Related command
Extension name (the extension in question)
Description of issue (in as much detail as possible)
I've done a lot of searching but not found the allowed values for the azurerum firewall application rules "web_categories". When I just use the text examples under the "Category" column provided by Microsoft Learn documentation (https://learn.microsoft.com/en-us/azure/firewall/web-categories), I get the error from Terraform:
AdditionalInfo=[{"Message":"The request is invalid.","ModelState":{"resource":["{\"Status\":\"Failed\",\"Error\":{\"Code\":\"FirewallPolicyApplicationRuleInvalidWebCategory\",\"Message\":\"Firewall Policy Application Rule WebCategoriesRule web category 'Child abuse images' is invalid\",\"Target\":null}}"]}}]