Skip to content
Snippets Groups Projects
Commit 0c32aa46 authored by Girija Saint-Ange's avatar Girija Saint-Ange
Browse files

Merge branch '82-trivy-option-vuln-type-is-deprecated' into 'master'

Resolve "Trivy option --vuln-type is deprecated"

Closes #82

See merge request to-be-continuous/python!116
parents 08e9d7e9 5e0a0d29
No related branches found
No related tags found
No related merge requests found
......@@ -246,7 +246,7 @@ It is bound to the `test` stage, and uses the following variables:
| ---------------- | ----------------------------------------------------------------------- | ----------------- |
| `trivy-disabled` / `PYTHON_TRIVY_DISABLED` | Set to `true` to disable Trivy job | _none_ (enabled) |
| `trivy-dist-url` / `PYTHON_TRIVY_DIST_URL` | Url to the `tar.gz` package for `linux_amd64` of Trivy to use (ex: `https://github.com/aquasecurity/trivy/releases/download/v0.51.1/trivy_0.51.1_Linux-64bit.tar.gz`)<br/>_When unset, the latest version will be used_ | _none_ |
| `trivy-args` / `PYTHON_TRIVY_ARGS` | Additional [Trivy CLI options](https://aquasecurity.github.io/trivy/v0.21.1/getting-started/cli/fs/) | `--vuln-type library` |
| `trivy-args` / `PYTHON_TRIVY_ARGS` | Additional [Trivy CLI options](https://aquasecurity.github.io/trivy/v0.21.1/getting-started/cli/fs/) | `--pkg-types library` |
In addition to a textual report in the console, this job produces the following reports, kept for one day:
......
......@@ -145,7 +145,7 @@
{
"name": "PYTHON_TRIVY_ARGS",
"description": "Additional [Trivy CLI options](https://aquasecurity.github.io/trivy/v0.21.1/getting-started/cli/fs/)",
"default": "--vuln-type library",
"default": "--pkg-types library",
"advanced": true
}
]
......
......@@ -108,7 +108,7 @@ spec:
default: ''
trivy-args:
description: Additional [Trivy CLI options](https://aquasecurity.github.io/trivy/v0.21.1/getting-started/cli/fs/)
default: --vuln-type library
default: --pkg-types library
sbom-disabled:
description: Disable Software Bill of Materials
type: boolean
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment