Skip to content

Remove support for Sensitivity value None for HTTPDDoSRuleSet #32301

@AshwiniSanchala

Description

@AshwiniSanchala

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

Metadata

Metadata

Assignees

Labels

Azure CLI TeamThe command of the issue is owned by Azure CLI teamcustomer-reportedIssues that are reported by GitHub users external to the Azure organization.feature-request

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions