Skip to content

Commit f76dd2a

Browse files
Remove non sensitivity for DDoS ruleset (#28757)
1 parent 47da2e2 commit f76dd2a

File tree

4 files changed

+5
-3
lines changed

4 files changed

+5
-3
lines changed

src/Network/Network/ChangeLog.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,8 @@
1919
--->
2020

2121
## Upcoming Release
22-
22+
* Removed the None from the accepted value for the property 'Sensitivity'
23+
- Updated `New-AzApplicationGatewayFirewallPolicyManagedRuleOverride` cmdlet
2324
## Version 7.22.0
2425
* Added new RouteTableUsageMode property for Network Manager Routing Configuration
2526
- Updated `New-AzNetworkManagerRoutingConfiguration` cmdlet

src/Network/Network/FirewallPolicy/ManagedRules/ManagedRuleSet/ManagedRuleGroupOverride/ManagedRuleOverride/AzureApplicationGatewayFirewallPolicyManagedRuleOverride.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ public class AzureApplicationGatewayFirewallPolicyManagedRuleOverride : NetworkB
4343
[Parameter(
4444
Mandatory = false,
4545
HelpMessage = "Sensitivity of the Rule.")]
46-
[ValidateSet("None", "Low", "Medium", "High", IgnoreCase = true)]
46+
[ValidateSet("Low", "Medium", "High", IgnoreCase = true)]
4747
[ValidateNotNullOrEmpty]
4848
public string Sensitivity { get; set; }
4949

src/Network/Network/help/New-AzApplicationGatewayFirewallPolicyManagedRuleOverride.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ Describes the override sensitivity to be applied when rule matches.
9999
Type: System.String
100100
Parameter Sets: (All)
101101
Aliases:
102-
Accepted values: None, Low, Medium, High
102+
Accepted values: Low, Medium, High
103103

104104
Required: False
105105
Position: Named

tools/StaticAnalysis/Exceptions/Az.Network/BreakingChangeIssues.csv

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
"Module","ClassName","Target","Severity","ProblemId","Description","Remediation"
2+
"Az.Network","Microsoft.Azure.Commands.Network.NewAzureApplicationGatewayFirewallPolicyManagedRuleOverrideCommand","New-AzApplicationGatewayFirewallPolicyManagedRuleOverride","0","2040","The validation set for parameter 'Sensitivity' for cmdlet 'New-AzApplicationGatewayFirewallPolicyManagedRuleOverride' no longer contains the value 'None'.","Add 'None' back to the validation set for 'Sensitivity'."
23
"Az.Network","Microsoft.Azure.Commands.Network.GetAzureNetworkWatcherConnectionMonitorReportCommand","Get-AzNetworkWatcherConnectionMonitorReport","0","1000","The cmdlet 'Get-AzNetworkWatcherConnectionMonitorReport' has been removed and no alias was found for the original cmdlet name.","Add the cmdlet 'Get-AzNetworkWatcherConnectionMonitorReport' back to the module, or add an alias to the original cmdlet name."
34
"Az.Network","Microsoft.Azure.Commands.Network.StartAzureNetworkWatcherConnectionMonitorCommand","Start-AzNetworkWatcherConnectionMonitor","0","1000","The cmdlet 'Start-AzNetworkWatcherConnectionMonitor' has been removed and no alias was found for the original cmdlet name.","Add the cmdlet 'Start-AzNetworkWatcherConnectionMonitor' back to the module, or add an alias to the original cmdlet name."
45
"Az.Network","Microsoft.Azure.Commands.Network.AzureFirewall.PacketCapture.NewAzureFirewallPacketCaptureParametersCommand","New-AzFirewallPacketCaptureParameter","0","2020","The cmdlet 'New-AzFirewallPacketCaptureParameter' no longer supports the type 'System.UInt32' for parameter 'DurationInSeconds'.","Change the type for parameter 'DurationInSeconds' back to 'System.UInt32'."

0 commit comments

Comments
 (0)