-
Notifications
You must be signed in to change notification settings - Fork 4.1k
[FrontDoor] Add Sensitivity for WafManagedRuleOverrideObject #28983
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
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,3 +1,3 @@ | ||
| { | ||
| "generate_Id": "d1340c55-8f29-452b-8617-778ef1c3ce8d" | ||
| "generate_Id": "b5700a14-fde3-4f4d-be68-df4d05d0b5ff" | ||
| } |
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -3,7 +3,7 @@ | |||||
| # | ||||||
| # Generated by: Microsoft Corporation | ||||||
| # | ||||||
| # Generated on: 11/11/2025 | ||||||
| # Generated on: 2025/12/16 | ||||||
| # | ||||||
|
|
||||||
| @{ | ||||||
|
|
@@ -59,10 +59,10 @@ RequiredModules = @(@{ModuleName = 'Az.Accounts'; ModuleVersion = '5.3.1'; }) | |||||
| RequiredAssemblies = 'FrontDoor.Autorest/bin/Az.FrontDoor.private.dll' | ||||||
|
|
||||||
| # Script files (.ps1) that are run in the caller's environment prior to importing this module. | ||||||
| # ScriptsToProcess = @() | ||||||
| ScriptsToProcess = @() | ||||||
|
|
||||||
| # Type files (.ps1xml) to be loaded when importing this module | ||||||
| # TypesToProcess = @() | ||||||
| TypesToProcess = @() | ||||||
|
|
||||||
| # Format files (.ps1xml) to be loaded when importing this module | ||||||
| FormatsToProcess = 'FrontDoor.Autorest/Az.FrontDoor.format.ps1xml' | ||||||
|
|
@@ -129,7 +129,7 @@ PrivateData = @{ | |||||
| PSData = @{ | ||||||
|
|
||||||
| # Tags applied to this module. These help with module discovery in online galleries. | ||||||
| Tags = 'Azure','ResourceManager','ARM','FrontDoor' | ||||||
| Tags = 'Azure', 'ResourceManager', 'ARM', 'FrontDoor' | ||||||
|
|
||||||
| # A URL to the license for this module. | ||||||
| LicenseUri = 'https://aka.ms/azps-license' | ||||||
|
|
@@ -156,7 +156,7 @@ PrivateData = @{ | |||||
|
|
||||||
| } # End of PSData hashtable | ||||||
|
|
||||||
| } # End of PrivateData hashtable | ||||||
| } # End of PrivateData hashtable | ||||||
|
||||||
| } # End of PrivateData hashtable | |
| } # End of PrivateData hashtable |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -14,7 +14,8 @@ Create an in-memory object for ManagedRuleOverride. | |
|
|
||
| ``` | ||
| New-AzFrontDoorWafManagedRuleOverrideObject -RuleId <String> [-Action <String>] [-Disabled] | ||
| [-Exclusion <IManagedRuleExclusion[]>] [<CommonParameters>] | ||
| [-Exclusion <IManagedRuleExclusion[]>] [-Sensitivity <String>] | ||
| [<CommonParameters>] | ||
| ``` | ||
|
|
||
| ## DESCRIPTION | ||
|
|
@@ -98,6 +99,21 @@ Accept pipeline input: False | |
| Accept wildcard characters: False | ||
| ``` | ||
|
|
||
| ### -Sensitivity | ||
| Describes the override sensitivity to be applied when rule matches. | ||
|
|
||
| ```yaml | ||
| Type: System.String | ||
| Parameter Sets: (All) | ||
| Aliases: | ||
|
|
||
| Required: False | ||
| Position: Named | ||
| Default value: None | ||
| Accept pipeline input: False | ||
| Accept wildcard characters: False | ||
| ``` | ||
|
Comment on lines
+102
to
+115
|
||
|
|
||
| ### CommonParameters | ||
| This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). | ||
|
|
||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The help documentation for the new Sensitivity parameter should include information about the valid values (Low, Medium, High) that are accepted. While the PSArgumentCompleter attribute in the code specifies these values, the documentation should explicitly mention them to help users understand what values they can use.