OwaspCrsExclusionEntry Class

  • java.lang.Object
    • com.microsoft.azure.management.network.OwaspCrsExclusionEntry

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
OwaspCrsExclusionEntryMatchVariable matchVariable()

Get the variable to be excluded.

java.lang.String selector()

Get when matchVariable is a collection, operator used to specify which elements in the collection this exclusion applies to.

OwaspCrsExclusionEntrySelectorMatchOperator selectorMatchOperator()

Get when matchVariable is a collection, operate on the selector to specify which elements in the collection this exclusion applies to.

OwaspCrsExclusionEntry withMatchVariable(OwaspCrsExclusionEntryMatchVariable matchVariable)

Set the variable to be excluded.

OwaspCrsExclusionEntry withSelector(String selector)

Set when matchVariable is a collection, operator used to specify which elements in the collection this exclusion applies to.

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.

Methods inherited from java.lang.Object

java.lang.Object.clone java.lang.Object.equals java.lang.Object.finalize java.lang.Object.getClass java.lang.Object.hashCode java.lang.Object.notify java.lang.Object.notifyAll java.lang.Object.toString java.lang.Object.wait java.lang.Object.wait java.lang.Object.wait

Constructor Details

OwaspCrsExclusionEntry

public OwaspCrsExclusionEntry()

Method Details

matchVariable

public OwaspCrsExclusionEntryMatchVariable matchVariable()

Get the variable to be excluded. Possible values include: 'RequestHeaderNames', 'RequestCookieNames', 'RequestArgNames'.

Returns:

the matchVariable value

selector

public String selector()

Get when matchVariable is a collection, operator used to specify which elements in the collection this exclusion applies to.

Returns:

the selector value

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:

the selectorMatchOperator value

withMatchVariable

public OwaspCrsExclusionEntry withMatchVariable(OwaspCrsExclusionEntryMatchVariable matchVariable)

Set the variable to be excluded. Possible values include: 'RequestHeaderNames', 'RequestCookieNames', 'RequestArgNames'.

Parameters:

matchVariable - the matchVariable value to set

Returns:

the OwaspCrsExclusionEntry object itself.

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:

selector - the selector value to set

Returns:

the OwaspCrsExclusionEntry object itself.

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.

Applies to