CodeQL library for C#
codeql/csharp-all 4.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)