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.
Inherited Members
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:
|
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. |