-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
azurerm_web_application_firewall_policy
:support log_scrubbing
property
#22522
Conversation
wuxu92
commented
Jul 14, 2023
•
edited
Loading
edited
01ed5b8
to
200f3ae
Compare
azurerm_web_application_firewall_policy
:suports log_scrubbing
propertyazurerm_web_application_firewall_policy
:support log_scrubbing
property
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.
LGTM aside from 1 comment 🔨
}, | ||
"rule": { | ||
Type: pluginsdk.TypeList, | ||
Optional: true, | ||
Elem: &pluginsdk.Resource{ | ||
Schema: map[string]*pluginsdk.Schema{ | ||
"enabled": { | ||
Type: pluginsdk.TypeBool, | ||
Optional: true, | ||
Default: true, | ||
}, | ||
"match_variable": { | ||
Type: pluginsdk.TypeString, | ||
Required: true, | ||
ValidateFunc: validation.StringInSlice( | ||
webapplicationfirewallpolicies.PossibleValuesForScrubbingRuleEntryMatchVariable(), | ||
false), | ||
}, | ||
"selector_match_operator": { | ||
Type: pluginsdk.TypeString, | ||
Optional: true, | ||
Default: "Equals", | ||
ValidateFunc: validation.StringInSlice( | ||
webapplicationfirewallpolicies.PossibleValuesForScrubbingRuleEntryMatchOperator(), | ||
false), | ||
}, | ||
"selector": { | ||
Type: pluginsdk.TypeString, | ||
Optional: true, | ||
Description: "When matchVariable is a collection, operator used to specify which elements in the collection this rule applies to.", | ||
}, |
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.
could we use whitespace?
}, | |
"rule": { | |
Type: pluginsdk.TypeList, | |
Optional: true, | |
Elem: &pluginsdk.Resource{ | |
Schema: map[string]*pluginsdk.Schema{ | |
"enabled": { | |
Type: pluginsdk.TypeBool, | |
Optional: true, | |
Default: true, | |
}, | |
"match_variable": { | |
Type: pluginsdk.TypeString, | |
Required: true, | |
ValidateFunc: validation.StringInSlice( | |
webapplicationfirewallpolicies.PossibleValuesForScrubbingRuleEntryMatchVariable(), | |
false), | |
}, | |
"selector_match_operator": { | |
Type: pluginsdk.TypeString, | |
Optional: true, | |
Default: "Equals", | |
ValidateFunc: validation.StringInSlice( | |
webapplicationfirewallpolicies.PossibleValuesForScrubbingRuleEntryMatchOperator(), | |
false), | |
}, | |
"selector": { | |
Type: pluginsdk.TypeString, | |
Optional: true, | |
Description: "When matchVariable is a collection, operator used to specify which elements in the collection this rule applies to.", | |
}, | |
}, | |
"rule": { | |
Type: pluginsdk.TypeList, | |
Optional: true, | |
Elem: &pluginsdk.Resource{ | |
Schema: map[string]*pluginsdk.Schema{ | |
"enabled": { | |
Type: pluginsdk.TypeBool, | |
Optional: true, | |
Default: true, | |
}, | |
"match_variable": { | |
Type: pluginsdk.TypeString, | |
Required: true, | |
ValidateFunc: validation.StringInSlice( | |
webapplicationfirewallpolicies.PossibleValuesForScrubbingRuleEntryMatchVariable(), | |
false), | |
}, | |
"selector_match_operator": { | |
Type: pluginsdk.TypeString, | |
Optional: true, | |
Default: "Equals", | |
ValidateFunc: validation.StringInSlice( | |
webapplicationfirewallpolicies.PossibleValuesForScrubbingRuleEntryMatchOperator(), | |
false), | |
}, | |
"selector": { | |
Type: pluginsdk.TypeString, | |
Optional: true, | |
Description: "When matchVariable is a collection, operator used to specify which elements in the collection this rule applies to.", | |
}, |
between properties?
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.
thanks! updated with whitespace lines
I'm going to lock this pull request because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active contributions. |