Skip to content

Commit

Permalink
Added support for "TLS_JA3_FINGERPRINT" and "USER_IP" options for enf…
Browse files Browse the repository at this point in the history
…orceOnKey field in "compute_security_policy" and "compute_security_policy_rule" (#10596) (#18167)

[upstream:0fec637d43ddae75c1b76cc96b9445ece63ecdcb]

Signed-off-by: Modular Magician <magic-modules@google.com>
  • Loading branch information
modular-magician committed May 16, 2024
1 parent d666200 commit c5148c6
Show file tree
Hide file tree
Showing 4 changed files with 1,204 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ func ResourceComputeSecurityPolicy() *schema.Resource {
Type: schema.TypeString,
Optional: true,
Description: `Determines the key to enforce the rateLimitThreshold on`,
ValidateFunc: validation.StringInSlice([]string{"ALL", "IP", "HTTP_HEADER", "XFF_IP", "HTTP_COOKIE", "HTTP_PATH", "SNI", "REGION_CODE", ""}, false),
ValidateFunc: validation.StringInSlice([]string{"ALL", "IP", "HTTP_HEADER", "XFF_IP", "HTTP_COOKIE", "HTTP_PATH", "SNI", "REGION_CODE", "TLS_JA3_FINGERPRINT", "USER_IP", ""}, false),
},

"enforce_on_key_name": {
Expand Down

0 comments on commit c5148c6

Please sign in to comment.