K8s runtimes
Kubernetes runtimes is the containers-by-runtime-version collection
for this CID — FindContainersByContainerRunTimeVersion. The path is
GET /container-security/aggregates/containers/find-by-runtimeversion/v1.
Remaining Kubernetes Protection mutations /
Image assessment policies / remaining cloud are not implemented (not yet). This is not
Kubernetes containers ReadContainerCombined
(/container-security/combined/containers/v1):
K8s containers. This is not
Kubernetes combined clusters ReadClusterCombined
(/container-security/combined/clusters/v1):
K8s combined clusters. 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 runtimes does use FQL (unlike Kubernetes clusters and combined cloud clusters).
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_consolefromCreateSession(POST /identity/entities/sessions/v1) Authorization: Bearerwithfalcon-container-image:read
A session cookie bypasses OAuth scopes. Seed client cs-local-hosts
(hosts:read only) cannot list runtimes (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 runtimes. It is not in the production seed. Use the
console cookie, or a client you created with that scope. Missing or
revoked token → 401. This RPC does not use
kubernetes-protection:read.
HTTP paths
| Method | Path | Use |
|---|---|---|
GET | /container-security/aggregates/containers/find-by-runtimeversion/v1 | List containers by runtime version. Query: filter, limit, offset. |
Empty filter returns every runtime row in this CID. Allowed FQL
properties: cid, cloud_name, cluster_name, container_runtime_version,
node_name. Unknown
property or invalid filter → 400. limit and offset must be ≥ 0
else 400. Omitted limit defaults to 100 (capped at 200).
Empty sort is ignored. Default sort is node_name.asc.
JSON is DESIGN snake_case flattened fields (eight fields this
slice): cid, cloud_name, cluster_name, container_runtime_version,
created_at, first_seen, last_seen, node_name. Do not
emit pod_name.
This is not Kubernetes containers ReadContainerCombined, Kubernetes
combined clusters ReadClusterCombined, or the HelloService
template. Kubernetes containers uses
/container-security/combined/containers/v1:
K8s containers. Kubernetes combined clusters uses
/container-security/combined/clusters/v1:
K8s combined clusters. Remaining Kubernetes Protection mutations /
Image assessment policies / remaining cloud are not implemented (not yet).
Seed runtimes
node_name | cluster_name | container_runtime_version | cloud_name |
|---|---|---|---|
aks-node-1 | lab-aks-1 | containerd://1.6.0 | azure |
ip-10-0-1-10 | lab-eks-1 | containerd://1.7.0 | aws |
cid is cid-local-1. Empty filters return both (node_name ASC:
aks-node-1 then ip-10-0-1-10). filter=cluster_name:'lab-eks-1' returns
ip-10-0-1-10 (containerd://1.7.0). filter=node_name:'ip-10-0-1-10' returns
ip-10-0-1-10.
Session cookie
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
List runtimes (cookie)
Empty filters return at least the two seed nodes, including
aks-node-1 and ip-10-0-1-10:
curl -sS -H 'Host: crowdstrike-api.localhost' -b cookies.txt \
'http://127.0.0.1:8088/container-security/aggregates/containers/find-by-runtimeversion/v1'
filter=cluster_name:'lab-eks-1' returns ip-10-0-1-10:
curl -sS -H 'Host: crowdstrike-api.localhost' -b cookies.txt \
'http://127.0.0.1:8088/container-security/aggregates/containers/find-by-runtimeversion/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/aggregates/containers/find-by-runtimeversion/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/aggregates/containers/find-by-runtimeversion/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/aggregates/containers/find-by-runtimeversion/v1'
Remaining Kubernetes Protection mutations /
Image assessment policies / remaining cloud are not implemented (not yet). Kubernetes containers is a
separate collection:
K8s containers. Kubernetes combined clusters is a
separate collection:
K8s combined clusters. 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/aggregates/containers/find-by-runtimeversion/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. This RPC does not use kubernetes-protection:read.
OAuth2 mint/revoke: OAuth2. Accessible scopes: API clients.