CodeQL library for JavaScript/TypeScript
codeql/javascript-all 2.0.1-dev (changelog, source)
Search

Predicate HeuristicNames::maybeSensitiveRegexp

Gets a regular expression that identifies strings that may indicate the presence of sensitive data, with classification describing the kind of sensitive data involved.

Import path

import javascript
string maybeSensitiveRegexp(SensitiveDataClassification classification)