qualys-tc

by devops-bar

Helm chartv2.11.3Verified publisher

Unified helm chart to deploy all sensor

About this chart

Qualys Container Security Unified Helm Chart

Copyright 2024 by Qualys, Inc. All Rights Reserved. Qualys/qualys and the Qualys logo are registered trademarks of Qualys, Inc. All other trademarks are the property of their respective owners.

The Unified helm chart to deploy the following applications.

  • cluster-sensor (Qualys Cluster Sensor)
  • admission-controller (Qualys Admission Controller)
  • qcs-sensor (Qualys Container Security Sensor)
  • runtime-sensor (Qualys Runtime Sensor)

Application Version Compatibility

Helm Chart(qualys-tc) versioncluster-sensor image versionqcs-sensor image versionadmission-controller image versionruntime-sensor image version
2.11.31.8.0-1,1.8.0-0,1.7.0-01.45.3-0, 1.45.1-0, 1.45.0-0, 1.44.3-01.1.0-17, 1.1.1-0, 1.2.0-0, 1.2.0-11.8.0-1,1.8.0-0
2.11.21.8.0-0,1.7.0-0,1.6.0-01.45.1-0, 1.45.0-0, 1.44.3-0, 1.44.2-01.1.0-17, 1.1.1-0, 1.2.0-01.8.0-0
2.11.11.8.0-0,1.7.0-0,1.6.0-01.45.0-0, 1.44.3-0, 1.44.2-0, 1.44.1-01.1.0-17, 1.1.1-0, 1.2.0-01.8.0-0
2.11.01.8.0-0,1.7.0-0,1.6.0-01.45.0-0, 1.44.3-0, 1.44.2-0, 1.44.1-01.1.0-17, 1.1.1-0, 1.2.0-01.8.0-0
2.10.11.7.0-0,1.6.0-0,1.5.0-01.44.3-0, 1.44.2-0, 1.44.1-0, 1.43.1-01.1.0-17, 1.1.1-0, 1.2.0-01.7.0-0
2.10.01.7.0-0,1.6.0-0,1.5.0-01.44.2-0, 1.44.1-0, 1.43.1-0, 1.43.0-01.0.0-6, 1.0.0-11, 1.1.0-17, 1.1.1-0, 1.1.2-01.7.0-0
2.9.11.6.0-0,1.5.0-0,1.4.0-01.43.1-0, 1.43.0-0, 1.42.1-0, 1.41.2-01.0.0-6, 1.0.0-11, 1.1.0-17, 1.1.1-0, 1.1.2-01.6.0-0
2.9.01.6.0-0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,1.1.2-01.35.0-0, 1.36.1-0, 1.37.0-01.0.0-6, 1.0.0-11, 1.1.0-171.0.0-0, 1.0.1-0, 1.1.0-0
2.3.01.1.0-0, 1.1.1-0,1.1.2-01.34.3-0, 1.35.0-0, 1.36.1-01.0.0-6, 1.0.0-11, 1.1.0-171.0.0-0, 1.0.1-0, 1.1.0-0
2.2.01.1.0-0, 1.1.1-01.34.3-0, 1.35.0-0, 1.36.1-01.0.0-6, 1.0.0-11, 1.1.0-171.0.0-0, 1.0.1-0
2.1.11.1.0-0, 1.1.1-01.34.1-0, 1.34.3-0, 1.35.0-01.0.0-6, 1.0.0-111.0.0-0, 1.0.1-0
2.1.01.1.0-0, 1.1.1-01.33.0-0, 1.34.1-0, 1.34.3-01.0.0-6, 1.0.0-111.0.0-0, 1.0.1-0
2.0.41.1.0-0, 1.1.1-01.33.0-0, 1.34.1-1, 1.34.3-01.0.0-61.0.0-0
2.0.31.1.0-0, 1.1.1-01.33.0-0, 1.34.1-11.0.0-61.0.0-0
2.0.21.1.0-0, 1.1.1-01.33.0-0, 1.34.1-01.0.0-61.0.0-0
2.0.11.1.0-0, 1.1.1-01.33.0-01.0.0-61.0.0-0
2.0.01.1.0-01.33.0-01.0.0-6NA
1.0.41.0.0-01.33.0-01.0.0-6NA
1.0.31.0.0-01.33.0-01.0.0-6NA
1.0.21.0.0-01.33.0-01.0.0-6NA
1.0.11.0.0-01.33.0-01.0.0-6NA
1.0.01.0.0-01.33.0-01.0.0-6NA

