Skip to content

Commit d6df5fb

Browse files
docs: add info that license scanning supports file-patterns flag (#5484)
Co-authored-by: Teppei Fukuda <[email protected]>
1 parent 156d4cc commit d6df5fb

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

docs/docs/configuration/skipping.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ This will skip the file `foo` that happens to be nested under any parent(s).
9898
| Vulnerability ||
9999
| Misconfiguration ||
100100
| Secret | |
101-
| License | |
101+
| License | [^1] |
102102

103103
When a directory is given as an input, Trivy will recursively look for and test all files based on file patterns.
104104
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
114114
```
115115

116116
The prefixes are listed [here](https://github.com/aquasecurity/trivy/tree/{{ git.commit }}/pkg/fanal/analyzer/const.go)
117+
118+
119+
[^1]: Only work with the [license-full](../scanner/license.md) flag)

0 commit comments

Comments
 (0)