ComputeSecurityPolicySecurityPolicyAdvancedOptionsConfig class

advanced_options_config -- knobs that apply across the whole policy: JSON-body inspection for preconfigured WAF rules, log verbosity, and client-IP resolution headers.

Annotations
  • @immutable

Constructors

ComputeSecurityPolicySecurityPolicyAdvancedOptionsConfig({SecurityPolicyJsonParsing? jsonParsing, SecurityPolicyLogLevel? logLevel, TfArg<String>? requestBodyInspectionSize, List<String>? userIpRequestHeaders, ComputeSecurityPolicySecurityPolicyJsonCustomConfig? jsonCustomConfig})
const

Properties

hashCode int
The hash code for this object.
no setterinherited
jsonCustomConfig ComputeSecurityPolicySecurityPolicyJsonCustomConfig?
Custom Content-Type → JSON parser mapping. Only honored when jsonParsing is SecurityPolicyJsonParsing.standard.
final
jsonParsing SecurityPolicyJsonParsing?
JSON-body parsing mode. Required to be SecurityPolicyJsonParsing.standard for the JSON-aware preconfigured WAF rules to inspect bodies.
final
logLevel SecurityPolicyLogLevel?
Cloud Logging verbosity for this policy.
final
requestBodyInspectionSize → TfArg<String>?
Max request body size to inspect with WAF ('8KB', '16KB', '32KB', '48KB', '64KB' -- case-insensitive). Larger values catch more attacks at the cost of latency / cost.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
userIpRequestHeaders List<String>?
Headers Cloud Armor consults to derive the client IP (in addition to the L4 source). Case-insensitive header names; typically 'X-Forwarded-For' or a vendor-specific equivalent.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toArgMap() Map<String, Object?>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited