File tree Expand file tree Collapse file tree 1 file changed +22
-0
lines changed Expand file tree Collapse file tree 1 file changed +22
-0
lines changed Original file line number Diff line number Diff line change
1
+ import experimental.adaptivethreatmodeling.SqlInjectionATM as SqlInjectionATM
2
+ import experimental.adaptivethreatmodeling.NosqlInjectionATM as NosqlInjectionATM
3
+ import experimental.adaptivethreatmodeling.TaintedPathATM as TaintedPathATM
4
+ import experimental.adaptivethreatmodeling.XssATM as XssATM
5
+ import experimental.adaptivethreatmodeling.AdaptiveThreatModeling
6
+
7
+ from string queryName , ATMConfig c , EndpointType e
8
+ where
9
+ (
10
+ queryName = "SqlInjectionATM.ql" and
11
+ c instanceof SqlInjectionATM:: SqlInjectionATMConfig
12
+ or
13
+ queryName = "NosqlInjectionATM.ql" and
14
+ c instanceof NosqlInjectionATM:: NosqlInjectionATMConfig
15
+ or
16
+ queryName = "TaintedPathInjectionATM.ql" and
17
+ c instanceof TaintedPathATM:: TaintedPathATMConfig
18
+ or
19
+ queryName = "XssATM.ql" and c instanceof XssATM:: DomBasedXssATMConfig
20
+ ) and
21
+ e = c .getASinkEndpointType ( )
22
+ select queryName , e .getEncoding ( ) as endpointTypeEncoded
You can’t perform that action at this time.
0 commit comments