Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(secret): support enable rules #2035

Merged
merged 11 commits into from
Apr 24, 2022
Prev Previous commit
Next Next commit
Update docs/docs/secret/scanning.md
Co-authored-by: VaismanLior <97836016+VaismanLior@users.noreply.github.com>
  • Loading branch information
knqyf263 and VaismanLior authored Apr 24, 2022
commit e5528752015af44e426ad719d928f47b67473dcd
2 changes: 1 addition & 1 deletion docs/docs/secret/scanning.md
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ We would recommend specifying `--skip-dirs` for faster secret scanning.
In container image scanning, Trivy walks the file tree rooted `/` and scans all the files other than [built-in allowed paths][builtin].
knqyf263 marked this conversation as resolved.
Show resolved Hide resolved
It will take a while if your image contains a lot of files even though Trivy tries to avoid scanning layers from a base image.
If you want to make scanning faster, `--skip-dirs` and `--skip-files` helps so that Trivy will skip scanning those files and directories.
The usage examples are [here][examples]
The usage examples are [here][examples].

`allow-rules` is also helpful. See the [allow-rules][allow-rules] section.

Expand Down