Class ProtectionCapability
References an OCI-managed protection capability. Checks if HTTP requests/responses are malicious.
Inherited Members
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