Table of Contents

Namespace Cloudflare.NET.Security.Rulesets.Models

Classes

ActionParametersWithResponse

A generic container for action parameters that include a custom response.

CategoryOverride

An override for a category of rules within a managed ruleset.

CreateRuleRequest

Defines the request payload for creating a new rule within a ruleset.

CreateRulesetRequest

Defines the request payload for creating a new ruleset.

ExecuteOverrides

Defines overrides for a managed or custom ruleset being executed.

ExecuteParameters

Action parameters for an 'execute' rule, used to deploy another ruleset, such as a Managed WAF Ruleset.

This is primarily used to add a rule to the entrypoint of the http_request_firewall_managed phase to enable a Cloudflare-provided or a custom ruleset.

ListRulesetVersionsFilters

Defines the pagination options for listing Ruleset versions.

ListRulesetsFilters

Defines the pagination options for listing Rulesets.

Logging

Defines logging configuration for a rule.

RateLimitParameters

Defines the configuration for a rate limiting rule.

Response

Defines a custom HTTP response for a rule action.

Rule

Represents a single rule within a Ruleset.

RuleOverride

An override for a specific rule within an executed ruleset.

Ruleset

Represents a Cloudflare Ruleset.

SkipParameters

Action parameters for a 'skip' rule, used to create exceptions.

UpdateRulesetRequest

Defines the request payload for updating an existing ruleset.

Structs

ManagedWafOverrideAction

Represents an action that can be used when overriding rules in a Managed WAF Ruleset.

Override actions allow you to customize the behavior of individual rules or categories within a managed ruleset without modifying the ruleset itself.

RulesetAction

Represents an action that can be performed by a rule in the Cloudflare Ruleset Engine.

Actions define what happens when a rule's expression matches an incoming request. Different actions are available depending on the ruleset phase being configured.