Show / Hide Table of Contents

Class RequestAccessControl

Module that allows inspection of HTTP request properties and to return a defined HTTP response. In this module, rules with the name 'Default Action' are not allowed, since this name is reserved for default action logs.

Inheritance
object
RequestAccessControl
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
public class RequestAccessControl

Properties

DefaultActionName

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

References an default Action to take if no AccessControlRule was matched. Allowed action types:

  • ALLOW continues execution of other modules and their rules.
  • RETURN_HTTP_RESPONSE terminates further execution of modules and rules and returns defined HTTP response.
Remarks

Required

Rules

Declaration
[JsonProperty(PropertyName = "rules")]
public List<AccessControlRule> Rules { get; set; }
Property Value
Type Description
List<AccessControlRule>

Ordered list of AccessControlRules. Rules are executed in order of appearance in this array.

In this article
Back to top