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
PhasesIReadOnlyList<string>A list of phases to skip.
RulesetsIReadOnlyList<string>A list of ruleset IDs to skip.
RulesIReadOnlyList<string>A list of rule IDs to skip.
ProductsIReadOnlyList<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
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
Rules
A list of rule IDs to skip.
[JsonPropertyName("rules")]
public IReadOnlyList<string>? Rules { get; init; }
Property Value
Rulesets
A list of ruleset IDs to skip.
[JsonPropertyName("rulesets")]
public IReadOnlyList<string>? Rulesets { get; init; }