Skip to content

Add configurable user agent to WP-CLI to detect in firewall logs #5998

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 2 commits into from
Feb 5, 2025

Conversation

amirhmoradi
Copy link
Contributor

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 amirhmoradi requested a review from a team as a code owner October 1, 2024 13:19
@schlessera 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 Feb 5, 2025
@schlessera schlessera added this to the 2.12.0 milestone Feb 5, 2025
@schlessera schlessera merged commit e583f40 into wp-cli:main Feb 5, 2025
34 of 42 checks passed
@schlessera
Copy link
Member

Thanks for the pull request, @amirhmoradi !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants