File tree Expand file tree Collapse file tree
rust/ql/test/library-tests/sensitivedata
shared/concepts/codeql/concepts/internal Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -41,7 +41,7 @@ fn test_passwords(
4141 sink ( my_password) ; // $ sensitive=password
4242 sink ( password_str) ; // $ sensitive=password
4343 sink ( password_confirmation) ; // $ sensitive=password
44- sink ( profile_password) ; // $ MISSING: sensitive=password
44+ sink ( profile_password) ; // $ sensitive=password
4545 sink ( unencrypted_password) ; // $ MISSING: sensitive=password
4646 sink ( unencoded_password) ; // $ MISSING: sensitive=password
4747 sink ( pass_phrase) ; // $ sensitive=password
Original file line number Diff line number Diff line change @@ -151,7 +151,7 @@ module HeuristicNames {
151151 string notSensitiveRegexp ( ) {
152152 result =
153153 "(?is).*([^\\w$.-]|redact|censor|obfuscate|hash|md5|sha|random|((?<!un)(en))?(crypt|(?<!pass)code)|"
154- + "certain|concert|secretar|wildcard|account(ant|ab|ing|ed)|file|path|([_-]|\\b)url).*"
154+ + "certain|concert|secretar|wildcard|account(ant|ab|ing|ed)|(?<!pro) file|path|([_-]|\\b)url).*"
155155 }
156156
157157 /**
You can’t perform that action at this time.
0 commit comments