这是indexloc提供的服务,不要输入任何密码
Skip to content

[firewall config resource] Rename bot_filter to bot_protection #335

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

Merged
merged 4 commits into from
Jun 2, 2025

Conversation

OhMyVolk
Copy link
Contributor

@OhMyVolk OhMyVolk commented Jun 2, 2025

Rename bot_filter to bot_protection.

Enforce mutual exclusivity between bot_filter and bot_protection using objectvalidator.ConflictsWith.
Add deprecation notice on bot_filter block.

When managing state and interacting with the API, we default to bot_protection whenever possible, and fall back to bot_filter when necessary.

Update the docs and example.

@OhMyVolk OhMyVolk merged commit de02728 into main Jun 2, 2025
5 checks passed
@OhMyVolk OhMyVolk deleted the volk/rename-bot-filter-bot-protection branch June 2, 2025 19:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants