Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id DEFCF200C36 for ; Thu, 23 Feb 2017 10:16:47 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id DDB01160B50; Thu, 23 Feb 2017 09:16:47 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 2DE5D160B62 for ; Thu, 23 Feb 2017 10:16:47 +0100 (CET) Received: (qmail 36262 invoked by uid 500); 23 Feb 2017 09:16:46 -0000 Mailing-List: contact issues-help@camel.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@camel.apache.org Delivered-To: mailing list issues@camel.apache.org Received: (qmail 36246 invoked by uid 99); 23 Feb 2017 09:16:46 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 23 Feb 2017 09:16:46 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id D9B54C20ED for ; Thu, 23 Feb 2017 09:16:45 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -0.686 X-Spam-Level: X-Spam-Status: No, score=-0.686 tagged_above=-999 required=6.31 tests=[KAM_LAZY_DOMAIN_SECURITY=1, RP_MATCHES_RCVD=-2.999, URI_HEX=1.313] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id d3Vmygo9PwlZ for ; Thu, 23 Feb 2017 09:16:45 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id C24125FAD4 for ; Thu, 23 Feb 2017 09:16:44 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 4FBFCE086E for ; Thu, 23 Feb 2017 09:16:44 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 103DD2412D for ; Thu, 23 Feb 2017 09:16:44 +0000 (UTC) Date: Thu, 23 Feb 2017 09:16:44 +0000 (UTC) From: "Claus Ibsen (JIRA)" To: issues@camel.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (CAMEL-10885) Add mask option to log EIP MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Thu, 23 Feb 2017 09:16:48 -0000 [ https://issues.apache.org/jira/browse/CAMEL-10885?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Claus Ibsen updated CAMEL-10885: -------------------------------- Estimated Complexity: Moderate (was: Novice) > Add mask option to log EIP > -------------------------- > > Key: CAMEL-10885 > URL: https://issues.apache.org/jira/browse/CAMEL-10885 > Project: Camel > Issue Type: New Feature > Components: camel-core > Reporter: Claus Ibsen > Priority: Minor > > See nabble > http://camel.465427.n5.nabble.com/Mask-password-using-log-component-tp5794301.html > We can add a mask option to the Log EIP. It would then take the toString to be logged, and then run a series of reg exp to search/replace sensitive information such as password and passphrase. > We need to do this for key=value, xml and json format. So it kinda works on most common formats. > We can then add this in the docs that this is what it can do, so users can use it as-is or not. Only if they have very special cases they would then need to write their own mask method and call as a bean from the log message. > We can also add such functionality to the log component itself, eg . > So they reuse the same masking algorithm. > See UriSupport which have masking for uris with key=value -- This message was sent by Atlassian JIRA (v6.3.15#6346)