Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update kube-bench from 0.6.3 to 0.6.5 #782

Merged
merged 2 commits into from
Oct 28, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion deploy/helm/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ trivy:
# serverCustomHeaders: "foo=bar"

kubeBench:
imageRef: docker.io/aquasec/kube-bench:0.6.3
imageRef: docker.io/aquasec/kube-bench:v0.6.5

polaris:
imageRef: quay.io/fairwinds/polaris:4.2
Expand Down
2 changes: 1 addition & 1 deletion deploy/static/03-starboard-operator.config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ metadata:
data:
vulnerabilityReports.scanner: Trivy
configAuditReports.scanner: Polaris
kube-bench.imageRef: docker.io/aquasec/kube-bench:0.6.3
kube-bench.imageRef: docker.io/aquasec/kube-bench:v0.6.5
---
apiVersion: v1
kind: Secret
Expand Down
2 changes: 1 addition & 1 deletion docs/settings.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ configuration settings for common use cases. For example, switch Trivy from
| `configAuditReports.scanner` | `Polaris` | The name of the plugin that generates config audit reports. Either `Polaris` or `Conftest`. |
| `scanJob.tolerations` | N/A | JSON representation of the [tolerations] to be applied to the scanner pods so that they can run on nodes with matching taints. Example: `'[{"key":"key1", "operator":"Equal", "value":"value1", "effect":"NoSchedule"}]'` |
| `scanJob.annotations` | N/A | One-line comma-separated representation of the annotations which the user wants the scanner pods to be annotated with. Example: `foo=bar,env=stage` will annotate the scanner pods with the annotations `foo: bar` and `env: stage` |
| `kube-bench.imageRef` | `docker.io/aquasec/kube-bench:0.6.3` | kube-bench image reference |
| `kube-bench.imageRef` | `docker.io/aquasec/kube-bench:v0.6.5` | kube-bench image reference |
| `kube-hunter.imageRef` | `docker.io/aquasec/kube-hunter:0.6.3` | kube-hunter image reference |
| `kube-hunter.quick` | `"false"` | Whether to use kube-hunter's "quick" scanning mode (subnet 24). Set to `"true"` to enable. |

Expand Down
2 changes: 1 addition & 1 deletion itest/starboard/starboard_cli_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1149,7 +1149,7 @@ var _ = Describe("Starboard CLI", func() {
"Scanner": Equal(v1alpha1.Scanner{
Name: "kube-bench",
Vendor: "Aqua Security",
Version: "0.6.3",
Version: "v0.6.5",
}),
}),
}))
Expand Down
4 changes: 2 additions & 2 deletions pkg/kubebench/scanner_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ var (

func TestKubeBenchPlugin_GetScanJobSpec(t *testing.T) {
config := starboard.ConfigData{
"kube-bench.imageRef": "docker.io/aquasec/kube-bench:0.6.3",
"kube-bench.imageRef": "docker.io/aquasec/kube-bench:v0.6.5",
}
node := corev1.Node{
ObjectMeta: metav1.ObjectMeta{
Expand Down Expand Up @@ -96,7 +96,7 @@ func TestKubeBenchPlugin_GetScanJobSpec(t *testing.T) {
Containers: []corev1.Container{
{
Name: "kube-bench",
Image: "docker.io/aquasec/kube-bench:0.6.3",
Image: "docker.io/aquasec/kube-bench:v0.6.5",
ImagePullPolicy: corev1.PullIfNotPresent,
TerminationMessagePolicy: corev1.TerminationMessageFallbackToLogsOnError,
Command: []string{"sh"},
Expand Down
2 changes: 1 addition & 1 deletion pkg/starboard/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ func GetDefaultConfig() ConfigData {
keyVulnerabilityReportsScanner: string(Trivy),
keyConfigAuditReportsScanner: string(Polaris),

"kube-bench.imageRef": "docker.io/aquasec/kube-bench:0.6.3",
"kube-bench.imageRef": "docker.io/aquasec/kube-bench:v0.6.5",
"kube-hunter.imageRef": "docker.io/aquasec/kube-hunter:0.6.3",
"kube-hunter.quick": "false",
}
Expand Down