Skip to content

Commit bd9e845

Browse files
committed
update column names and remove encoding value
1 parent f1f1526 commit bd9e845

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

javascript/ql/experimental/adaptivethreatmodeling/modelbuilding/extraction/ExtractEndpointMapping.ql

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,19 +4,19 @@ import experimental.adaptivethreatmodeling.TaintedPathATM as TaintedPathATM
44
import experimental.adaptivethreatmodeling.XssATM as XssATM
55
import experimental.adaptivethreatmodeling.AdaptiveThreatModeling
66

7-
from string query, ATMConfig c, EndpointType e
7+
from string queryName, ATMConfig c, EndpointType e
88
where
99
(
10-
query = "SqlInjectionATM.ql" and
10+
queryName = "SqlInjectionATM.ql" and
1111
c instanceof SqlInjectionATM::SqlInjectionATMConfig
1212
or
13-
query = "NosqlInjectionATM.ql" and
13+
queryName = "NosqlInjectionATM.ql" and
1414
c instanceof NosqlInjectionATM::NosqlInjectionATMConfig
1515
or
16-
query = "TaintedPathInjectionATM.ql" and
16+
queryName = "TaintedPathInjectionATM.ql" and
1717
c instanceof TaintedPathATM::TaintedPathATMConfig
1818
or
19-
query = "XssATM.ql" and c instanceof XssATM::DomBasedXssATMConfig
19+
queryName = "XssATM.ql" and c instanceof XssATM::DomBasedXssATMConfig
2020
) and
2121
e = c.getASinkEndpointType()
22-
select query, e.toString() as name, e.getEncoding() as encoding
22+
select queryName, e.toString() as endpointType

0 commit comments

Comments
 (0)