CodeQL library for Java/Kotlin
codeql/java-all 4.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)