Class OwaspCrsExclusionEntry

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

public class OwaspCrsExclusionEntry extends Object
Allow to exclude some variable satisfy the condition for the WAF check.
  • 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
    • 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.
    • 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
    • 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

      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
    • 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.