falcon-image-analyzer

by CrowdStrike

Helm chartv1.2.1App 1.0.26Verified publisher

A Helm chart for Falcon Image Analyzer

About this chart

CrowdStrike Falcon Image Analyzer (IAR Image Assessment at Runtime) Helm Chart

Falcon is the CrowdStrike platform purpose-built to stop breaches via a unified set of cloud-delivered technologies that prevent all types of attacks — including malware and much more.

Table of Contents

  • Kubernetes Cluster Compatibility
  • Helm Chart Support for Falcon Image Analyzer Versions
  • New Updates in the Current Version
  • Dependencies
  • Helm Repo Setup
    • Add The Crowdstrike Falcon Helm Repo
    • Update Helm Repo
  • Configuration Options
    • Using Existing Kubernetes Secrets
    • Allow traffic to CrowdStrike servers
  • Installation on Kubernetes Cluster
    • Installing using Helm Chart
    • Deployment considerations
    • Pod Security Standards
    • OpenShift Compatibility
    • Temp Mounts
    • IAM Roles
    • Secrets Store CSI Driver Integration
    • Authentication for Private Registries
    • Proxy Usage
    • Pod Eviction Issue
    • Exclusions
      • Registry Exclusion
      • Namespace Exclusion
      • Pod Exclusions
    • GKE Autopilot Volume Settings
  • Uninstalling IAR

Kubernetes Cluster Compatibility

The Falcon Image Analyzer Helm chart has been tested to deploy on the following Kubernetes distributions:

  • Amazon Elastic Kubernetes Service (EKS) - EKS and EKS Fargate
  • Azure Kubernetes Service (AKS)
  • Google Kubernetes Engine (GKE)
  • SUSE Rancher K3s

Helm Chart Support for Falcon Image Analyzer Versions

Helm Chart VersionFalcon Image Analyzer VersionNotes
1.2.1>= 1.0.26falcon-imageanalyzer will connect to kubernetes-admission-controller (KAC) or the falcon-cluster-guard agent
1.2.0>= 1.0.24—
1.1.20>= 1.0.24falcon-imageanalyzer images now use a non-regionalized unified image repo, starting with 1.0.24.
1.1.19>= 1.0.21—
1.1.18>= 1.0.21—
1.1.17>= 1.0.21Added Image Analyzer Agent service to allow Falcon KAC to request image scan data.

New updates in current release

Helm (1.2.1) + iar 1.0.26

  • Adding support for Falcon-Cluster-Guard ( future agent )
  • Adding log.verbosity param to control log verbosity. this will supersede the old crowdstrikeConfig.enableDebug param.
  • Add Support for US3 Cloud

Helm (1.1.17) + iar 1.0.21

  • scanStats field deprecated. The feature is always on from IAR 1.0.21 onwards
  • Adding Cluster Name autodiscovery in IAR 1.0.21 if crowdstrikeConfig.clusterName field is left blank
    • If not provided agent will try to auto-discover
    • The Auto-Disocovery is currently only for clusters in AWS ( EKS + Self-Managed )/ Azure ( AKS + Self-Managed ) / GCP / OpenShift
    • If the Cluster is on any other provider or on-prem, then the name needs to be provided for the clusterName field.
    • If the KAC is running make sure the name is same as that of KAC or left blank. the Falcon Dashboard will consider the name from KAC
  • Adding Image Analyzer - Kubernetes Admission Control ( KAC ) inter-communication. Supported only from crowdstrike/falcon-image-analyzer chart version >= 1.0.17
  • Adding auto discovery of DockerConfig / Regsitry Credential secrets to be pulled in for image. see privateRegistries.autoDiscoverCredentials

Dependencies

  1. Requires a x86_64/arm64 Kubernetes cluster
  2. Before deploying the Helm chart, you should have the falcon-imageanalyzer container image in your own container registry, or use CrowdStrike's registry before installing the Helm chart. See the Deployment Considerations for more.
  3. Helm 3.x is installed and supported by the Kubernetes vendor.

Helm Repo Setup

Add the CrowdStrike Falcon Helm repository

helm repo add crowdstrike https://crowdstrike.github.io/falcon-helm

Update the local Helm repository cache

helm repo update

Falcon configuration options

The following tables list the Falcon sensor configurable parameters and their default values.

ParameterDescriptionDefault
deployment.enabled requiredSet to true if running in Watcher Mode i.e.false
daemsonset.enabled requiredSet to true if running in Socket Mode i.e. Both CANNOT be true . This causes the IAR to run in socket modefalse
watcher.listPageSize optional ( available in falcon-imageanalyzer Helm Chart >= 1.1.9)numeric value to be used for listing pods in watcher mode500
priorityClassName optional ( available in falcon-imageanalyzer Helm Chart >= 1.1.4)Set to system-node-critical or system-cluster-critical to avoid pod evictions due to resource limits.""
privateRegistries.credentials optionalUse this param to provide the comma separated registry secrets of the form namespace1:secretname1,namespace:secret2""
privateRegistries.autoDiscoverCredentials optionalSet to true to automatically discovery all Docker secrets for private registries. note that if this is true the above privateRegistries.credentialsis NAtrue
image.repository requiredIAR image repo name[CROWDSTRIKE_IMAGE_REGISTRY]/falcon-imageanalyzer/release/falcon-imageanalyzer
image.tag requiredImage tag versionNone
image.registryConfigJSON optionaliar private registry secret in docker config formatNone
azure.enabled optionalSet to true if cluster is Azure AKS or self-managed on Azure nodes.false
azure.azureConfig optionalAzure config file path/etc/kubernetes/azure.json
podLabels optionalAdditional labels to add to pod metadata. Use to set azure.workload.identity/use: "true" for Azure Workload Identity.{}
gcp.enabled optionalSet to true if cluster is Google GKE or self-managed on Google Cloud GCP nodes.false
exclusions.namespace optional ( available in falcon-imageanalyzer >= 1.0.8 and Helm Chart v >= 1.1.3)Set the value as a comma separate list of namespaces to be excluded. all pods in that namespace(s) will be excluded""
exclusions.registry optional ( available in falcon-imageanalyzer >= 1.0.8 and Helm Chart v >= 1.1.3)Set the value as a comma separate list of registries to be excluded. all images in that registry(s) will be excluded""
exclusions.imageName optional ( available in falcon-imageanalyzer >= 1.0.23 and Helm Chart v >= 1.1.19)Set the value as a comma separate list of fully qualified image names.""
log.output optional ( available Helm Chart v >= 1.1.7 & falcon-imageanalyzer >= 1.0.12)Set the value to for log output terminal. 2=stderr and `1=

Deploy falcon-image-analyzer with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has falcon-image-analyzer 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 chartfalcon-image-analyzer is pinned at v1.2.1 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