Show / Hide Table of Contents

Class Recommendation

A recommended protection rule for a web application. This recommendation can be accepted to apply it to the Web Application Firewall configuration for this policy.
Use the POST /waasPolicies/{waasPolicyId}/actions/acceptWafConfigRecommendations method to accept recommended protection rules.

Inheritance
object
Recommendation
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Oci.WaasService.Models
Assembly: OCI.DotNetSDK.Waas.dll
Syntax
public class Recommendation

Properties

Description

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

The description of the recommended protection rule.

Key

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

The unique key for the recommended protection rule.

Labels

Declaration
[JsonProperty(PropertyName = "labels")]
public List<string> Labels { get; set; }
Property Value
Type Description
List<string>

The list of labels for the recommended protection rule.

ModSecurityRuleIds

Declaration
[JsonProperty(PropertyName = "modSecurityRuleIds")]
public List<string> ModSecurityRuleIds { get; set; }
Property Value
Type Description
List<string>

The list of the ModSecurity rule IDs associated with the protection rule. For more information about ModSecurity's open source WAF rules, see Mod Security's documentation.

Name

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

The name of the recommended protection rule.

RecommendedAction

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

The recommended action to apply to the protection rule.

In this article
Back to top