This operator for Starboard automatically updates security report resources in response to workload and other changes on a Kubernetes cluster - for example, initiating a vulnerability scan when a new pod is started. Please see the main Starboard repo for more info about the Starboard project.
- Define custom security resources used by Starboard:
$ kubectl apply -f https://raw.githubusercontent.com/aquasecurity/starboard/master/kube/crd/vulnerabilities-crd.yaml \ -f https://raw.githubusercontent.com/aquasecurity/starboard/master/kube/crd/configauditreports-crd.yaml \ -f https://raw.githubusercontent.com/aquasecurity/starboard/master/kube/crd/ciskubebenchreports-crd.yaml \ -f https://raw.githubusercontent.com/aquasecurity/starboard/master/kube/crd/kubehunterreports-crd.yaml
- Create a Secret that holds configuration of the Aqua CSP scanner:
$ kubectl create secret generic starboard-scanner-aqua \ --namespace starboard \ --from-literal OPERATOR_SCANNER_AQUA_CSP_USER=$AQUA_CONSOLE_USERNAME \ --from-literal OPERATOR_SCANNER_AQUA_CSP_PASSWORD=$AQUA_CONSOLE_PASSWORD \ --from-literal OPERATOR_SCANNER_AQUA_CSP_VERSION=$AQUA_VERSION \ --from-literal OPERATOR_SCANNER_AQUA_CSP_HOST=http://csp-console-svc.aqua:8080
- Create a Service Account used to run Aqua CSP scan Jobs:
$ kubectl apply -f deploy/starboard-scanner-aqua.yaml
- Create a Deployment for the Starboard Security Operator:
$ kubectl apply -f deploy/starboard-security-operator.yaml
Name | Default | Description |
---|---|---|
OPERATOR_STARBOARD_NAMESPACE |
starboard |
The default namespace for Starboard |
OPERATOR_NAMESPACE |
default |
The namespace watched by the operator |
OPERATOR_SCANNER_TRIVY_ENABLED |
true |
The flag to enable Trivy vulnerability scanner |
OPERATOR_SCANNER_TRIVY_VERSION |
0.9.1 |
The version of Trivy to be used |
OPERATOR_SCANNER_AQUA_CSP_ENABLED |
false |
The flag to enable Aqua CSP vulnerability scanner |
OPERATOR_SCANNER_AQUA_CSP_VERSION |
4.6 |
The version of Aqua CSP scannercli container image to be used |