Skip to content

Commit

Permalink
[flare] Remove proxy credentials from collected datadog.conf
Browse files Browse the repository at this point in the history
  • Loading branch information
olivielpeau committed Nov 17, 2015
1 parent d943c7d commit 5b14cb9
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions utils/flare.py
Original file line number Diff line number Diff line change
Expand Up @@ -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('^ *#.*')

Expand Down

0 comments on commit 5b14cb9

Please sign in to comment.