Skip to main content

Container packages

Container packages is the container-security combined packages collection for this CID — ReadPackagesCombined (PEP 8 read_combined). The path is GET /container-security/combined/packages/v1. The other six package ops are not implemented. Next leftover is p10he Unidentified containers. This is not Container detections (/container-security/combined/detections/…): Container detections. 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 Cloud or Horizon.

RPC field notes: ContainerPackagesService. REST schemas: API reference. Unused query key filter is 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 container-packages:read

A session cookie bypasses OAuth scopes and can list. Seed client cs-local-hosts (hosts:read only) cannot list (403). Unit tests use a client named cs-local-cpkg with container-packages:read; that client can list. ReadPackagesCombined stays container-packages:read. There is no write scope and no seeded production client with container-packages:read — use the console cookie, or a client you created with that scope. Missing or revoked token → 401.

HTTP paths​

MethodPathUse
GET/container-security/combined/packages/v1List container packages. RPC ReadPackagesCombined. PEP 8 read_combined. container-packages:read. Extra unused query filter ignored. Success 200 MSA resources (package_name_version, type, license, cid, ai_related, all_images, running_images, vulnerability_count, vulnerabilities). Order by package_name_version ascending. Distinct from Container detections. The other six package ops are not implemented.

Empty query params on GET return every package in this CID. Default sort is package_name_version ascending. Empty store → empty resources, still 200.

JSON is snake_case MSA. Clone success is 200.

GET /container-security/combined/packages/v2, GET /container-security/combined/packages/export/v1, GET /container-security/combined/packages/app-by-fixable-vulnerability-count/v1, GET /container-security/combined/packages/by-vulnerability-count/v1, GET /container-security/aggregates/packages/by-image-count/v1, and GET /container-security/aggregates/packages/count-by-zero-day/v1 are not implemented. No further roadmap row. Remaining operations stay under Not yet implemented.

Seed packages​

package_name_versiontypelicensecidai_relatedall_imagesrunning_imagesvulnerability_countvulnerabilities
[email protected]npmMITcid-labfalse312vuln-lab-1
[email protected]pypiApache-2.0cid-labtrue101vuln-lab-2

List returns [email protected] then [email protected] in package_name_version order.

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'
curl -sS -b cookies.txt -H 'Host: crowdstrike-api.localhost' \
'http://127.0.0.1:8088/container-security/combined/packages/v1'

Success returns [email protected] then [email protected].

The other six package ops are not implemented (not yet). Next leftover is p10he Unidentified containers. This is not Container detections.