Skip to content

Commit 38430c5

Browse files
committed
ATM: update query sink mapping
1 parent 01163bc commit 38430c5

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ import experimental.adaptivethreatmodeling.SqlInjectionATM as SqlInjectionAtm
88
import experimental.adaptivethreatmodeling.NosqlInjectionATM as NosqlInjectionAtm
99
import experimental.adaptivethreatmodeling.TaintedPathATM as TaintedPathAtm
1010
import experimental.adaptivethreatmodeling.XssATM as XssAtm
11+
import experimental.adaptivethreatmodeling.XssThroughDomATM as XssThroughDomAtm
1112
import experimental.adaptivethreatmodeling.AdaptiveThreatModeling
1213

1314
from string queryName, AtmConfig c, EndpointType e
@@ -23,6 +24,8 @@ where
2324
c instanceof TaintedPathAtm::TaintedPathAtmConfig
2425
or
2526
queryName = "Xss" and c instanceof XssAtm::DomBasedXssAtmConfig
27+
or
28+
queryName = "XssThroughDOM" and c instanceof XssThroughDomAtm::XssThroughDomAtmConfig
2629
) and
2730
e = c.getASinkEndpointType()
2831
select queryName, e.getEncoding() as label

0 commit comments

Comments
 (0)