Skip to content

Commit

Permalink
New fields for rate_limit rule
Browse files Browse the repository at this point in the history
  • Loading branch information
Igor committed Aug 15, 2024
1 parent 4b5f7c3 commit e192d3a
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions action.go
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,11 @@ type (
CredStuffMode string `json:"cred_stuff_mode,omitempty"`
CaseSensitive *bool `json:"case_sensitive,omitempty"`
LoginPoint TwoDimensionalSlice `json:"login_point,omitempty"`
Delay int `json:"delay,omitempty"`
Burst int `json:"burst,omitempty"`
Rate int `json:"rate,omitempty"`
RspStatus int `json:"rsp_status,omitempty"`
TimeUnit string `json:"time_unit,omitempty"`
}

// ActionFilter is the specific filter for getting the rules.
Expand Down

0 comments on commit e192d3a

Please sign in to comment.