You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -42,8 +42,17 @@ Trivy parses your files generated by package managers in filesystem/repository s
42
42
### pip
43
43
44
44
#### Dependency detection
45
-
Trivy only parses [version specifiers](https://packaging.python.org/en/latest/specifications/version-specifiers/#id5) with `==` comparison operator and without `.*`.
46
-
To convert unsupported version specifiers - use the `pip freeze` command.
45
+
By default, Trivy only parses [version specifiers](https://packaging.python.org/en/latest/specifications/version-specifiers/#id5) with `==` comparison operator and without `.*`.
46
+
47
+
Using the [--detection-priority comprehensive](#detection-priority) option ensures that the tool establishes a minimum version, which is particularly useful in scenarios where identifying the exact version is challenging.
48
+
In such case Trivy parses specifiers `>=`,`~=` and a trailing `.*`.
49
+
50
+
```
51
+
keyring >= 4.1.1 # Minimum version 4.1.1
52
+
Mopidy-Dirble ~= 1.1 # Minimum version 1.1
53
+
python-gitlab==2.0.* # Minimum version 2.0.0
54
+
```
55
+
Also, there is a way to convert unsupported version specifiers - use the `pip freeze` command.
0 commit comments