Skip to content

Commit

Permalink
Updating rate limiting example
Browse files Browse the repository at this point in the history
  • Loading branch information
BrooksCunningham authored Mar 28, 2024
1 parent 080c71c commit c3e4bfa
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions examples/resources/sigsci_site_rule/resource.tf
Original file line number Diff line number Diff line change
Expand Up @@ -56,10 +56,14 @@ resource "sigsci_site_rule" "test-ratelimit-rule-conditions" {
value = "/login"
}

rate_limit = {
threshold = 6
rate_limit {
threshold = 6
interval = 10
duration = 300

client_identifiers {
type = "ip"
}
}

actions {
Expand Down

0 comments on commit c3e4bfa

Please sign in to comment.