Class OwaspCrsExclusionEntry
java.lang.Object
com.microsoft.azure.management.network.OwaspCrsExclusionEntry
Allow to exclude some variable satisfy the condition for the WAF check.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the variable to be excluded.selector()
Get when matchVariable is a collection, operator used to specify which elements in the collection this exclusion applies to.Get when matchVariable is a collection, operate on the selector to specify which elements in the collection this exclusion applies to.withMatchVariable
(OwaspCrsExclusionEntryMatchVariable matchVariable) Set the variable to be excluded.withSelector
(String selector) Set when matchVariable is a collection, operator used to specify which elements in the collection this exclusion applies to.withSelectorMatchOperator
(OwaspCrsExclusionEntrySelectorMatchOperator selectorMatchOperator) Set when matchVariable is a collection, operate on the selector to specify which elements in the collection this exclusion applies to.
-
Constructor Details
-
OwaspCrsExclusionEntry
public OwaspCrsExclusionEntry()
-
-
Method Details
-
matchVariable
Get the variable to be excluded. Possible values include: 'RequestHeaderNames', 'RequestCookieNames', 'RequestArgNames'.- Returns:
- the matchVariable value
-
withMatchVariable
Set the variable to be excluded. Possible values include: 'RequestHeaderNames', 'RequestCookieNames', 'RequestArgNames'.- Parameters:
matchVariable
- the matchVariable value to set- Returns:
- the OwaspCrsExclusionEntry object itself.
-
selectorMatchOperator
Get 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'.- Returns:
- the selectorMatchOperator value
-
withSelectorMatchOperator
public OwaspCrsExclusionEntry withSelectorMatchOperator(OwaspCrsExclusionEntrySelectorMatchOperator selectorMatchOperator) Set 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'.- Parameters:
selectorMatchOperator
- the selectorMatchOperator value to set- Returns:
- the OwaspCrsExclusionEntry object itself.
-
selector
Get when matchVariable is a collection, operator used to specify which elements in the collection this exclusion applies to.- Returns:
- the selector value
-
withSelector
Set when matchVariable is a collection, operator used to specify which elements in the collection this exclusion applies to.- Parameters:
selector
- the selector value to set- Returns:
- the OwaspCrsExclusionEntry object itself.
-