qualys-tc
by devops-bar
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) version | cluster-sensor image version | qcs-sensor image version | admission-controller image version | runtime-sensor image version |
|---|---|---|---|---|
| 2.11.3 | 1.8.0-1,1.8.0-0,1.7.0-0 | 1.45.3-0, 1.45.1-0, 1.45.0-0, 1.44.3-0 | 1.1.0-17, 1.1.1-0, 1.2.0-0, 1.2.0-1 | 1.8.0-1,1.8.0-0 |
| 2.11.2 | 1.8.0-0,1.7.0-0,1.6.0-0 | 1.45.1-0, 1.45.0-0, 1.44.3-0, 1.44.2-0 | 1.1.0-17, 1.1.1-0, 1.2.0-0 | 1.8.0-0 |
| 2.11.1 | 1.8.0-0,1.7.0-0,1.6.0-0 | 1.45.0-0, 1.44.3-0, 1.44.2-0, 1.44.1-0 | 1.1.0-17, 1.1.1-0, 1.2.0-0 | 1.8.0-0 |
| 2.11.0 | 1.8.0-0,1.7.0-0,1.6.0-0 | 1.45.0-0, 1.44.3-0, 1.44.2-0, 1.44.1-0 | 1.1.0-17, 1.1.1-0, 1.2.0-0 | 1.8.0-0 |
| 2.10.1 | 1.7.0-0,1.6.0-0,1.5.0-0 | 1.44.3-0, 1.44.2-0, 1.44.1-0, 1.43.1-0 | 1.1.0-17, 1.1.1-0, 1.2.0-0 | 1.7.0-0 |
| 2.10.0 | 1.7.0-0,1.6.0-0,1.5.0-0 | 1.44.2-0, 1.44.1-0, 1.43.1-0, 1.43.0-0 | 1.0.0-6, 1.0.0-11, 1.1.0-17, 1.1.1-0, 1.1.2-0 | 1.7.0-0 |
| 2.9.1 |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.0-0, 1.34.1-0 | 1.0.0-6 | 1.0.0-0 |
| 2.0.1 | 1.1.0-0, 1.1.1-0 | 1.33.0-0 | 1.0.0-6 | 1.0.0-0 |
| 2.0.0 | 1.1.0-0 | 1.33.0-0 | 1.0.0-6 | NA |
| 1.0.4 | 1.0.0-0 | 1.33.0-0 | 1.0.0-6 | NA |
| 1.0.3 | 1.0.0-0 | 1.33.0-0 | 1.0.0-6 | NA |
| 1.0.2 | 1.0.0-0 | 1.33.0-0 | 1.0.0-6 | NA |
| 1.0.1 | 1.0.0-0 | 1.33.0-0 | 1.0.0-6 | NA |
| 1.0.0 | 1.0.0-0 | 1.33.0-0 | 1.0.0-6 | NA |
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
| Parameter | Description | Default | Mandatory | Notes |
|---|---|---|---|---|
global.customerId | Unique customer id associated with customer's account | Empty | Yes | |
global.activationId | Unique activation id associated with customer's account | Empty | Yes | |
global.credentialsSecret.create | Create a Kubernetes Secret from global.customerId and global.activationId | false | No | |
global.credentialsSecret.name | Name of an existing Kubernetes Secret containing CUSTOMER_ID and ACTIVATION_ID keys and in same namespace as helm | "" | No | |
global.gatewayUrl | Specify Qualys Platform (POD) gateway URL for backend communication | Empty | Yes (Applicable for cluster-sensor, runtime-sensor and admission-controller installation) | |
global.cmsqagPublicUrl | Provide the cmsqagpublic URL of a Qualys POD | Empty | Yes (Applicable for qcs-sensor installation) | |
global.imagePullSecret | TO BE DEPRECATED - Use global.imagePullSecrets instead. | Empty | No | 'global.imagePullSecret' parameter will be deprecated in future releases. Use 'global.imagePullSecrets' instead |
global.imagePullSecrets | A 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.name | Specify image pull secret name | Empty | No | |
global.imagePullSecrets.create | set create: true to generate a new secret. Set create: false to reference an existing secret by name. | Empty | No | |
global.imagePullSecrets.registry_url | Generate a new secret from registry_url, username, and password. Alternatively, provide a pre-encoded dockerconfigjson string which will take precedence. | Empty | No | |
global.imagePullSecrets.username | See description in global.imagePullSecrets.registry_url. | Empty | No | |
global.imagePullSecrets.password | See description in global.imagePullSecrets.registry_url. | Empty | No | |
global.imagePullSecrets.dockerconfigjson | See description in global.imagePullSecrets.registry_url. | Empty | No | |
global.clusterInfoArgs.cloudProvider | Name of Cloud provider | Empty | Yes | E.g. (AWS,GCP,AZURE,OCI,SELF_MANAGED_K8S) |
global.clusterInfoArgs.useCloudProviderRbac | Enable cloud provider RBAC (Azure Workload Identity, GCP Workload Identity, AWS IRSA) for Kubernetes authentication instead of in-cluster service account | false | No | Currently 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.arn | Provide value of arn | Empty | Yes if global.clusterInfoArgs.cloudProvider=AWS | E.g. arn:aws:eks:<region>:<accountid>:cluster:<clustername> |
global.clusterInfoArgs.AZURE.id | Provide value of id | Empty | Yes if global.clusterInfoArgs.cloudProvider=AZURE | E.g. /subscriptions/<subscription_id>/resourcegroups/NK_test/providers/Microsoft.ContainerService/managedClusters/<cluster_name> |
global.clusterInfoArgs.AZURE.region | Provide value of region | Empty | Yes if global.clusterInfoArgs.cloudProvider=AZURE | |
global.clusterInfoArgs.GCP.krn | Provide value of krn | Empty | Yes if global.clusterInfoArgs.cloudProvider=GCP | E.g. projects/<project_id>/locations/<region>/clusters/<cluster_name> |
global.clusterInfoArgs.OCI.ocid | Provide value of ocid | Empty | Yes if global.clusterInfoArgs.cloudProvider=OCI | E.g. ocid1.cluster.oc1.<REGION>.<CLUSTER_OCID> |
global.clusterInfoArgs.OCI.clusterName | Provide cluster name | Empty | Yes if global.clusterInfoArgs.cloudProvider=OCI | |
global.clusterInfoArgs.SELF_MANAGED_K8S.clusterName | Provide cluster name | Empty | Yes if global.clusterInfoArgs.cloudProvider=SELF_MANAGED_K8S | |
global.rootCA.certificate | Provide custom certificate in base64 encoded format to connect with qualys backend if required | Empty | No | E.g: global.rootCA.certificate=$(cat <path-of-cert-file> | base64 | tr -d '\n') |
global.proxy.value | Url of proxy server | Empty | No | Format: "http://<proxy FQDN or Ip address>:<port>" E.g. http://127.0.0.1:8080 |
global.proxy.certificate | Provide proxy certificate in base64 encoded format to connect with proxy server if required | Empty | No | E.g: global.proxy.certificate=$(cat <path-of-cert-file> | base64 | tr -d '\n') |
global.proxy.skipVerifyTLS | Skip secure TLS verification | false | No | |
global.openshift | Set to true, if deploying in OpenShift. | false | ||
global.gkeAutopilot.enabled | Set to true, if deploying in GKE Autopilot. | false | No | |
global.gkeAutopilot.allowlistLabelForQcsSensor | Set the label value to the WorkloadAllowList name to view detailed error messages. | Empty | No | More details can be found at: https://cloud.google.com/kubernetes-engine/docs/troubleshooting/autopilot-privileged-workloads |
containerRuntimes.containerd.enabled | Set to true, if the container runtime is containerd. | true | Yes | Important: Enable only one runtime environment at a time |
containerRuntimes.containerd.socketPath | The host path of the mounted volume for the containerd socket. | /var/run/containerd/containerd.sock | Yes | |
containerRuntimes.crio.enabled | Set to true, if the container runtime is CRI-O. | false | Yes (If container-runtime is cri-o) | |
containerRuntimes.crio.socketPath | The host path of the mounted volume for the CRI-O socket. | /var/run/crio/crio.sock | Yes | |
clusterSensor.enabled | enable/disable cluster sensor installation | true | Yes | |
admissionController.enabled | enable/disable admission controller installation | false | Yes,if you want to install Admission controller | |
qcsSensor.enabled | enable/disable qcs sensor installation | false | Yes, if you want to install qcs sensor | |
runtimeSensor.enabled | enable/disable runtime-sensor installation | false | Yes, 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.
- Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
- Place the chartqualys-tc is pinned at v2.11.3 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
- 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