From d6df5fbcda878e43e5e02484304726ebe7c6c418 Mon Sep 17 00:00:00 2001 From: DmitriyLewen <91113035+DmitriyLewen@users.noreply.github.com> Date: Mon, 6 Nov 2023 10:55:08 +0600 Subject: [PATCH] docs: add info that license scanning supports file-patterns flag (#5484) Co-authored-by: Teppei Fukuda --- docs/docs/configuration/skipping.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/docs/docs/configuration/skipping.md b/docs/docs/configuration/skipping.md index 2537a529ff54..7e228d696fff 100644 --- a/docs/docs/configuration/skipping.md +++ b/docs/docs/configuration/skipping.md @@ -98,7 +98,7 @@ This will skip the file `foo` that happens to be nested under any parent(s). | Vulnerability | ✓ | | Misconfiguration | ✓ | | Secret | | -| License | | +| License | ✓[^1] | When a directory is given as an input, Trivy will recursively look for and test all files based on file patterns. The default file patterns are [here](../scanner/misconfiguration/custom/index.md). @@ -114,3 +114,6 @@ A file pattern contains the analyzer it is used for, and the pattern itself, joi ``` The prefixes are listed [here](https://github.com/aquasecurity/trivy/tree/{{ git.commit }}/pkg/fanal/analyzer/const.go) + + +[^1]: Only work with the [license-full](../scanner/license.md) flag) \ No newline at end of file