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