-
Notifications
You must be signed in to change notification settings - Fork 808
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
Jetpack: Update WAF settings UI to allow toggling of automatic and manual rules independently #27785
Jetpack: Update WAF settings UI to allow toggling of automatic and manual rules independently #27785
Conversation
…nual rules independantly
…d hooks regardless if rules are enabled or not
…onstants to be set outside of WP context
Are you an Automattician? You can now test your Pull Request on WordPress.com. On your sandbox, run |
Thank you for your PR! When contributing to Jetpack, we have a few suggestions that can help us test and review your patch:
This comment will be updated as you work on your PR and make changes. If you think that some of those checks are not needed for your PR, please explain why you think so. Thanks for cooperation 🤖 The e2e test report can be found here. Please note that it can take a few minutes after the e2e tests checks are complete for the report to be available. 🔴 Action required: Please add missing changelog entries for the following projects: Use the Jetpack CLI tool to generate changelog entries by running the following command: Once your PR is ready for review, check one last time that all required checks (other than "Required review") appearing at the bottom of this PR are passing or skipped. Jetpack plugin:
Protect plugin:
|
…no plan available
…pack-waf-settings-ui
Blocking PRs merged, pulled the latest from the project branch, and fixed some lingering issues. Ready for re-review! |
It would appear that automatic rules are still being enabled and included by default. On a fresh install with a Scan plan, when I activate the WAF module via Jetpack settings, I can see the I believe we now have a separate task dedicated to handling situations where the |
@dkmyta Thanks for catching these issues! I've fixed both the auto-enabling of automatic rules, and addressed the "failed to empty rules.php" issue as well. |
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.
Works perfectly!
Changes proposed in this Pull Request:
Other information:
Jetpack product discussion
peb6dq-hs-p2
1201069996155224-as-1203286905507161
Does this pull request change what data or activity we track or use?
No
Testing instructions:
/wp-admin/admin.php?page=jetpack#/settings
Screenshots