Python: Fix flask request modeling

This takes us part of the way. We still get multiple paths for the same
alert, but that will be fixed in a different PR.
This commit is contained in:
Rasmus Wriedt Larsen
2022-09-29 17:41:21 +02:00
parent 9b03e1c0b1
commit 0cb8e121e9
2 changed files with 5 additions and 7 deletions

View File

@@ -0,0 +1,4 @@
---
category: fix
---
* Fixed how `flask.request` is modeled as a RemoteFlowSource, such that we show fewer duplicated alert messages for Code Scanning alerts. The import, such as `from flask import request`, will now be shown as the first step in a path explanation.