public class ManagedRulesDefinition extends Object
| Constructor and Description |
|---|
ManagedRulesDefinition() |
| Modifier and Type | Method and Description |
|---|---|
List<OwaspCrsExclusionEntry> |
exclusions()
Get the Exclusions that are applied on the policy.
|
List<ManagedRuleSet> |
managedRuleSets()
Get the managed rule sets that are associated with the policy.
|
ManagedRulesDefinition |
withExclusions(List<OwaspCrsExclusionEntry> exclusions)
Set the Exclusions that are applied on the policy.
|
ManagedRulesDefinition |
withManagedRuleSets(List<ManagedRuleSet> managedRuleSets)
Set the managed rule sets that are associated with the policy.
|
public List<OwaspCrsExclusionEntry> exclusions()
public ManagedRulesDefinition withExclusions(List<OwaspCrsExclusionEntry> exclusions)
exclusions - the exclusions value to setpublic List<ManagedRuleSet> managedRuleSets()
public ManagedRulesDefinition withManagedRuleSets(List<ManagedRuleSet> managedRuleSets)
managedRuleSets - the managedRuleSets value to set/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*/