Helm Chart Scanning

When scanning directories or Git repositories, Kubescape automatically identifies directories that contain Helm charts.

Whenever a Helm chart is detected, Kubescape renders the chart templates, using the values.yaml file in the chart's root directory. The rendered manifests are then scanned by Kubescape.

You can submit the results to ARMO Platform when scanning Git repositories.

For usage information, check out Repository scanning.

Limitation

  • You cannot override the Values, which are used for the Helm template rendering. Kubescape can't scan Helm charts that are missing default values.

Supported Helm values

KeyTypeDefaultDescription
kollector.affinityobject{}Assign custom affinity rules to the StatefulSet
kollector.enabledbooltrueEnable/disable the kollector
kollector.env[0]object{"name":"PRINT_REPORT","value":"false"}Print in verbose mode (print all reported data)
kollector.image.repositorystring"quay.io/kubescape/kollector"Source code
kollector.nodeSelectorobject{}Node selector
kollector.volumesobject[]Additional volumes for the collector
kollector.volumeMountsobject[]Additional volumeMounts for the collector
kubescape.affinityobject{}Assign custom affinity rules to the deployment
kubescape.downloadArtifactsbooltrueDownload policies every scan. We recommend setting this to true. Use 'false' when running in an air-gapped environment or when scanning with high frequency, for example, when running with Prometheus.
kubescape.enableHostScanbooltrueEnable host scanner feature
kubescape.enabledbooltrueEnable/disable kubescape scanning
kubescape.image.repositorystring"quay.io/kubescape/kubescape"Source code (public repo)
kubescape.nodeSelectorobject{}Node selector
kubescape.serviceMonitor.enabledboolfalseEnable/disable service monitor for prometheus (operator) integration
kubescape.skipUpdateCheckboolfalseSkip check for a newer version
kubescape.submitbooltrueSubmit results to ARMO Platform: https://cloud.armosec.io/
kubescape.volumesobject[]Additional volumes for Kubescape
kubescape.volumeMountsobject[]Additional volumeMounts for Kubescape
kubescapeScheduler.enabledbooltrueEnable/disable a kubescape scheduled scan using a CronJob
kubescapeScheduler.image.repositorystring"quay.io/kubescape/http_request"Source code (public repo)
kubescapeScheduler.scanSchedulestring"0 0 * * *"Scan schedule frequency
kubescapeScheduler.volumesobject[]Additional volumes for scan scheduler
kubescapeScheduler.volumeMountsobject[]Additional volumeMounts for scan scheduler
gateway.affinityobject{}Assign custom affinity rules to the deployment
gateway.enabledbooltrueEnable/disable passing notifications from Kubescape SaaS to the Operator microservice. The notifications are the onDemand scanning and the scanning schedule settings
gateway.image.repositorystring"quay.io/kubescape/gateway"Source code
gateway.nodeSelectorobject{}Node selector
gateway.volumesobject[]Additional volumes for the notification service
gateway.volumeMountsobject[]Additional volumeMounts for the notification service
kubevuln.affinityobject{}Assign custom affinity rules to the deployment
kubevuln.enabledbooltrueEnable/disable image vulnerability scanning
kubevuln.image.repositorystring"quay.io/kubescape/kubevuln"Source code
kubevuln.nodeSelectorobject{}Node selector
kubevuln.volumesobject[]Additional volumes for the image vulnerability scanning
kubevuln.volumeMountsobject[]Additional volumeMounts for the image vulnerability scanning
kubevulnScheduler.enabledbooltrueEnable/disable a image vulnerability scheduled scan using a CronJob
kubevulnScheduler.image.repositorystring"quay.io/kubescape/http_request"Source code (public repo)
kubevulnScheduler.scanSchedulestring"0 0 * * *"Scan schedule frequency
kubevulnScheduler.volumesobject[]Additional volumes for scan scheduler
kubevulnScheduler.volumeMountsobject[]Additional volumeMounts for scan scheduler
operator.affinityobject{}Assign custom affinity rules to the deployment
operator.enabledbooltrueEnable/disable kubescape and image vulnerability scanning
operator.image.repositorystring"quay.io/kubescape/operator"Source code
operator.nodeSelectorobject{}Node selector
operator.volumesobject[]Additional volumes for the web socket
operator.volumeMountsobject[]Additional volumeMounts for the web socket
kubescapeHostScanner.volumesobject[]Additional volumes for the host scanner
kubescapeHostScanner.volumeMountsobject[]Additional volumeMounts for the host scanner
awsIamRoleArnstringnilAWS IAM arn role
clientIDstring""Client ID, read more
addRevisionLabelbooltrueAdd revision label to the components. This will insure the components will restart when updating the helm
cloudRegionstringnilCloud region
cloudProviderEnginestringnilCloud provider engine
gkeProjectstringnilGKE project
gkeServiceAccountstringnilGKE service account
secretKeystring""Secret key, read more
triggerNewImageScanboolfalseEnable/disable trigger image scan for new images
volumesobject[]Additional volumes for all containers
volumeMountsobject[]Additional volumeMounts for all containers