Show / Hide Table of Contents

Class CustomProtectionRuleSetting

The OCID and action of a custom protection rule.

Inheritance
object
CustomProtectionRuleSetting
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 CustomProtectionRuleSetting

Properties

Action

Declaration
[JsonProperty(PropertyName = "action")]
[JsonConverter(typeof(ResponseEnumConverter))]
public CustomProtectionRuleSetting.ActionEnum? Action { get; set; }
Property Value
Type Description
CustomProtectionRuleSetting.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.

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.

In this article
Back to top