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