CodeQL library for Python
codeql/python-all 2.1.3-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)