class Azure::Network::Mgmt::V2020_03_01::Models::OwaspCrsExclusionEntry
Allow to exclude some variable satisfy the condition for the WAF check.
Attributes
match_variable[RW]
@return [OwaspCrsExclusionEntryMatchVariable] The variable to be excluded. Possible values include: 'RequestHeaderNames', 'RequestCookieNames', 'RequestArgNames'
selector[RW]
@return [String] When matchVariable is a collection, operator used to specify which elements in the collection this exclusion applies to.
selector_match_operator[RW]
@return [OwaspCrsExclusionEntrySelectorMatchOperator] When matchVariable is a collection, operate on the selector to specify which elements in the collection this exclusion applies to. Possible values include: 'Equals', 'Contains', 'StartsWith', 'EndsWith', 'EqualsAny'
Public Class Methods
mapper()
click to toggle source
Mapper for OwaspCrsExclusionEntry
class as Ruby Hash. This will be used for serialization/deserialization.
# File lib/2020-03-01/generated/azure_mgmt_network/models/owasp_crs_exclusion_entry.rb, line 35 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'OwaspCrsExclusionEntry', type: { name: 'Composite', class_name: 'OwaspCrsExclusionEntry', model_properties: { match_variable: { client_side_validation: true, required: true, serialized_name: 'matchVariable', type: { name: 'String' } }, selector_match_operator: { client_side_validation: true, required: true, serialized_name: 'selectorMatchOperator', type: { name: 'String' } }, selector: { client_side_validation: true, required: true, serialized_name: 'selector', type: { name: 'String' } } } } } end