Describe the bug
User can configure their Sensitivity as None for HTTPDDoSRuleSet. We do not want to allow that value. Additionally, please set the default as Medium if that is an option when the user does not pass any explicit Sensitivity value.
https://github.com/Azure/azure-cli/blob/c0a728ab5d3cb22f08bb709dc179f84b83f523bb/src/azure-cli/azure/cli/command_modules/network/aaz/latest/network/application_gateway/waf_policy/_create.py#L393C1-L393C85
Related command
Swagger PR: Azure/azure-rest-api-specs#38246
API Version: 2025-03-01
Errors
N/A
Issue script & Debug output
User should not be able to assign Sensitivity as None explicitly when adding or updating HTTPDDoSRuleSet
Expected behavior
Only three explicit options are allowed for Sensitivity.
Low, Medium and High.
Environment Summary
N/A
Additional context
No response
Describe the bug
User can configure their Sensitivity as
Nonefor HTTPDDoSRuleSet. We do not want to allow that value. Additionally, please set the default asMediumif that is an option when the user does not pass any explicit Sensitivity value.https://github.com/Azure/azure-cli/blob/c0a728ab5d3cb22f08bb709dc179f84b83f523bb/src/azure-cli/azure/cli/command_modules/network/aaz/latest/network/application_gateway/waf_policy/_create.py#L393C1-L393C85
Related command
Swagger PR: Azure/azure-rest-api-specs#38246
API Version: 2025-03-01
Errors
N/A
Issue script & Debug output
User should not be able to assign Sensitivity as
Noneexplicitly when adding or updating HTTPDDoSRuleSetExpected behavior
Only three explicit options are allowed for Sensitivity.
Low, Medium and High.
Environment Summary
N/A
Additional context
No response