Table of Contents

Class SkipParameters

Namespace
Cloudflare.NET.Security.Rulesets.Models
Assembly
Cloudflare.NET.dll

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

public record SkipParameters : IEquatable<SkipParameters>
Inheritance
SkipParameters
Implements
Inherited Members

Constructors

SkipParameters(IReadOnlyList<string>?, IReadOnlyList<string>?, IReadOnlyList<string>?, IReadOnlyList<string>?)

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

public SkipParameters(IReadOnlyList<string>? Phases = null, IReadOnlyList<string>? Rulesets = null, IReadOnlyList<string>? Rules = null, IReadOnlyList<string>? Products = null)

Parameters

Phases IReadOnlyList<string>

A list of phases to skip.

Rulesets IReadOnlyList<string>

A list of ruleset IDs to skip.

Rules IReadOnlyList<string>

A list of rule IDs to skip.

Products IReadOnlyList<string>

A list of legacy product names to skip (e.g., "waf", "zoneLockdown"). Use the constants defined in SecurityConstants.SkipProducts for valid values.

Properties

Phases

A list of phases to skip.

[JsonPropertyName("phases")]
public IReadOnlyList<string>? Phases { get; init; }

Property Value

IReadOnlyList<string>

Products

A list of legacy product names to skip (e.g., "waf", "zoneLockdown"). Use the constants defined in SecurityConstants.SkipProducts for valid values.

[JsonPropertyName("products")]
public IReadOnlyList<string>? Products { get; init; }

Property Value

IReadOnlyList<string>

Rules

A list of rule IDs to skip.

[JsonPropertyName("rules")]
public IReadOnlyList<string>? Rules { get; init; }

Property Value

IReadOnlyList<string>

Rulesets

A list of ruleset IDs to skip.

[JsonPropertyName("rulesets")]
public IReadOnlyList<string>? Rulesets { get; init; }

Property Value

IReadOnlyList<string>