Skip to content

Commit

Permalink
Update templated rules document
Browse files Browse the repository at this point in the history
As part of RULES-1044- added the valid values for `action` field
  • Loading branch information
magnesjo committed Jan 25, 2024
1 parent 4079181 commit cd6095f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion docs/resources/site_templated_rule.md
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ Required:

Required:

- `action` (String)
- `action` (String) To block requests immediately use (blockImmediate), Threshold level blocking: For logging use (info), for blocking use (template)
- `block_duration_seconds` (Number)
- `enabled` (Boolean)
- `long_name` (String)
Expand Down
1 change: 1 addition & 0 deletions provider/resource_site_templated_rule.go
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,7 @@ func resourceSiteTemplatedRule() *schema.Resource {
},
"action": {
Type: schema.TypeString,
Description: "To block requests immediately use (blockImmediate), Threshold level blocking: For logging use (info), for blocking use (template)",
Required: true,
},
"block_duration_seconds": {
Expand Down

0 comments on commit cd6095f

Please sign in to comment.