NOTE:

For the supported QCS Sensor versions on GKE Autopilot, please refer to the interoperability matrix: CS Interoperability Matrix

Prerequisites

Kubernetes & Helm

  • Kubernetes 1.26+
  • Helm v3.10.x
  • OpenShift v4.0+ (Default Container Engine is CRI-O)

Get Repository Info

  • helm repo add qualys-helm-chart https://qualys.github.io/Qualys-Helm-Charts/
  • helm repo update

Know Your Runtime (Required for qcs-sensor)

Get the details about the container runtime by executing the following command:

kubectl get nodes -o wide

Configuration

Configuration includes global parameters that are common across all application and application's config parameters

Global parameters

ParameterDescriptionDefaultMandatoryNotes
global.customerIdUnique customer id associated with customer's accountEmptyYes
global.activationIdUnique activation id associated with customer's accountEmptyYes
global.credentialsSecret.createCreate a Kubernetes Secret from global.customerId and global.activationIdfalseNo
global.credentialsSecret.nameName of an existing Kubernetes Secret containing CUSTOMER_ID and ACTIVATION_ID keys and in same namespace as helm""No
global.gatewayUrlSpecify Qualys Platform (POD) gateway URL for backend communicationEmptyYes (Applicable for cluster-sensor, runtime-sensor and admission-controller installation)
global.cmsqagPublicUrlProvide the cmsqagpublic URL of a Qualys PODEmptyYes (Applicable for qcs-sensor installation)
global.imagePullSecretTO BE DEPRECATED - Use global.imagePullSecrets instead.EmptyNo'global.imagePullSecret' parameter will be deprecated in future releases. Use 'global.imagePullSecrets' instead
global.imagePullSecretsA list of image pull secrets to create or reference across all sub-charts. Each item in the list can contain the following keys: name, create, registry_url, username, password, and dockerconfigjson.[]No
global.imagePullSecrets.nameSpecify image pull secret nameEmptyNo
global.imagePullSecrets.createset create: true to generate a new secret. Set create: false to reference an existing secret by name.EmptyNo
global.imagePullSecrets.registry_urlGenerate a new secret from registry_url, username, and password. Alternatively, provide a pre-encoded dockerconfigjson string which will take precedence.EmptyNo
global.imagePullSecrets.usernameSee description in global.imagePullSecrets.registry_url.EmptyNo
global.imagePullSecrets.passwordSee description in global.imagePullSecrets.registry_url.EmptyNo
global.imagePullSecrets.dockerconfigjsonSee description in global.imagePullSecrets.registry_url.EmptyNo
global.clusterInfoArgs.cloudProviderName of Cloud providerEmptyYesE.g. (AWS,GCP,AZURE,OCI,SELF_MANAGED_K8S)
global.clusterInfoArgs.useCloudProviderRbacEnable cloud provider RBAC (Azure Workload Identity, GCP Workload Identity, AWS IRSA) for Kubernetes authentication instead of in-cluster service accountfalseNoCurrently supported only for AZURE cloud provider. When enabled, skips creation of Kubernetes RBAC resources (ClusterRole, ClusterRoleBinding, Role, RoleBinding) as cloud provider handles authorization. Validation: Requires global.clusterInfoArgs.cloudProvider=AZURE and clusterSensor.azureWorkloadIdentity.clientId / qcsSensor.azureWorkloadIdentity.clientId must be provided for the respective sub-chart
global.clusterInfoArgs.AWS.arnProvide value of arnEmptyYes if global.clusterInfoArgs.cloudProvider=AWSE.g. arn:aws:eks:<region>:<accountid>:cluster:<clustername>
global.clusterInfoArgs.AZURE.idProvide value of idEmptyYes if global.clusterInfoArgs.cloudProvider=AZUREE.g. /subscriptions/<subscription_id>/resourcegroups/NK_test/providers/Microsoft.ContainerService/managedClusters/<cluster_name>
global.clusterInfoArgs.AZURE.regionProvide value of regionEmptyYes if global.clusterInfoArgs.cloudProvider=AZURE
global.clusterInfoArgs.GCP.krnProvide value of krnEmptyYes if global.clusterInfoArgs.cloudProvider=GCPE.g. projects/<project_id>/locations/<region>/clusters/<cluster_name>
global.clusterInfoArgs.OCI.ocidProvide value of ocidEmptyYes if global.clusterInfoArgs.cloudProvider=OCIE.g. ocid1.cluster.oc1.<REGION>.<CLUSTER_OCID>
global.clusterInfoArgs.OCI.clusterNameProvide cluster nameEmptyYes if global.clusterInfoArgs.cloudProvider=OCI
global.clusterInfoArgs.SELF_MANAGED_K8S.clusterNameProvide cluster nameEmptyYes if global.clusterInfoArgs.cloudProvider=SELF_MANAGED_K8S
global.rootCA.certificateProvide custom certificate in base64 encoded format to connect with qualys backend if requiredEmptyNoE.g: global.rootCA.certificate=$(cat <path-of-cert-file> | base64 | tr -d '\n')
global.proxy.valueUrl of proxy serverEmptyNoFormat: "http://<proxy FQDN or Ip address>:<port>" E.g. http://127.0.0.1:8080
global.proxy.certificateProvide proxy certificate in base64 encoded format to connect with proxy server if requiredEmptyNoE.g: global.proxy.certificate=$(cat <path-of-cert-file> | base64 | tr -d '\n')
global.proxy.skipVerifyTLSSkip secure TLS verificationfalseNo
global.openshiftSet to true, if deploying in OpenShift.false
global.gkeAutopilot.enabledSet to true, if deploying in GKE Autopilot.falseNo
global.gkeAutopilot.allowlistLabelForQcsSensorSet the label value to the WorkloadAllowList name to view detailed error messages.EmptyNoMore details can be found at: https://cloud.google.com/kubernetes-engine/docs/troubleshooting/autopilot-privileged-workloads
containerRuntimes.containerd.enabledSet to true, if the container runtime is containerd.trueYesImportant: Enable only one runtime environment at a time
containerRuntimes.containerd.socketPathThe host path of the mounted volume for the containerd socket./var/run/containerd/containerd.sockYes
containerRuntimes.crio.enabledSet to true, if the container runtime is CRI-O.falseYes (If container-runtime is cri-o)
containerRuntimes.crio.socketPathThe host path of the mounted volume for the CRI-O socket./var/run/crio/crio.sockYes
clusterSensor.enabledenable/disable cluster sensor installationtrueYes
admissionController.enabledenable/disable admission controller installationfalseYes,if you want to install Admission controller
qcsSensor.enabledenable/disable qcs sensor installationfalseYes, if you want to install qcs sensor
runtimeSensor.enabledenable/disable runtime-sensor installationfalseYes, if you want to install runtime-sensor

Cluster Sensor parameters

| Parameter | Description | Default | Mandatory | Remarks | --------------------- | -----------

Deploy qualys-tc with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has qualys-tc on a Hetzner server. Change the host, add apps from the marketplace, then copy the generated files. Providers and prices are samples, and nothing here is sent anywhere.

  1. Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
  2. Place the chartqualys-tc is pinned at v2.11.3 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
  3. ApplySave opentenant.yaml and main.tf from the console, then run the commands below.
# opentenant.yaml, main.tf and dns.tf come from the builder below
opentenant validate opentenant.yaml
terraform init && terraform apply