Add configurable user agent to WP-CLI to detect in firewall logs by amirhmoradi · Pull Request #5998 · wp-cli/wp-cli
Navigation Menu
{{ message }}
- Notifications You must be signed in to change notification settings
- Fork 1k
Merged
schlessera merged 2 commits intowp-cli:mainfrom
Feb 5, 2025Merged
Add configurable user agent to WP-CLI to detect in firewall logs#5998
schlessera merged 2 commits intowp-cli:mainfrom
Add configurable user agent to WP-CLI to detect in firewall logs#5998
schlessera merged 2 commits intowp-cli:mainfrom
Conversation
Copy link
Contributor
amirhmoradi
commented
Oct 1, 2024
amirhmoradi
commented
To make requests identifiable in firewall logs and do not trigger false alarms, this allows setting a user agent in ENV VARS or defaults to a generic user agent.
To make requests identifiable in firewall logs and do not trigger false alarms, this allows setting a user agent in ENV VARS or defaults to a generic user agent.
amirhmoradi
requested a review
from a team
as a code owner
schlessera
changed the title
Update wp-cli.php to set a user agent in common headers
Add configurable user agent to WP-CLI to detect in firewall logs
schlessera
added
the
scope:framework
label
schlessera
added this to the
2.12.0 milestone
schlessera approved these changes Feb 5, 2025
schlessera
merged commit
e583f40
into
wp-cli:main
Copy link
Member
schlessera
commented
Feb 5, 2025
schlessera commented
Feb 5, 2025Thanks for the pull request, @amirhmoradi !
mrsdizzie
mentioned this pull request
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment