-
Notifications
You must be signed in to change notification settings - Fork 41
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Trivy fs-vuln and osv-scanner report duplicate issues - after discussion [here](https://docs.google.com/document/d/1uS4CUtlM3MnvzTxn2iRGF9GMagVAIcVbDqKdQaDJOl4/edit), we've decided to disable trivy fs-vuln for now and potentially handle duplicate issues more robustly down the line.
- Loading branch information
Showing
2 changed files
with
26 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
# Trivy | ||
|
||
Trivy has the following subcommands: | ||
|
||
- `config` | ||
- Runs `trivy config` | ||
([docs](https://aquasecurity.github.io/trivy/latest/docs/scanner/misconfiguration/)) to scan for | ||
misconfigurations in infrastructure-as-code files. Enabled by default. | ||
- `fs-vuln` | ||
- Runs `trivy fs --scanners vuln` | ||
([docs](https://aquasecurity.github.io/trivy/latest/docs/target/filesystem/)) to scan for | ||
security vulnerabilities. Disabled by default. | ||
- `fs-secret` | ||
- Runs `trivy fs --scanners secret` | ||
([docs](https://aquasecurity.github.io/trivy/latest/docs/target/filesystem/)) to scan for | ||
secrets. Disabled by default. | ||
|
||
To enable/disable these, add the subcommands you want enabled in your trunk.yaml as such: | ||
|
||
```yaml | ||
lint: | ||
enabled: | ||
- trivy@0.45.1: | ||
commands: [config, fs-vuln] | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters