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
<br >Set the full paths of the Python and the package installer for Python executables, which allows Exhort to locate
113
113
and run the `pip3` commands to resolve dependencies for Python projects.
114
114
<br >Python 2 executables `python` and `pip` can be used instead, if the `Use python 2.x` option is selected.
@@ -324,6 +324,21 @@ When modifying the grammar or lexer files, you need to regenerate the parser cla
324
324
tokio = { version = "1.0", features = ["full"] } # trustify-da-ignore
325
325
```
326
326
327
+
If you want to ignore vulnerabilities for a dependency in a `pyproject.toml` file, you must add `trustify-da-ignore` as a comment
328
+
against the dependency in the manifest file.
329
+
For PEP 621 format:
330
+
```toml
331
+
[project]
332
+
dependencies = [
333
+
"anyio==3.6.2", # trustify-da-ignore
334
+
]
335
+
```
336
+
For Poetry format:
337
+
```toml
338
+
[tool.poetry.dependencies]
339
+
anyio = "^3.6.2"# trustify-da-ignore
340
+
```
341
+
327
342
-**Excluding developmental or test dependencies**
328
343
<br >Red Hat Dependency Analytics does not analyze dependencies marked as `dev` or `test`, these dependencies are
329
344
ignored.
@@ -371,6 +386,10 @@ When modifying the grammar or lexer files, you need to regenerate the parser cla
371
386
You can create an alternative file to `requirements.txt`, for example, a `requirements-dev.txt` or
372
387
a `requirements-test.txt` file where you can add the development or test dependencies there.
373
388
389
+
For `pyproject.toml`, dependencies from `[project.dependencies]` (PEP 621),
390
+
`[project.optional-dependencies]`, and `[tool.poetry.dependencies]` are analyzed.
391
+
Poetry group dependencies (`[tool.poetry.group.*.dependencies]`) are excluded.
392
+
374
393
375
394
-**Excluding manifest files with patterns**
376
395
<br >You can exclude specific manifest files from component analysis using configurable glob patterns. This feature allows you to avoid analyzing third-party dependencies, test files, or other manifests that are not relevant to your security analysis.
0 commit comments