-
Notifications
You must be signed in to change notification settings - Fork 619
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Align phases and actions with those provided by Rulesets API #1367
Align phases and actions with those provided by Rulesets API #1367
Conversation
changelog detected ✅ |
bb3c7e9
to
52e6cc1
Compare
```release-note:breaking-change | ||
rulesets: Rename `RulesetPhaseRateLimit` to `RulesetPhaseHTTPRatelimit`, to match the phase name | ||
``` | ||
|
||
```release-note:breaking-change | ||
rulesets: Rename `RulesetPhaseSuperBotFightMode` to `RulesetPhaseHTTPRequestSBFM`, to match the phase name | ||
``` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I made these changes just to be consistent with the names of the other phase types. @jacobbednarz we can revert this part if you think it's too much of a breaking change
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nope, that's perfect, thanks!
* Remove the `allow` action, since this does not exist. * Add the `ddos_mitigation` action. * Remove the `http_request_main` phase, since this does not exist. * Remove the `http_response_headers_transform_managed` and `http_request_late_transform_managed` phases, since they are not exposed publicly. The Managed Transforms API can be used to configure managed transforms. * Rename `RulesetPhaseRateLimit` and `RulesetPhaseSuperBotFightMode` to be consistent with the phase names.
52e6cc1
to
5d05a1d
Compare
This functionality has been released in v0.75.0. For further feature requests or bug reports with this functionality, please create a new GitHub issue following the template. Thank you! |
Description
Sort phase and actions types in alphabetical order.
Remove the
allow
action, since this does not exist.Add the
ddos_mitigation
action.Remove the
http_request_main
phase, since this does not exist.Remove the
http_response_headers_transform_managed
andhttp_request_late_transform_managed
phases, since they are not exposed publicly. The Managed Transforms API can be used to configure managed transforms.Rename
RulesetPhaseRateLimit
andRulesetPhaseSuperBotFightMode
to be consistent with the phase names.Has your change been tested?
Passes existing tests, no new functionality has been introduced.
Types of changes
What sort of change does your code introduce/modify?
Checklist:
and relies on stable APIs.