Skip to content

Commit

Permalink
Small updates
Browse files Browse the repository at this point in the history
  • Loading branch information
pedrosousa committed Dec 11, 2024
1 parent 76de0be commit bcb8848
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,6 @@ For more information on configuring custom detection locations, refer to the [Te
The following example creates a [custom ruleset](/ruleset-engine/custom-rulesets/) in the account with ID `<ACCOUNT_ID>` containing a single custom rule. This custom ruleset is then deployed using a separate `cloudflare_ruleset` Terraform resource. If you do not deploy a custom ruleset, it will not execute.

:::caution

You can only create and deploy custom rulesets at the account level.
:::

Expand Down Expand Up @@ -153,9 +152,7 @@ For more information on configuring and deploying custom rulesets, refer to [Wor

<Render file="leaked-credentials-recommend-detection" product="waf" />

The following configuration creates a custom ruleset with a single rule that
[checks for exposed
credentials](/waf/managed-rules/check-for-exposed-credentials/configure-api/#create-a-custom-rule-checking-for-exposed-credentials).
The following configuration creates a custom ruleset with a single rule that [checks for exposed credentials](/waf/managed-rules/check-for-exposed-credentials/configure-api/#create-a-custom-rule-checking-for-exposed-credentials).

You can only add exposed credential checks to rules in a custom ruleset (that is, a ruleset with `kind = "custom"`).

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@

```terraform
resource "cloudflare_leaked_credential_check" "zone_lcc_example" {
zone_id = "<ZONE_ID>"
enabled = true
zone_id = "<ZONE_ID>"
enabled = true
}
```

For more information, refer to the [Terraform Cloudflare provider](https://registry.terraform.io/providers/cloudflare/cloudflare/4.48.0/docs/resources/leaked_credential_check) documentation.
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).

0 comments on commit bcb8848

Please sign in to comment.