Class ManagedRulesDefinition

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

public class ManagedRulesDefinition extends Object
Allow to exclude some variable satisfy the condition for the WAF check.
  • Constructor Details

    • ManagedRulesDefinition

      public ManagedRulesDefinition()
  • Method Details

    • exclusions

      public List<OwaspCrsExclusionEntry> exclusions()
      Get the Exclusions that are applied on the policy.
      Returns:
      the exclusions value
    • withExclusions

      public ManagedRulesDefinition withExclusions(List<OwaspCrsExclusionEntry> exclusions)
      Set the Exclusions that are applied on the policy.
      Parameters:
      exclusions - the exclusions value to set
      Returns:
      the ManagedRulesDefinition object itself.
    • managedRuleSets

      public List<ManagedRuleSet> managedRuleSets()
      Get the managed rule sets that are associated with the policy.
      Returns:
      the managedRuleSets value
    • withManagedRuleSets

      public ManagedRulesDefinition withManagedRuleSets(List<ManagedRuleSet> managedRuleSets)
      Set the managed rule sets that are associated with the policy.
      Parameters:
      managedRuleSets - the managedRuleSets value to set
      Returns:
      the ManagedRulesDefinition object itself.