diff --git a/csharp/ql/lib/semmle/code/csharp/security/dataflow/flowsources/FlowSources.qll b/csharp/ql/lib/semmle/code/csharp/security/dataflow/flowsources/FlowSources.qll index c610b3de4c74..526e337e9dac 100644 --- a/csharp/ql/lib/semmle/code/csharp/security/dataflow/flowsources/FlowSources.qll +++ b/csharp/ql/lib/semmle/code/csharp/security/dataflow/flowsources/FlowSources.qll @@ -20,11 +20,18 @@ abstract class SourceNode extends DataFlow::Node { } /** + * DEPRECATED: Use `ActiveThreatModelSource` instead. + * * A class of data flow sources that respects the * current threat model configuration. */ -class ThreatModelFlowSource extends DataFlow::Node { - ThreatModelFlowSource() { +deprecated class ThreatModelFlowSource = ActiveThreatModelSource; + +/** + * A data flow source that is enabled in the current threat model configuration. + */ +class ActiveThreatModelSource extends DataFlow::Node { + ActiveThreatModelSource() { exists(string kind | // Specific threat model. currentThreatModel(kind) and diff --git a/go/ql/lib/semmle/go/security/FlowSources.qll b/go/ql/lib/semmle/go/security/FlowSources.qll index f982419f7c8a..258f924b6fb2 100644 --- a/go/ql/lib/semmle/go/security/FlowSources.qll +++ b/go/ql/lib/semmle/go/security/FlowSources.qll @@ -55,11 +55,18 @@ abstract class SourceNode extends DataFlow::Node { } /** + * DEPRECATED: Use `ActiveThreatModelSource` instead. + * * A class of data flow sources that respects the * current threat model configuration. */ -class ThreatModelFlowSource extends DataFlow::Node { - ThreatModelFlowSource() { +deprecated class ThreatModelFlowSource = ActiveThreatModelSource; + +/** + * A data flow source that is enabled in the current threat model configuration. + */ +class ActiveThreatModelSource extends DataFlow::Node { + ActiveThreatModelSource() { exists(string kind | // Specific threat model. currentThreatModel(kind) and diff --git a/java/ql/lib/semmle/code/java/dataflow/FlowSources.qll b/java/ql/lib/semmle/code/java/dataflow/FlowSources.qll index d18d8e4c8a49..bd3ae459a97a 100644 --- a/java/ql/lib/semmle/code/java/dataflow/FlowSources.qll +++ b/java/ql/lib/semmle/code/java/dataflow/FlowSources.qll @@ -42,11 +42,18 @@ abstract class SourceNode extends DataFlow::Node { } /** + * DEPRECATED: Use `ActiveThreatModelSource` instead. + * * A class of data flow sources that respects the * current threat model configuration. */ -class ThreatModelFlowSource extends DataFlow::Node { - ThreatModelFlowSource() { +deprecated class ThreatModelFlowSource = ActiveThreatModelSource; + +/** + * A data flow source that is enabled in the current threat model configuration. + */ +class ActiveThreatModelSource extends DataFlow::Node { + ActiveThreatModelSource() { exists(string kind | // Specific threat model. currentThreatModel(kind) and