From 5b14cb902afe78803f7e780ed327e5670ec9cca6 Mon Sep 17 00:00:00 2001 From: Olivier Vielpeau Date: Tue, 10 Nov 2015 17:12:00 -0500 Subject: [PATCH] [flare] Remove proxy credentials from collected `datadog.conf` --- utils/flare.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/utils/flare.py b/utils/flare.py index 3f07134aee..cb4eb9edc3 100644 --- a/utils/flare.py +++ b/utils/flare.py @@ -95,6 +95,11 @@ class Flare(object): r'api_key: *************************\1', 'api_key' ), + CredentialPattern( + re.compile('^(proxy_user|proxy_password): *.+'), + r'\1: ********', + 'proxy credentials' + ), ] COMMENT_REGEX = re.compile('^ *#.*')