Skip to content

Commit c5148c6

Browse files
Added support for "TLS_JA3_FINGERPRINT" and "USER_IP" options for enforceOnKey field in "compute_security_policy" and "compute_security_policy_rule" (#10596) (#18167)
[upstream:0fec637d43ddae75c1b76cc96b9445ece63ecdcb] Signed-off-by: Modular Magician <[email protected]>
1 parent d666200 commit c5148c6

4 files changed

+1204
-1
lines changed

google/services/compute/resource_compute_security_policy.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,7 @@ func ResourceComputeSecurityPolicy() *schema.Resource {
218218
Type: schema.TypeString,
219219
Optional: true,
220220
Description: `Determines the key to enforce the rateLimitThreshold on`,
221-
ValidateFunc: validation.StringInSlice([]string{"ALL", "IP", "HTTP_HEADER", "XFF_IP", "HTTP_COOKIE", "HTTP_PATH", "SNI", "REGION_CODE", ""}, false),
221+
ValidateFunc: validation.StringInSlice([]string{"ALL", "IP", "HTTP_HEADER", "XFF_IP", "HTTP_COOKIE", "HTTP_PATH", "SNI", "REGION_CODE", "TLS_JA3_FINGERPRINT", "USER_IP", ""}, false),
222222
},
223223

224224
"enforce_on_key_name": {

0 commit comments

Comments
 (0)