Table of Contents

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

Category string

The name of the category (tag) to override.

Action ManagedWafOverrideAction?

The new action to take for all rules in this category.

Enabled bool?

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

ManagedWafOverrideAction?

Category

The name of the category (tag) to override.

[JsonPropertyName("category")]
public string Category { get; init; }

Property Value

string

Enabled

Whether rules in this category should be enabled.

[JsonPropertyName("enabled")]
public bool? Enabled { get; init; }

Property Value

bool?