paul8263 opened a new issue, #6615:
URL: https://github.com/apache/kyuubi/issues/6615

   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of 
Conduct](https://www.apache.org/foundation/policies/conduct)
   
   
   ### Search before asking
   
   - [X] I have searched in the 
[issues](https://github.com/apache/kyuubi/issues?q=is%3Aissue) and found no 
similar issues.
   
   
   ### Describe the feature
   
   Add a switch for enabling/disabling jetty sending server version in response.
   
   
   
   
   ### Motivation
   
   By default Jetty always send version in ressponse, such as 
Jetty(9.4.54.v20240208), which could expose vulnerablilty. Malicious visitors 
could easily detect Jetty version and then perform specific attack.
   
   ### Describe the solution
   
   Add a config item that controls whether Jetty should send its version in 
response.
   
   Sending Jetty version could be disabled by calling 
HttpConfiguration::setSendServerVersion(false)
   
   ### Additional context
   
   _No response_
   
   ### Are you willing to submit PR?
   
   - [X] Yes. I would be willing to submit a PR with guidance from the Kyuubi 
community to improve.
   - [ ] No. I cannot submit a PR at this time.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to