Show / Hide Table of Contents

Class ProtectionCapability

References an OCI-managed protection capability. Checks if HTTP requests/responses are malicious.

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

Properties

ActionName

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

Override action to take if capability was triggered, defined in Protection Rule for this capability. Only actions of type CHECK are allowed.

CollaborativeActionThreshold

Declaration
[JsonProperty(PropertyName = "collaborativeActionThreshold")]
public int? CollaborativeActionThreshold { get; set; }
Property Value
Type Description
int?

The minimum sum of weights of associated collaborative protection capabilities that have triggered which must be reached in order for this capability to trigger. This field is ignored for non-collaborative capabilities.

CollaborativeWeights

Declaration
[JsonProperty(PropertyName = "collaborativeWeights")]
public List<CollaborativeCapabilityWeightOverride> CollaborativeWeights { get; set; }
Property Value
Type Description
List<CollaborativeCapabilityWeightOverride>

Explicit weight values to use for associated collaborative protection capabilities.

Exclusions

Declaration
[JsonProperty(PropertyName = "exclusions")]
public ProtectionCapabilityExclusions Exclusions { get; set; }
Property Value
Type Description
ProtectionCapabilityExclusions

Key

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

Unique key of referenced protection capability.

Remarks

Required

Version

Declaration
[Required(ErrorMessage = "Version is required.")]
[JsonProperty(PropertyName = "version")]
public int? Version { get; set; }
Property Value
Type Description
int?

Version of referenced protection capability.

Remarks

Required

In this article
Back to top