Skip to content

Commit

Permalink
chore: bump trivy 0.51.2 (#2081)
Browse files Browse the repository at this point in the history
Signed-off-by: chenk <hen.keinan@gmail.com>
  • Loading branch information
chen-keinan authored May 20, 2024
1 parent 289f303 commit 40bcbe0
Show file tree
Hide file tree
Showing 15 changed files with 16 additions and 16 deletions.
2 changes: 1 addition & 1 deletion deploy/helm/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ Keeps security report resources updated
| trivy.image.pullPolicy | string | `"IfNotPresent"` | pullPolicy is the imge pull policy used for trivy image , valid values are (Always, Never, IfNotPresent) |
| trivy.image.registry | string | `"ghcr.io"` | registry of the Trivy image |
| trivy.image.repository | string | `"aquasecurity/trivy"` | repository of the Trivy image |
| trivy.image.tag | string | `"0.51.1"` | tag version of the Trivy image |
| trivy.image.tag | string | `"0.51.2"` | tag version of the Trivy image |
| trivy.imageScanCacheDir | string | `"/tmp/trivy/.cache"` | imageScanCacheDir the flag to set custom path for trivy image scan `cache-dir` parameter. Only applicable in image scan mode. |
| trivy.includeDevDeps | bool | `false` | includeDevDeps include development dependencies in the report (supported: npm, yarn) (default: false) note: this flag is only applicable when trivy.command is set to filesystem |
| trivy.insecureRegistries | object | `{}` | The registry to which insecure connections are allowed. There can be multiple registries with different keys. |
Expand Down
2 changes: 1 addition & 1 deletion deploy/helm/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -330,7 +330,7 @@ trivy:
# -- repository of the Trivy image
repository: aquasecurity/trivy
# -- tag version of the Trivy image
tag: 0.51.1
tag: 0.51.2
# -- imagePullSecret is the secret name to be used when pulling trivy image from private registries example : reg-secret
# It is the user responsibility to create the secret for the private registry in `trivy-operator` namespace
imagePullSecret: ~
Expand Down
2 changes: 1 addition & 1 deletion deploy/static/trivy-operator.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3025,7 +3025,7 @@ metadata:
app.kubernetes.io/managed-by: kubectl
data:
trivy.repository: "ghcr.io/aquasecurity/trivy"
trivy.tag: "0.51.1"
trivy.tag: "0.51.2"
trivy.imagePullPolicy: "IfNotPresent"
trivy.additionalVulnerabilityReportFields: ""
trivy.severity: "UNKNOWN,LOW,MEDIUM,HIGH,CRITICAL"
Expand Down
2 changes: 1 addition & 1 deletion docs/docs/crds/clustervulnerability-report.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ report:
scanner:
name: Trivy
vendor: Aqua Security
version: 0.51.1
version: 0.51.2
summary:
criticalCount: 0
highCount: 4
Expand Down
2 changes: 1 addition & 1 deletion docs/docs/crds/sbom-report.md
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ report:
scanner:
name: Trivy
vendor: Aqua Security
version: 0.51.1
version: 0.51.2
summary:
componentsCount: 5
dependenciesCount: 5
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ go 1.22.3

require (
github.com/CycloneDX/cyclonedx-go v0.8.0
github.com/aquasecurity/trivy v0.51.2-0.20240511000140-a126e1075a44
github.com/aquasecurity/trivy v0.51.2
github.com/aquasecurity/trivy-kubernetes v0.6.7-0.20240516083642-d65248d04515
github.com/bluele/gcache v0.0.2
github.com/caarlos0/env/v6 v6.10.1
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -302,8 +302,8 @@ github.com/aquasecurity/testdocker v0.0.0-20240419073403-90bd43849334 h1:MgvbLyL
github.com/aquasecurity/testdocker v0.0.0-20240419073403-90bd43849334/go.mod h1:TKXn7bPfMM52ETP4sjjwkTKCZ18CqCs+I/vtFePSdBc=
github.com/aquasecurity/tml v0.6.1 h1:y2ZlGSfrhnn7t4ZJ/0rotuH+v5Jgv6BDDO5jB6A9gwo=
github.com/aquasecurity/tml v0.6.1/go.mod h1:OnYMWY5lvI9ejU7yH9LCberWaaTBW7hBFsITiIMY2yY=
github.com/aquasecurity/trivy v0.51.2-0.20240511000140-a126e1075a44 h1:ZIQrS9hSm/MvBUt9ivT5dkoatLbdTNBX0EIm7Yc1GHU=
github.com/aquasecurity/trivy v0.51.2-0.20240511000140-a126e1075a44/go.mod h1:+en2+Lc04HLB5AOl+fBgQ34vR1aqtKVUL8rh7gb3bwI=
github.com/aquasecurity/trivy v0.51.2 h1:C5rb5TsEiwGEKQzKc4f2qsJVd5uG+C2aMx+zF+7KOWY=
github.com/aquasecurity/trivy v0.51.2/go.mod h1:/O2z/ySpHOiVOpiPGwZny3EFs/7Jis6et0nn6mlf6n4=
github.com/aquasecurity/trivy-checks v0.10.5-0.20240430045208-6cc735de6b9e h1:s0P4VeCqb7tWw06/L1cZ5/42AWy6VZFuLZ96THPJmmM=
github.com/aquasecurity/trivy-checks v0.10.5-0.20240430045208-6cc735de6b9e/go.mod h1:UIFQxYlKcL7EGhNVicFmZ6XxZ2UpFZU7bNKEv/Y/6XM=
github.com/aquasecurity/trivy-db v0.0.0-20231020043206-3770774790ce h1:53T1cV67meZOWb/AepAHRGrUH7ZwhulLIXravz0lFp4=
Expand Down
2 changes: 1 addition & 1 deletion pkg/plugins/trivy/config_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -725,7 +725,7 @@ func TestPlugin_Init(t *testing.T) {
},
Data: map[string]string{
"trivy.repository": DefaultImageRepository,
"trivy.tag": "0.51.1",
"trivy.tag": "0.51.2",
"trivy.severity": DefaultSeverity,
"trivy.slow": "true",
"trivy.mode": string(Standalone),
Expand Down
2 changes: 1 addition & 1 deletion pkg/plugins/trivy/jobspec_test.go

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion pkg/plugins/trivy/plugin.go
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ func (p *plugin) Init(ctx trivyoperator.PluginContext) error {
return ctx.EnsureConfig(trivyoperator.PluginConfig{
Data: map[string]string{
keyTrivyImageRepository: DefaultImageRepository,
keyTrivyImageTag: "0.51.1",
keyTrivyImageTag: "0.51.2",
KeyTrivySeverity: DefaultSeverity,
keyTrivySlow: "true",
keyTrivyMode: string(Standalone),
Expand Down
2 changes: 1 addition & 1 deletion pkg/plugins/trivy/testdata/fixture/alpine_sbom.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"type": "application",
"group": "aquasecurity",
"name": "trivy",
"version": "0.51.1"
"version": "0.51.2"
}
]
},
Expand Down
2 changes: 1 addition & 1 deletion pkg/vulnerabilityreport/controller/testdata/sbom.json
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@
"scanner": {
"name": "Trivy",
"vendor": "Aqua Security",
"version": "0.51.1"
"version": "0.51.2"
},
"summary": {
"componentsCount": 5,
Expand Down
2 changes: 1 addition & 1 deletion tests/e2e/sbom-client-server/workload/00-sbom-pod.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3526,7 +3526,7 @@ report:
scanner:
name: Trivy
vendor: Aqua Security
version: 0.51.1
version: 0.51.2
summary:
componentsCount: 110
dependenciesCount: 110
Expand Down
2 changes: 1 addition & 1 deletion tests/e2e/sbom-fs/workload/00-sbom-pod.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3526,7 +3526,7 @@ report:
scanner:
name: Trivy
vendor: Aqua Security
version: 0.51.1
version: 0.51.2
summary:
componentsCount: 110
dependenciesCount: 110
Expand Down
2 changes: 1 addition & 1 deletion tests/e2e/sbom-standalone/workload/00-sbom-pod.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3526,7 +3526,7 @@ report:
scanner:
name: Trivy
vendor: Aqua Security
version: 0.51.1
version: 0.51.2
summary:
componentsCount: 110
dependenciesCount: 110
Expand Down

0 comments on commit 40bcbe0

Please sign in to comment.