Skip to content

Commit

Permalink
DOC: add verifyToken to site rules (#215)
Browse files Browse the repository at this point in the history
This commit extends the documentation to make it clear that
`verifyToken` is usable as an action within a site rule.
  • Loading branch information
daniel-corbett authored Mar 27, 2024
1 parent acd57d8 commit 20ccedc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/resources/site_rule.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:

Expand Down
2 changes: 1 addition & 1 deletion provider/resource_site_rule.go
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand Down

0 comments on commit 20ccedc

Please sign in to comment.