-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[#227] Add docs and copy the trivy.yaml alongside with generating pro…
…ject
- Loading branch information
Showing
7 changed files
with
46 additions
and
1 deletion.
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 |
---|---|---|
|
@@ -11,4 +11,3 @@ npm run lint // to check linting | |
|
||
npm run lint:fix // to fix linting | ||
``` | ||
|
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,12 @@ | ||
This project is using Trivy as a vulnerability scanner to replace the role of `tfsec` with some extra benefits: | ||
1. Access to more languages and features in the same tool. | ||
2. Access to more integrations with tools and services through the rich ecosystem around Trivy. | ||
3. Commercially supported by Aqua as well as by a the passionate Trivy community. tfsec will continue to remain available for the time being, although our engineering attention will be directed at Trivy going forward. | ||
|
||
## Trivy Local Scan | ||
```bash | ||
# Project root directory | ||
trivy config . | ||
``` | ||
|
||
For more information, please refer to the [Trivy documentation](https://github.com/aquasecurity/trivy) |
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
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
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
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 |
---|---|---|
|
@@ -42,3 +42,6 @@ terraform.rc | |
|
||
# Emacs | ||
.dir-locals.el | ||
|
||
# Trivy | ||
trivy-output.json |
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,28 @@ | ||
timeout: 10m | ||
format: json | ||
dependency-tree: true | ||
list-all-pkgs: true | ||
exit-code: 1 | ||
output: trivy-output.json | ||
# All severity levels | ||
severity: | ||
- UNKNOWN | ||
- LOW | ||
- MEDIUM | ||
- HIGH | ||
- CRITICAL | ||
scan: | ||
skip-dirs: | ||
- .github/ | ||
- core/.terraform/ | ||
- shared/.terraform/ | ||
|
||
scanners: | ||
- vuln | ||
- secret | ||
|
||
vulnerability: | ||
type: | ||
- os | ||
- library | ||
ignore-unfixed: true |