Skip to content

Commit 0d85ead

Browse files
committed
Update Terraform example
1 parent 46e497f commit 0d85ead

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/content/partials/waf/leaked-credentials-detection-add-custom-location-terraform.mdx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,11 @@
33
---
44

55
```terraform
6-
# Create user-defined detection locations for leaked credentials detection
76
resource "cloudflare_leaked_credential_check_rule" "custom_location_example" {
87
zone_id = "<ZONE_ID>"
98
username = "lookup_json_string(http.request.body.raw, \"user\")"
109
password = "lookup_json_string(http.request.body.raw, \"secret\")"
1110
}
1211
```
1312

14-
For more information, refer to the [Terraform Cloudflare provider documentation](https://registry.terraform.io/providers/cloudflare/cloudflare/4.48.0/docs/resources/leaked_credential_check_rule).
13+
For more information, refer to the [Terraform Cloudflare provider documentation](https://registry.terraform.io/providers/cloudflare/cloudflare/latest/docs).

0 commit comments

Comments
 (0)