Class CategoryOverride
- Namespace
- Cloudflare.NET.Security.Rulesets.Models
- Assembly
- Cloudflare.NET.dll
An override for a category of rules within a managed ruleset.
public record CategoryOverride : IEquatable<CategoryOverride>
- Inheritance
-
CategoryOverride
- Implements
- Inherited Members
Constructors
CategoryOverride(string, ManagedWafOverrideAction?, bool?)
An override for a category of rules within a managed ruleset.
public CategoryOverride(string Category, ManagedWafOverrideAction? Action = null, bool? Enabled = null)
Parameters
CategorystringThe name of the category (tag) to override.
ActionManagedWafOverrideAction?The new action to take for all rules in this category.
Enabledbool?Whether rules in this category should be enabled.
Properties
Action
The new action to take for all rules in this category.
[JsonPropertyName("action")]
public ManagedWafOverrideAction? Action { get; init; }
Property Value
Category
The name of the category (tag) to override.
[JsonPropertyName("category")]
public string Category { get; init; }
Property Value
Enabled
Whether rules in this category should be enabled.
[JsonPropertyName("enabled")]
public bool? Enabled { get; init; }
Property Value
- bool?