Skip to content

Commit

Permalink
docs: add info that license scanning supports file-patterns flag (#5484)
Browse files Browse the repository at this point in the history
Co-authored-by: Teppei Fukuda <knqyf263@gmail.com>
  • Loading branch information
DmitriyLewen and knqyf263 authored Nov 6, 2023
1 parent 156d4cc commit d6df5fb
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion docs/docs/configuration/skipping.md
Original file line number Diff line number Diff line change
Expand Up @@ -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).
Expand All @@ -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)

0 comments on commit d6df5fb

Please sign in to comment.