mirror of
https://github.com/github/codeql.git
synced 2025-12-20 18:56:32 +01:00
Python: Handle _ in sensitive-data-sources
This commit is contained in:
@@ -39,7 +39,7 @@ print(x) # $ SensitiveUse=password
|
||||
|
||||
# some prefixes makes us ignore it as a source
|
||||
not_found.isSecret
|
||||
not_found.is_secret # $ SPURIOUS: SensitiveDataSource=secret
|
||||
not_found.is_secret
|
||||
|
||||
def my_func(non_sensitive_name):
|
||||
x = non_sensitive_name()
|
||||
|
||||
Reference in New Issue
Block a user