Class: Azure::Network::Mgmt::V2020_03_01::Models::OwaspCrsExclusionEntry
- Inherits:
-
Object
- Object
- Azure::Network::Mgmt::V2020_03_01::Models::OwaspCrsExclusionEntry
- Includes:
- MsRestAzure
- Defined in:
- lib/2020-03-01/generated/azure_mgmt_network/models/owasp_crs_exclusion_entry.rb
Overview
Allow to exclude some variable satisfy the condition for the WAF check.
Instance Attribute Summary collapse
-
#match_variable ⇒ OwaspCrsExclusionEntryMatchVariable
excluded.
-
#selector ⇒ String
specify which elements in the collection this exclusion applies to.
-
#selector_match_operator ⇒ OwaspCrsExclusionEntrySelectorMatchOperator
matchVariable is a collection, operate on the selector to specify which elements in the collection this exclusion applies to.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for OwaspCrsExclusionEntry class as Ruby Hash.
Instance Attribute Details
#match_variable ⇒ OwaspCrsExclusionEntryMatchVariable
excluded. Possible values include: ‘RequestHeaderNames’, ‘RequestCookieNames’, ‘RequestArgNames’
18 19 20 |
# File 'lib/2020-03-01/generated/azure_mgmt_network/models/owasp_crs_exclusion_entry.rb', line 18 def match_variable @match_variable end |
#selector ⇒ String
specify which elements in the collection this exclusion applies to.
28 29 30 |
# File 'lib/2020-03-01/generated/azure_mgmt_network/models/owasp_crs_exclusion_entry.rb', line 28 def selector @selector end |
#selector_match_operator ⇒ OwaspCrsExclusionEntrySelectorMatchOperator
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’
24 25 26 |
# File 'lib/2020-03-01/generated/azure_mgmt_network/models/owasp_crs_exclusion_entry.rb', line 24 def selector_match_operator @selector_match_operator end |
Class Method Details
.mapper ⇒ Object
Mapper for OwaspCrsExclusionEntry class as Ruby Hash. This will be used for serialization/deserialization.
35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 |
# 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 |