CodeQL library for C#
codeql/csharp-all 1.0.3-dev (changelog, source)
Search

Module ThreatModels

INTERNAL use only. This is an experimental API subject to change without notice.

This module provides extensible predicates for configuring which kinds of MaD models are applicable to generic queries.

Import path

import codeql.threatmodels.ThreatModels

Predicates

currentThreatModel

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

threatModelConfiguration

Holds configuration entries to specify which threat models are enabled.