Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-14422

DefaultShutdownStrategy not masking sensitive information

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.1.0
    • Fix Version/s: 3.1.0
    • Component/s: camel-core
    • Labels:
      None
    • Estimated Complexity:
      Unknown

      Description

      When DefaultShutdownStrategy shuts down a route, it logs sensitive information, like passwords for example. 

       

      For Jt400Endpoint it looks like this:

       

      2020-01-22 13:11:14.126 [Camel (camel-1) thread #585 - ShutdownTask] INFO org.apache.camel.impl.engine.DefaultShutdownStrategy.run:694 - Route: route27 shutdown complete, was consuming from: jt400://user:password@host/QSYS.LIB/USER.LIB/DATAQUEUE.DTAQ

       

      Should DefaultShutdownStrategy use URISupport.sanitizeUri method before logging endpoint URI?

        Attachments

          Activity

            People

            • Assignee:
              davsclaus Claus Ibsen
              Reporter:
              rgala Rafał Gała
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: