Skip to main content

K8s combined clusters

Kubernetes combined clusters is the combined-cluster-list collection for this CID — ReadClusterCombined and ReadClusterCombinedV2 (PEP 8 read_clusters_combined_v2). The GET v1 path is GET /container-security/combined/clusters/v1. The GET v2 path is GET /container-security/combined/clusters/v2. Remaining Kubernetes Protection mutations / Image assessment policies / remaining cloud are not implemented (not yet). This is not Kubernetes clusters GetClusters (/kubernetes-protection/entities/kubernetes/clusters/v1): Kubernetes. This is not combined cloud clusters GetCombinedCloudClusters (/kubernetes-protection/entities/cloud_cluster/v1): K8s cloud clusters. This is not Kubernetes IOMs (/container-security/combined/kubernetes-ioms/v1): K8s IOMs. This is not the HelloService template sample (GET /api/hello).

This collection is not CrowdStrike production. It does not call Falcon cloud. It is not CrowdStrike Falcon Container Image cloud.

RPC field notes: ContainerImagesService. REST schemas: API reference. Filter syntax: FQL. Kubernetes combined clusters does use FQL (unlike Kubernetes clusters and combined cloud clusters). GET v2 extra unused query keys (include_counts, parameters) are ignored.

These curls use Host: crowdstrike-api.localhost against Compose Traefik on :8088. If the hostname already resolves to Traefik, you can omit the Host header and call http://crowdstrike-api.localhost instead.

Auth​

Every call needs a console session or a Bearer token:

  • Cookie cs_console from CreateSession (POST /identity/entities/sessions/v1)
  • Authorization: Bearer with falcon-container-image:read

A session cookie bypasses OAuth scopes. Seed client cs-local-hosts (hosts:read only) cannot list combined clusters (403) — it is missing falcon-container-image:read. Unit tests use a client named cs-local-cimg with falcon-container-image:read; that client can list combined clusters on GET v1 and GET v2. It is not in the production seed. Use the console cookie, or a client you created with that scope. Missing or revoked token → 401. These RPCs do not use kubernetes-protection:read. ReadClusterCombined stays v1. ReadClusterCombinedV2 stays falcon-container-image:read.

HTTP paths​

MethodPathUse
GET/container-security/combined/clusters/v1List combined Kubernetes clusters. Query: filter, limit, offset.
GET/container-security/combined/clusters/v2List combined Kubernetes clusters v2. Query: filter, sort, limit, offset. Extra unused keys (include_counts, parameters) ignored.

Empty filter returns every combined cluster in this CID. Allowed FQL properties: cid, cloud_region, cloud_service, cluster_id, cluster_name, cluster_status, kubernetes_version. Unknown property or invalid filter → 400. limit and offset must be ≥ 0 else 400. Omitted limit defaults to 100 (capped at 200). Default sort is cluster_id.asc. GET v2 uses the same FQL subset, defaults, and cap as GET v1.

GET v2 empty filter returns both seed rows (clu-lab-1 and clu-lab-2). filter cluster_name:'lab-eks-1' returns clu-lab-1 only. Unknown FQL property → 400. Extra unused query keys (include_counts, parameters) are ignored.

JSON is DESIGN snake_case flattened fields (seven fields this slice): cluster_id, cluster_name, cluster_status, kubernetes_version, cloud_service, cloud_region, cid. Do not emit nested agents, tags, or counts.

This is not Kubernetes clusters GetClusters, combined cloud clusters GetCombinedCloudClusters, Kubernetes IOMs, or the HelloService template. Kubernetes clusters uses /kubernetes-protection/entities/kubernetes/clusters/v1: Kubernetes. Combined cloud clusters uses /kubernetes-protection/entities/cloud_cluster/v1: K8s cloud clusters. Kubernetes IOMs uses /container-security/combined/kubernetes-ioms/v1: K8s IOMs. Remaining Kubernetes Protection mutations / Image assessment policies / remaining cloud are not implemented (not yet).

Seed clusters​

cluster_idcluster_namecluster_statuskubernetes_versioncloud_servicecloud_region
clu-lab-1lab-eks-1Running1.29eksus-east-1
clu-lab-2lab-aks-1Running1.28akseastus

cid is cid-local-1. Empty filters return both (cluster_id ASC: clu-lab-1 then clu-lab-2). filter=cluster_name:'lab-eks-1' returns clu-lab-1. filter=cluster_id:'clu-lab-1' returns clu-lab-1. GET v2 empty filters return both. GET v2 with filter cluster_name:'lab-eks-1' returns clu-lab-1.

curl -sS -c cookies.txt -H 'Host: crowdstrike-api.localhost' \
-H 'Content-Type: application/json' \
-d '{"email":"[email protected]","password":"FalconLocal!1","cloud":"us-1"}' \
http://127.0.0.1:8088/identity/entities/sessions/v1

Empty filters return at least the two seed ids, including clu-lab-1:

curl -sS -H 'Host: crowdstrike-api.localhost' -b cookies.txt \
'http://127.0.0.1:8088/container-security/combined/clusters/v1'

filter=cluster_name:'lab-eks-1' returns clu-lab-1:

curl -sS -H 'Host: crowdstrike-api.localhost' -b cookies.txt \
'http://127.0.0.1:8088/container-security/combined/clusters/v1?filter=cluster_name:%27lab-eks-1%27'

Unknown FQL property is 400:

curl -sS -o /dev/null -w '%{http_code}\n' \
-H 'Host: crowdstrike-api.localhost' -b cookies.txt \
'http://127.0.0.1:8088/container-security/combined/clusters/v1?filter=bogus:%27x%27'

No cookie and no Bearer is 401:

curl -sS -o /dev/null -w '%{http_code}\n' \
-H 'Host: crowdstrike-api.localhost' \
'http://127.0.0.1:8088/container-security/combined/clusters/v1'

cs-local-hosts (hosts:read only, missing falcon-container-image:read) is 403:

TOKEN='<access_token from cs-local-hosts>'
curl -sS -o /dev/null -w '%{http_code}\n' \
-H 'Host: crowdstrike-api.localhost' \
-H "Authorization: Bearer ${TOKEN}" \
'http://127.0.0.1:8088/container-security/combined/clusters/v1'

Empty filters return both seed rows (clu-lab-1 and clu-lab-2). Success is 200:

curl -sS -H 'Host: crowdstrike-api.localhost' -b cookies.txt \
'http://127.0.0.1:8088/container-security/combined/clusters/v2'

filter cluster_name:'lab-eks-1' returns clu-lab-1:

curl -sS -H 'Host: crowdstrike-api.localhost' -b cookies.txt \
'http://127.0.0.1:8088/container-security/combined/clusters/v2?filter=cluster_name:%27lab-eks-1%27'

Unknown FQL property is 400:

curl -sS -o /dev/null -w '%{http_code}\n' \
-H 'Host: crowdstrike-api.localhost' -b cookies.txt \
'http://127.0.0.1:8088/container-security/combined/clusters/v2?filter=bogus:%27x%27'

cs-local-hosts (hosts:read only, missing falcon-container-image:read) is 403 on GET v2:

TOKEN='<access_token from cs-local-hosts>'
curl -sS -o /dev/null -w '%{http_code}\n' \
-H 'Host: crowdstrike-api.localhost' \
-H "Authorization: Bearer ${TOKEN}" \
'http://127.0.0.1:8088/container-security/combined/clusters/v2'

Remaining Kubernetes Protection mutations / Image assessment policies / remaining cloud are not implemented (not yet). Kubernetes clusters is a separate collection: Kubernetes. Combined cloud clusters is a separate collection: K8s cloud clusters. Kubernetes IOMs is a separate collection: K8s IOMs. This is not the HelloService template (GET /api/hello).

List (Bearer)​

TOKEN='<access_token from a client with falcon-container-image:read>'
curl -sS -H 'Host: crowdstrike-api.localhost' \
-H "Authorization: Bearer ${TOKEN}" \
'http://127.0.0.1:8088/container-security/combined/clusters/v1'

falcon-container-image:read → 200 (including unit-test client cs-local-cimg). A token without that scope (including hosts:read only, e.g. cs-local-hosts) → 403. Missing or revoked token → 401. ReadClusterCombined stays falcon-container-image:read. These RPCs do not use kubernetes-protection:read.

List v2 (Bearer)​

TOKEN='<access_token from a client with falcon-container-image:read>'
curl -sS -H 'Host: crowdstrike-api.localhost' \
-H "Authorization: Bearer ${TOKEN}" \
'http://127.0.0.1:8088/container-security/combined/clusters/v2'

falcon-container-image:read → 200 on GET v2 (including unit-test client cs-local-cimg). A token without that scope (including hosts:read only, e.g. cs-local-hosts) → 403. Missing or revoked token → 401. There is no seeded production client with falcon-container-image:read — use the console cookie, or a client you created with that scope. ReadClusterCombinedV2 stays falcon-container-image:read.

OAuth2 mint/revoke: OAuth2. Accessible scopes: API clients.