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

Predicate knownThreatModel

Holds if the specified threat model kind is mentioned in either the configuration or grouping table.

Import path

import codeql.threatmodels.ThreatModels
predicate knownThreatModel(string kind)