Compute Engine v1 API - Class WafExpressionSetExpression (2.10.0)

public sealed class WafExpressionSetExpression : IMessage<WafExpressionSetExpression>, IEquatable<WafExpressionSetExpression>, IDeepCloneable<WafExpressionSetExpression>, IBufferMessage, IMessage

Inheritance

object > WafExpressionSetExpression

Namespace

Google.Cloud.Compute.V1

Assembly

Google.Cloud.Compute.V1.dll

Constructors

WafExpressionSetExpression()

public WafExpressionSetExpression()

WafExpressionSetExpression(WafExpressionSetExpression)

public WafExpressionSetExpression(WafExpressionSetExpression other)
Parameter
NameDescription
otherWafExpressionSetExpression

Properties

HasId

public bool HasId { get; }

Gets whether the "id" field is set

Property Value
TypeDescription
bool

HasSensitivity

public bool HasSensitivity { get; }

Gets whether the "sensitivity" field is set

Property Value
TypeDescription
bool

Id

public string Id { get; set; }

Expression ID should uniquely identify the origin of the expression. E.g. owasp-crs-v020901-id973337 identifies Owasp core rule set version 2.9.1 rule id 973337. The ID could be used to determine the individual attack definition that has been detected. It could also be used to exclude it from the policy in case of false positive. required

Property Value
TypeDescription
string

Sensitivity

public int Sensitivity { get; set; }

The sensitivity value associated with the WAF rule ID. This corresponds to the ModSecurity paranoia level, ranging from 1 to 4. 0 is reserved for opt-in only rules.

Property Value
TypeDescription
int