K8s IOM entities
Kubernetes IOM entities is the Kubernetes-IOM-entities collection for
this CID — ReadKubernetesIomEntities. The path is
GET /container-security/entities/kubernetes-ioms/v1.
Remaining Kubernetes Protection mutations /
Image assessment policies / remaining cloud are not implemented (not yet). This is not
combined Kubernetes IOM entities SearchAndReadKubernetesIomEntities
(/container-security/combined/kubernetes-ioms/v1):
K8s IOMs. This is not
Kubernetes IOM counts ReadKubernetesIomCount
(/container-security/aggregates/kubernetes-ioms/count/v1):
K8s IOM count. This is not
Kubernetes IOM counts by date ReadKubernetesIomByDateRange
(/container-security/aggregates/kubernetes-ioms/count-by-date/v1):
K8s IOM dates. 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. Kubernetes IOM entities does
not use FQL (unlike combined Kubernetes IOMs). Query is ids only.
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 IOM entities (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 IOM entities. 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/entities/kubernetes-ioms/v1 | List Kubernetes IOM entities. Query: ids. |
Empty GET returns every IOM entity in this CID. Optional repeated query
ids (and comma-separated values inside an ids value) keep rows whose
detection_id matches. Unknown ids are omitted (200, possibly empty
resources). More than 100 ids after trim/comma-split → 400. This
RPC has no FQL filter. Default sort is detection_id.asc.
JSON is DESIGN snake_case flattened fields reused from combined IOMs
(twelve fields): detection_id, detection_name, cluster_name,
namespace, resource_id, resource_name, resource_type,
severity, detection_type, prevented, cloud_service, cid.
This is not combined Kubernetes IOM entities
SearchAndReadKubernetesIomEntities, Kubernetes IOM counts
ReadKubernetesIomCount, Kubernetes IOM counts by date
ReadKubernetesIomByDateRange, or the HelloService template.
Combined Kubernetes IOM entities uses
/container-security/combined/kubernetes-ioms/v1:
K8s IOMs. Kubernetes IOM
counts uses
/container-security/aggregates/kubernetes-ioms/count/v1:
K8s IOM count. Kubernetes IOM
counts by date uses
/container-security/aggregates/kubernetes-ioms/count-by-date/v1:
K8s IOM dates. Remaining
Kubernetes Protection mutations / Image assessment policies / remaining cloud are not
implemented (not yet).
Seed IOM entities
detection_id | detection_name | cluster_name | namespace | resource_name | resource_type | severity | detection_type | prevented | cloud_service |
|---|---|---|---|---|---|---|---|---|---|
iom-lab-1 | Privileged container | lab-eks-1 | default | api | Pod | High | Misconfiguration | false | eks |
iom-lab-2 | HostPath volume | lab-aks-1 | kube-system | worker | Pod | Medium | Misconfiguration | true | aks |
cid is cid-local-1. resource_id equals detection_id. Empty GET
returns both (detection_id ASC: iom-lab-1 then iom-lab-2).
ids=iom-lab-1 returns iom-lab-1.
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 IOM entities (cookie)
Empty GET returns at least the two seed ids, including
iom-lab-1:
curl -sS -H 'Host: crowdstrike-api.localhost' -b cookies.txt \
'http://127.0.0.1:8088/container-security/entities/kubernetes-ioms/v1'
ids=iom-lab-1 returns iom-lab-1:
curl -sS -H 'Host: crowdstrike-api.localhost' -b cookies.txt \
'http://127.0.0.1:8088/container-security/entities/kubernetes-ioms/v1?ids=iom-lab-1'
Unknown ids are omitted (200, possibly empty resources):
curl -sS -H 'Host: crowdstrike-api.localhost' -b cookies.txt \
'http://127.0.0.1:8088/container-security/entities/kubernetes-ioms/v1?ids=not-an-iom'
More than 100 ids after trim/comma-split is 400:
IDS=$(python3 -c 'print(",".join(["x"] * 101))')
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/entities/kubernetes-ioms/v1?ids=${IDS}"
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/entities/kubernetes-ioms/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/entities/kubernetes-ioms/v1'
Remaining Kubernetes Protection mutations /
Image assessment policies / remaining cloud are not implemented (not yet). Combined Kubernetes IOMs
is a separate collection:
K8s IOMs. Kubernetes IOM
count is a separate collection:
K8s IOM count. Kubernetes IOM
dates is a separate collection:
K8s IOM dates. 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/entities/kubernetes-ioms/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.