python: Add standard customization setup

- modernize the sanitizer, but do not make it less specific
This commit is contained in:
Rasmus Lerchedahl Petersen
2022-01-25 11:04:18 +01:00
parent 20d54543fd
commit 8b5114d10e
3 changed files with 90 additions and 14 deletions

View File

@@ -14,7 +14,7 @@ import python
import semmle.python.security.dataflow.LogInjection
import DataFlow::PathGraph
from LogInjectionFlowConfig config, DataFlow::PathNode source, DataFlow::PathNode sink
from LogInjection::Configuration config, DataFlow::PathNode source, DataFlow::PathNode sink
where config.hasFlowPath(source, sink)
select sink.getNode(), source, sink, "$@ flows to log entry.", source.getNode(),
"User-provided value"