Show / Hide Table of Contents

Class WebAppFirewallPolicyRule

Base schema for WebAppFirewallPolicyRules, including properties common to all of them.

Inheritance
object
WebAppFirewallPolicyRule
AccessControlRule
ProtectionRule
RequestRateLimitingRule
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Oci.WafService.Models
Assembly: OCI.DotNetSDK.Waf.dll
Syntax
[JsonConverter(typeof(WebAppFirewallPolicyRuleModelConverter))]
public class WebAppFirewallPolicyRule

Properties

ActionName

Declaration
[Required(ErrorMessage = "ActionName is required.")]
[JsonProperty(PropertyName = "actionName")]
public string ActionName { get; set; }
Property Value
Type Description
string

References action by name from actions defined in WebAppFirewallPolicy.

Remarks

Required

Condition

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

An expression that determines whether or not the rule action should be executed.

ConditionLanguage

Declaration
[JsonProperty(PropertyName = "conditionLanguage")]
[JsonConverter(typeof(ResponseEnumConverter))]
public WebAppFirewallPolicyRule.ConditionLanguageEnum? ConditionLanguage { get; set; }
Property Value
Type Description
WebAppFirewallPolicyRule.ConditionLanguageEnum?

The language used to parse condition from field condition. Available languages:

  • JMESPATH an extended JMESPath language syntax.

Name

Declaration
[Required(ErrorMessage = "Name is required.")]
[JsonProperty(PropertyName = "name")]
public string Name { get; set; }
Property Value
Type Description
string

Rule name. Must be unique within the module.

Remarks

Required

In this article
Back to top