Kubernetes Inventory
The connector receives bounded Kubernetes inventory snapshots through the customer-side agent.
Preview
Access
Integration-specific bearer secret. The handler accepts Kubernetes inventory for the kubernetes_inventory adapter.
Request
The agent sends a complete synthetic inventory snapshot with schema version 1.
POST
/api/integrations/kubernetes/00000000-0000-4000-8000-000000000001/inventorySynthetic curl example · synthetic values
curl -i -X POST 'https://portal.rfi-irfos.com/api/integrations/kubernetes/00000000-0000-4000-8000-000000000001/inventory' \
-H 'Authorization: Bearer $SYNTHETIC_WEBHOOK_TOKEN' \
-H 'Content-Type: application/json' \
--data '{"schemaVersion":1,"syncId":"00000000-0000-4000-8000-000000000002","complete":true,"namespace":"default","allNamespaces":false,"resources":[{"uid":"00000000-0000-4000-8000-000000000003","kind":"Pod","name":"synthetic-pod","namespace":"default","createdAt":null}]}'Response
The portal webhook returns acceptance and duplicate status. An event is stored as a technical observation.
202 application/json
{"data":{"accepted":true,"duplicate":false,"resourceCount":1}}Error codes
400 for an invalid snapshot, 401 for an invalid secret, 413 for an oversized snapshot, 415 for an unsupported media type, 429 at the request limit, and 503 for storage failure.
Evidence
| Code evidence | Route details |
|---|---|
connectors/kubernetes/rfi_kubernetes.py | Source |
scripts/kubernetes-connector-smoke.py | Source |
app/api/integrations/kubernetes/[id]/inventory/route.ts | Source |
python3 scripts/kubernetes-connector-smoke.py | Test · Passed locally |
This branch contains source evidence and the listed local test results. Live also requires evidence of production operation; until then the status remains Preview.