MarkLee131
20cfe29199
Java: reduce false positives in sensitive-log by expanding FP exclusion regex
The getCommonSensitiveInfoFPRegex() only excluded "null", "tokenizer", and
"tokenImage", causing widespread false positives for common non-sensitive
variable names containing "token" or "secret".
This adds exclusions for three categories:
- Pagination/iteration tokens: nextToken (AWS SDK), pageToken (GCP),
continuationToken (Azure), etc.
- Token metadata: tokenType (OAuth), tokenEndpoint (OIDC), tokenCount,
tokenIndex, tokenLength, tokenUrl, etc.
- Secret metadata: secretName (K8s/AWS), secretId (Azure),
secretVersion, secretArn, secretPath, etc.
All truly sensitive variable names (accessToken, clientSecret, secretKey,
refreshToken, etc.) remain correctly flagged.
2026-04-04 21:33:35 +08:00
..
2025-07-17 18:58:52 +02:00
2025-06-24 16:41:35 +02:00
2025-06-24 16:41:39 +02:00
2025-06-24 16:41:43 +02:00
2026-03-04 12:44:54 +00:00
2025-06-24 16:41:46 +02:00
2026-01-13 21:48:43 +01:00
2025-03-11 15:20:58 -04:00
2025-06-26 13:22:05 +02:00
2024-12-12 13:21:25 +01:00
2026-02-16 12:03:02 +00:00
2024-12-12 13:21:25 +01:00
2024-12-12 13:21:25 +01:00
2026-03-29 11:53:06 +08:00
2026-03-04 12:44:54 +00:00
2024-07-25 18:12:45 +02:00
2025-06-24 16:41:58 +02:00
2025-07-17 18:58:56 +02:00
2026-03-04 12:44:54 +00:00
2026-03-04 12:44:54 +00:00
2026-03-04 12:44:54 +00:00
2024-12-12 13:21:25 +01:00
2026-03-04 12:44:54 +00:00
2025-06-24 16:42:02 +02:00
2026-03-28 16:53:46 +08:00
2025-06-24 16:42:04 +02:00
2018-08-30 10:48:05 +01:00
2020-10-01 15:38:56 -04:00
2025-06-24 16:42:06 +02:00
2025-03-11 15:20:58 -04:00
2025-03-14 11:44:00 +00:00
2021-02-09 09:16:57 -05:00
2025-06-24 16:42:08 +02:00
2025-06-24 16:42:10 +02:00
2025-06-24 16:42:12 +02:00
2025-07-17 18:58:59 +02:00
2025-07-16 14:42:07 +01:00
2025-06-24 16:42:17 +02:00
2026-03-04 15:03:24 +00:00
2026-04-04 21:33:35 +08:00
2025-06-24 16:42:19 +02:00
2024-12-12 13:21:25 +01:00
2025-07-16 15:25:45 +01:00
2025-06-24 16:42:23 +02:00
2018-08-30 10:48:05 +01:00
2024-12-12 13:21:25 +01:00
2025-06-24 16:42:26 +02:00
2022-09-26 12:15:25 +02:00
2026-03-04 12:44:54 +00:00
2025-06-24 16:42:28 +02:00
2026-01-14 11:50:52 +01:00
2025-07-17 18:59:03 +02:00
2022-11-21 10:11:57 +01:00
2021-02-09 09:17:35 -05:00
2021-06-03 16:27:36 +02:00
2025-06-24 16:42:30 +02:00
2026-03-05 13:32:52 +00:00
2025-06-24 16:42:35 +02:00
2024-12-12 13:21:25 +01:00
2026-03-04 12:44:54 +00:00
2024-12-12 13:21:25 +01:00
2026-03-04 12:44:54 +00:00
2021-02-22 13:26:51 -05:00
2026-03-04 12:44:54 +00:00