update column names and remove encoding value

This commit is contained in:
tombolton
2022-03-03 15:59:10 +00:00
parent f1f1526237
commit bd9e845aea

View File

@@ -4,19 +4,19 @@ import experimental.adaptivethreatmodeling.TaintedPathATM as TaintedPathATM
import experimental.adaptivethreatmodeling.XssATM as XssATM
import experimental.adaptivethreatmodeling.AdaptiveThreatModeling
from string query, ATMConfig c, EndpointType e
from string queryName, ATMConfig c, EndpointType e
where
(
query = "SqlInjectionATM.ql" and
queryName = "SqlInjectionATM.ql" and
c instanceof SqlInjectionATM::SqlInjectionATMConfig
or
query = "NosqlInjectionATM.ql" and
queryName = "NosqlInjectionATM.ql" and
c instanceof NosqlInjectionATM::NosqlInjectionATMConfig
or
query = "TaintedPathInjectionATM.ql" and
queryName = "TaintedPathInjectionATM.ql" and
c instanceof TaintedPathATM::TaintedPathATMConfig
or
query = "XssATM.ql" and c instanceof XssATM::DomBasedXssATMConfig
queryName = "XssATM.ql" and c instanceof XssATM::DomBasedXssATMConfig
) and
e = c.getASinkEndpointType()
select query, e.toString() as name, e.getEncoding() as encoding
select queryName, e.toString() as endpointType