CodeQL library for Python
codeql/python-all 3.0.1-dev (changelog, source)
Search

Predicate currentThreatModel

Holds if the source model kind kind is relevant for generic queries under the current threat model configuration.

Import path

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