davsclaus opened a new pull request, #29597:
URL: https://github.com/apache/camel/pull/29597

   _Claude Code on behalf of davsclaus_
   
   The `endpoints` and `services` dev consoles give the endpoint URI as 
configured, so with connect-service/ftp the Endpoints tab and `tui_get_table` 
showed
   
   ```
   ftp://localhost:2121/courier?...&password=RAW(admin)&username=RAW(admin)
   ```
   
   while the routes and events of the same status had `password=xxxxxx`. The 
dev consoles are for development, but the screens of the TUI may be used by 
others too, so the TUI masks them.
   
   - `StatusParser.masked`: every endpoint URI and URL the status parser reads 
(endpoints, services and their service URL, consumers, producers, routes, 
processors, HTTP endpoints) goes through `URISupport.sanitizeUri`, as Camel 
masks them in its logs. Already masked values stay as they are.
   - What acts on an endpoint does not take these URIs (Send Message, Browse); 
chaos and the topology compare them without their query.
   
   Checked live with connect-service/ftp: the Endpoints tab and `tui_get_table` 
say `password=xxxxxx&username=xxxxxx`.
   
   Test: `StatusParserTest.theSecretsOfAnEndpointAreMasked`. The TUI suite 
passes locally.
   
   🤖 Generated with [Claude Code](https://claude.com/claude-code)
   


-- 
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]

Reply via email to