Show / Hide Table of Contents

Class WaasPolicyCustomProtectionRuleSummary

The OCID and action of a custom protection rule.

Inheritance
object
WaasPolicyCustomProtectionRuleSummary
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Oci.WaasService.Models
Assembly: OCI.DotNetSDK.Waas.dll
Syntax
public class WaasPolicyCustomProtectionRuleSummary

Properties

Action

Declaration
[JsonProperty(PropertyName = "action")]
[JsonConverter(typeof(ResponseEnumConverter))]
public WaasPolicyCustomProtectionRuleSummary.ActionEnum? Action { get; set; }
Property Value
Type Description
WaasPolicyCustomProtectionRuleSummary.ActionEnum?

The action to take when the custom protection rule is triggered. DETECT - Logs the request when the criteria of the custom protection rule are met. BLOCK - Blocks the request when the criteria of the custom protection rule are met.

DisplayName

Declaration
[JsonProperty(PropertyName = "displayName")]
public string DisplayName { get; set; }
Property Value
Type Description
string

The user-friendly name of the custom protection rule.

Exclusions

Declaration
[JsonProperty(PropertyName = "exclusions")]
public List<ProtectionRuleExclusion> Exclusions { get; set; }
Property Value
Type Description
List<ProtectionRuleExclusion>

Id

Declaration
[JsonProperty(PropertyName = "id")]
public string Id { get; set; }
Property Value
Type Description
string

The OCID of the custom protection rule.

ModSecurityRuleIds

Declaration
[JsonProperty(PropertyName = "modSecurityRuleIds")]
public List<string> ModSecurityRuleIds { get; set; }
Property Value
Type Description
List<string>

The list of the ModSecurity rule IDs that apply to this protection rule. For more information about ModSecurity's open source WAF rules, see Mod Security's documentation.

In this article
Back to top