Class WaasPolicyCustomProtectionRuleSummary
The OCID and action of a custom protection rule.
Inherited Members
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.
|
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. |