forked from aquasecurity/trivy
-
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.
Merge pull request #76 from AnaisUrlichs/docs-template
Docs template
- Loading branch information
Showing
52 changed files
with
1,232 additions
and
473 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,28 @@ | ||
labels: ["kind/documentation"] | ||
body: | ||
- type: markdown | ||
attributes: | ||
value: | | ||
#### Note | ||
Feel free to create a docs report if something doesn't work as expected or is unclear in the documentation. | ||
Please ensure that you're not creating a duplicate report by searching the [issues](https://github.com/aquasecurity/trivy/issues)/[discussions](https://github.com/aquasecurity/trivy/discussions) beforehand. | ||
Please also check [our contribution guidelines](https://aquasecurity.github.io/trivy/latest/community/contribute/discussion/). | ||
- type: textarea | ||
attributes: | ||
label: Description | ||
description: Briefly describe the what has been unclear in the existing documentation | ||
validations: | ||
required: true | ||
- type: textarea | ||
attributes: | ||
label: Link | ||
description: Please provide a link to the current documentation or where you thought to find the information you were looking for | ||
validations: | ||
required: false | ||
- type: textarea | ||
attributes: | ||
label: Suggestions | ||
description: What would you like to have added or changed in the documentation? | ||
validations: | ||
required: true |
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
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,52 @@ | ||
## trivy convert | ||
|
||
Convert Trivy JSON report into a different format | ||
|
||
``` | ||
trivy convert [flags] RESULT_JSON | ||
``` | ||
|
||
### Examples | ||
|
||
``` | ||
# report conversion | ||
$ trivy image --format json --output result.json --list-all-pkgs debian:11 | ||
$ trivy convert --format cyclonedx --output result.cdx result.json | ||
``` | ||
|
||
### Options | ||
|
||
``` | ||
--compliance string compliance report to generate | ||
--dependency-tree [EXPERIMENTAL] show dependency origin tree of vulnerable packages | ||
--exit-code int specify exit code when any security issues are found | ||
--exit-on-eol int exit with the specified code when the OS reaches end of service/life | ||
-f, --format string format (table, json, template, sarif, cyclonedx, spdx, spdx-json, github, cosign-vuln) (default "table") | ||
-h, --help help for convert | ||
--ignore-policy string specify the Rego file path to evaluate each vulnerability | ||
--ignorefile string specify .trivyignore file (default ".trivyignore") | ||
--list-all-pkgs enabling the option will output all packages regardless of vulnerability | ||
-o, --output string output file name | ||
--report string specify a report format for the output. (all,summary) (default "all") | ||
-s, --severity string severities of security issues to be displayed (comma separated) (default "UNKNOWN,LOW,MEDIUM,HIGH,CRITICAL") | ||
-t, --template string output template | ||
``` | ||
|
||
### Options inherited from parent commands | ||
|
||
``` | ||
--cache-dir string cache directory (default "/path/to/cache") | ||
-c, --config string config path (default "trivy.yaml") | ||
-d, --debug debug mode | ||
--generate-default-config write the default config to trivy-default.yaml | ||
--insecure allow insecure server connections | ||
-q, --quiet suppress progress bar and log output | ||
--timeout duration timeout (default 5m0s) | ||
-v, --version show version | ||
``` | ||
|
||
### SEE ALSO | ||
|
||
* [trivy](trivy.md) - Unified security scanner | ||
|
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
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
Oops, something went wrong.