Skip to content

Commit 6b184e6

Browse files
committed
DEBUG-2180 consolidate pii
1 parent 0b24171 commit 6b184e6

1 file changed

Lines changed: 15 additions & 10 deletions

File tree

  • dd-java-agent/agent-debugger/debugger-bootstrap/src/main/java/datadog/trace/bootstrap/debugger/util

dd-java-agent/agent-debugger/debugger-bootstrap/src/main/java/datadog/trace/bootstrap/debugger/util/Redaction.java

Lines changed: 15 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -20,22 +20,24 @@ public class Redaction {
2020
Arrays.asList(
2121
"2fa",
2222
"accesstoken",
23+
"address",
2324
"aiohttpsession",
24-
"apisecret",
25-
"apisignature",
2625
"apikey",
2726
"appkey",
27+
"apisecret",
28+
"apisignature",
2829
"applicationkey",
2930
"auth",
30-
"authtoken",
3131
"authorization",
32+
"authtoken",
3233
"ccnumber",
3334
"certificatepin",
3435
"cipher",
3536
"clientid",
3637
"clientsecret",
3738
"config",
38-
"connect.sid",
39+
"connectionstring",
40+
"connectsid",
3941
"cookie",
4042
"credentials",
4143
"creditcard",
@@ -47,15 +49,17 @@ public class Redaction {
4749
"encryptionkey",
4850
"encryptionkeyid",
4951
"env",
52+
"geolocation",
5053
"gpgkey",
54+
"ipaddress",
5155
"jti",
5256
"jwt",
5357
"licensekey",
5458
"masterkey",
5559
"mysqlpwd",
5660
"nonce",
5761
"oauth",
58-
"oauth_token",
62+
"oauthtoken",
5963
"otp",
6064
"passhash",
6165
"passwd",
@@ -69,20 +73,21 @@ public class Redaction {
6973
"pkcs8",
7074
"privatekey",
7175
"publickey",
76+
"pwd",
7277
"recaptchakey",
7378
"refreshtoken",
7479
"routingnumber",
7580
"salt",
7681
"secret",
82+
"secretkey",
7783
"secrettoken",
78-
"secretKey",
7984
"securityanswer",
8085
"securitycode",
8186
"securityquestion",
8287
"serviceaccountcredentials",
8388
"session",
84-
"sessionkey",
8589
"sessionid",
90+
"sessionkey",
8691
"setcookie",
8792
"signature",
8893
"signaturekey",
@@ -95,12 +100,12 @@ public class Redaction {
95100
"usersession",
96101
"voterid",
97102
"xapikey",
103+
"xauthtoken",
98104
"xcsrftoken",
99105
"xforwardedfor",
100106
"xrealip",
101-
"xauthtoken",
102-
"xsrftoken",
103-
"pwd");
107+
"xsrf",
108+
"xsrftoken");
104109
private static final Set<String> KEYWORDS = ConcurrentHashMap.newKeySet();
105110
private static ClassNameTrie typeTrie = ClassNameTrie.Builder.EMPTY_TRIE;
106111
private static List<String> redactedClasses;

0 commit comments

Comments
 (0)