From 20ccedc6a9285b9533d4226c5156e8819c1ba8a4 Mon Sep 17 00:00:00 2001 From: Daniel Corbett <38925638+daniel-corbett@users.noreply.github.com> Date: Wed, 27 Mar 2024 09:44:38 -0400 Subject: [PATCH] DOC: add verifyToken to site rules (#215) This commit extends the documentation to make it clear that `verifyToken` is usable as an action within a site rule. --- docs/resources/site_rule.md | 2 +- provider/resource_site_rule.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/resources/site_rule.md b/docs/resources/site_rule.md index 358a7c4..520a2bb 100644 --- a/docs/resources/site_rule.md +++ b/docs/resources/site_rule.md @@ -245,7 +245,7 @@ Optional: Required: -- `type` (String) (addSignal, allow, block, browserChallenge, excludeSignal) (rateLimit rule valid values: logRequest, blockSignal) +- `type` (String) (addSignal, allow, block, browserChallenge, excludeSignal, verifyToken) (rateLimit rule valid values: logRequest, blockSignal) Optional: diff --git a/provider/resource_site_rule.go b/provider/resource_site_rule.go index 9414659..4af443b 100644 --- a/provider/resource_site_rule.go +++ b/provider/resource_site_rule.go @@ -63,7 +63,7 @@ func resourceSiteRule() *schema.Resource { Schema: map[string]*schema.Schema{ "type": { Type: schema.TypeString, - Description: "(addSignal, allow, block, browserChallenge, excludeSignal) (rateLimit rule valid values: logRequest, blockSignal)", + Description: "(addSignal, allow, block, browserChallenge, excludeSignal, verifyToken) (rateLimit rule valid values: logRequest, blockSignal)", Required: true, }, "signal": {