python: Add missing input

also update test expectation
This commit is contained in:
Rasmus Lerchedahl Petersen
2022-01-21 13:55:33 +01:00
parent 41908cbf9f
commit 9aa4c4a6a7
2 changed files with 12 additions and 58 deletions

View File

@@ -11,6 +11,7 @@
import python
import experimental.semmle.python.security.injection.NoSQLInjection
import DataFlow::PathGraph
from NoSQLInjection::Configuration config, DataFlow::PathNode source, DataFlow::PathNode sink
where config.hasFlowPath(source, sink)