diff --git a/javascript/ql/experimental/adaptivethreatmodeling/lib/experimental/adaptivethreatmodeling/EndpointTypes.qll b/javascript/ql/experimental/adaptivethreatmodeling/lib/experimental/adaptivethreatmodeling/EndpointTypes.qll index 4f4bc2782ab..aa625b12862 100644 --- a/javascript/ql/experimental/adaptivethreatmodeling/lib/experimental/adaptivethreatmodeling/EndpointTypes.qll +++ b/javascript/ql/experimental/adaptivethreatmodeling/lib/experimental/adaptivethreatmodeling/EndpointTypes.qll @@ -6,7 +6,7 @@ * representation of each of these classes. */ newtype TEndpointType = - TNotASinkType() or + TNegativeType() or TXssSinkType() or TNosqlInjectionSinkType() or TSqlInjectionSinkType() or @@ -21,9 +21,9 @@ abstract class EndpointType extends TEndpointType { string toString() { result = getDescription() } } -/** The `NotASink` class that can be predicted by endpoint scoring models. */ -class NotASinkType extends EndpointType, TNotASinkType { - override string getDescription() { result = "NotASink" } +/** The `Negative` class that can be predicted by endpoint scoring models. */ +class NegativeType extends EndpointType, TNegativeType { + override string getDescription() { result = "Negative" } override int getEncoding() { result = 0 } }