From f0e1104fb9aa8aed714f016af559775781aa9a7b Mon Sep 17 00:00:00 2001 From: knqyf263 Date: Mon, 29 Jul 2024 09:53:25 +0400 Subject: [PATCH] docs: add warning Signed-off-by: knqyf263 --- docs/docs/scanner/vulnerability.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docs/docs/scanner/vulnerability.md b/docs/docs/scanner/vulnerability.md index 328d735c9709..9df2b43d8b80 100644 --- a/docs/docs/scanner/vulnerability.md +++ b/docs/docs/scanner/vulnerability.md @@ -304,6 +304,9 @@ By default, all relationships are included in the scan. !!! info This flag filters the packages themselves, so it also affects the `--list-all-pkgs` option and SBOM generation. +!!! warning + As it may not provide a complete package list, `--pkg-relationships` cannot be used with `--dependency-tree`, `--vex` or SBOM generation. + [^1]: https://github.com/GoogleContainerTools/distroless