CodeQL library for JavaScript/TypeScript
codeql/javascript-all 1.1.2-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)