Skip to content

Commit 092e019

Browse files
tiferetStephan Brandauer
andauthored
Apply suggestions from code review
Co-authored-by: Stephan Brandauer <[email protected]>
1 parent 9ecff07 commit 092e019

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

javascript/ql/experimental/adaptivethreatmodeling/modelbuilding/extraction/ExtractEndpointDataTraining.qll

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ import experimental.adaptivethreatmodeling.XssATM as XssAtm
2222
* `endpoint`. To preserve compatibility with the data pipeline, this relation will instead set
2323
* `featureValue` to the empty string in this case.
2424
*/
25-
query predicate tokenFeatures(DataFlow::Node endpoint, string featureName, string featureValue) {
25+
predicate tokenFeatures(DataFlow::Node endpoint, string featureName, string featureValue) {
2626
trainingEndpoints(endpoint, _, _) and
2727
(
2828
EndpointFeatures::tokenFeatures(endpoint, featureName, featureValue)
@@ -209,7 +209,7 @@ DataFlow::Configuration getDataFlowCfg(Query query) {
209209
}
210210

211211
// TODO: Delete this once we are no longer surfacing `hasFlowFromSource`.
212-
module FlowFromSource {
212+
private module FlowFromSource {
213213
predicate hasFlowFromSource(DataFlow::Node endpoint, Query q) {
214214
exists(Configuration cfg | cfg.getQuery() = q | cfg.hasFlow(_, endpoint))
215215
}

0 commit comments

Comments
 (0)