Class ManagedRulesDefinition
java.lang.Object
com.microsoft.azure.management.network.ManagedRulesDefinition
Allow to exclude some variable satisfy the condition for the WAF check.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the Exclusions that are applied on the policy.Get the managed rule sets that are associated with the policy.withExclusions
(List<OwaspCrsExclusionEntry> exclusions) Set the Exclusions that are applied on the policy.withManagedRuleSets
(List<ManagedRuleSet> managedRuleSets) Set the managed rule sets that are associated with the policy.
-
Constructor Details
-
ManagedRulesDefinition
public ManagedRulesDefinition()
-
-
Method Details
-
exclusions
Get the Exclusions that are applied on the policy.- Returns:
- the exclusions value
-
withExclusions
Set the Exclusions that are applied on the policy.- Parameters:
exclusions
- the exclusions value to set- Returns:
- the ManagedRulesDefinition object itself.
-
managedRuleSets
Get the managed rule sets that are associated with the policy.- Returns:
- the managedRuleSets value
-
withManagedRuleSets
Set the managed rule sets that are associated with the policy.- Parameters:
managedRuleSets
- the managedRuleSets value to set- Returns:
- the ManagedRulesDefinition object itself.
-