mirror of
https://github.com/github/codeql.git
synced 2025-12-16 16:53:25 +01:00
Added change note, adjusted spacing in comment
This commit is contained in:
@@ -47,7 +47,7 @@ private class TypeType extends RefType {
|
||||
/**
|
||||
* A sanitizer that may remove sensitive information from a string before logging.
|
||||
*
|
||||
* It allows for substring operations taking the first N (or last N, for Kotlin) characters, limited to 7 or fewer.
|
||||
* It allows for substring operations taking the first N (or last N, for Kotlin) characters, limited to 7 or fewer.
|
||||
*/
|
||||
private class SensitiveLoggerSanitizerCalled extends SensitiveLoggerBarrier {
|
||||
SensitiveLoggerSanitizerCalled() {
|
||||
|
||||
@@ -0,0 +1,4 @@
|
||||
---
|
||||
category: minorAnalysis
|
||||
---
|
||||
* Calls to `substring` (for Java), `take` (for Kotlin) and similar functions, when called with a fixed length less than or equal to 7, are now treated as sanitizers for the `java/sensitive-log` query.
|
||||
Reference in New Issue
Block a user