CodeQL library for Python
codeql/python-all 3.1.2-dev (changelog, source)
Search

Predicate SensitiveDataModeling::sensitiveLookupStringConst

Gets a reference (in local scope) to a string constant that, if used as the key in a lookup, indicates the presence of sensitive data with classification.

Import path

import semmle.python.dataflow.new.SensitiveDataSources
Node sensitiveLookupStringConst(SensitiveDataClassification classification)