# Kong

> Kong: what the collector reads, how to connect it, its permissions, its certification by Atlantic Agentic Labs and its security posture.

Built, not certified Built and tested against recorded and synthetic responses (version 0.1.0, 21 November 2026). Not yet run against the vendor's sandbox or a client environment.

Reads a Kong Konnect organisation’s control planes and the gateway services, routes and plugins configured on them, so platform agents can explain how an API is exposed and what policies apply to it. It reads configuration only; it never reads traffic or changes the gateway.

Built against the Kong Konnect Control Planes API v2 and the Control Planes Config API.

## At a glance

| Collector                   | Kong, version `0.1.0`                                                                                                                         |
| --------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------- |
| Reads                       | Kong: Kong Konnect (Control Planes API v2 and Control Planes Config API) ([the vendor's documentation](https://docs.konghq.com/konnect/api/)) |
| Family                      | Engineering                                                                                                                                   |
| Kind                        | API gateway                                                                                                                                   |
| Ways to connect             | Access token                                                                                                                                  |
| Scopes                      | - Read: `Control Planes Viewer`                                                                                                               |
| Read only                   | Yes                                                                                                                                           |
| Vendor's API can move money | No                                                                                                                                            |
| Personal data               | Content                                                                                                                                       |
| Hosts it may contact        | `us.api.konghq.com`, `eu.api.konghq.com`, `au.api.konghq.com`, `me.api.konghq.com`, `in.api.konghq.com`                                       |
| Vendor API versions         | Konnect Control Planes API v2 (/v2/control-planes) and Control Planes Config API (core-entities: services, routes, plugins)                   |
| Lowest engine version       | `0.47.1`                                                                                                                                      |

## What it reads

- Control planes: name, description, cluster type and labels. `control_planes` narrows the read to the ids named.
- Gateway services: name, upstream protocol, host, port and path, enabled and tags.
- Routes: name, service, protocols, methods, hosts and paths, and tags.
- Plugins: name, scope (global, service, route or consumer), enabled, protocols and configuration. Configuration values whose keys suggest a secret (secret, password, token, key, credential, salt, signature, private) are written as `(redacted)`.
- Every list is read whole on each run; an object whose text changed is rewritten, and one that has gone is withdrawn.
- Never read: consumers and their credentials, certificates and keys, vaults, analytics and data plane nodes.

## How to connect

1. In Konnect, create a system account (or use a personal access token) and give it only the **Control Planes Viewer** role on the control planes to read; create a token for it.
2. In LightHouse, open **Connectors**, choose **Kong**, pick the Konnect region, optionally the control planes to read, a label and how often to read, and paste the token.
3. In code, give the deployment the token as `KONNECT_TOKEN` from your secret store and add a `kind: kong` source card with `region` (`us`, `eu`, `au`, `me` or `in`), `label` and `requires`. `token_env` changes the variable name; `kinds` and `control_planes` narrow what is read.

## Permissions

The Control Planes Viewer role only. The collector sends only `GET` requests to `<region>.api.konghq.com`, with the token as a Bearer token; it never creates, changes or deletes a service, route or plugin. A token with an admin or creator role is one a leak turns into an outage, so give it the viewer role. Its read-only test proves the collector’s side on every change.

## Limits

- Konnect only; a self-managed Kong Admin API is not read.
- A control plane whose entities the token cannot read (403 or 404) keeps what was read from it before.
- Lists are paged 100 at a time and read whole on every run.
- Requests are paced and back off when Konnect asks (`Retry-After`).
- Built to fixtures, not yet certified: response shapes are taken from Kong’s public Konnect API reference and are confirmed only when the collector is certified against an organisation.

## Data handling

- Control plane names, upstream hosts, route paths and plugin configuration are copied into the deployment’s corpus under the source’s `label`. They describe a business’s APIs and can name internal hosts. Secret-looking configuration values are never copied.
- The token stays in your secret store and is never written to logs or run notes; it is sent only to the region’s Konnect API host.
- Nothing leaves the deployment: only counts reach LightHouse.

## Troubleshooting

| What you see                                     | What it means                                      | What to do                                    |
| ------------------------------------------------ | -------------------------------------------------- | --------------------------------------------- |
| `region must be one of`                          | `region` is not a Konnect region                   | Use `us`, `eu`, `au`, `me` or `in`            |
| `not control plane ids`                          | A `control_planes` entry is not a control plane id | Copy the id from the control plane’s overview |
| `credential variable 'KONNECT_TOKEN' is not set` | The token variable is empty                        | Set it from your secret store                 |
| `HTTP 401`                                       | The token is revoked or expired                    | Create a new token                            |
| `HTTP 403` on a control plane                    | The token has no viewer role on it                 | Grant Control Planes Viewer                   |
| Read succeeded, 0 written                        | Nothing changed since the last read                | Nothing to do                                 |

## Certification

Each entry is a run by Atlantic Agentic Labs, newest first. Only a run against the vendor’s sandbox or a client environment certifies a collector; a certification lasts six months, or less if the vendor publishes an API version the collector does not list. See [How collectors are certified](/collectors/certification/).

| Date             | Collector | Engine   | Vendor API                                                                   | Method                              | Expires        |
| ---------------- | --------- | -------- | ---------------------------------------------------------------------------- | ----------------------------------- | -------------- |
| 21 November 2026 | `0.1.0`   | `0.47.1` | Control Planes API v2; Control Planes Config API (services, routes, plugins) | Fixtures only: built, not certified | Not applicable |

## Security posture

From the collector’s last scan on the default branch. What each line means, and what blocks a release: [Security posture](/collectors/security/).

| Last scanned               | 25 November 2026                                                                                                                                                                                                      |
| -------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Critical findings          | 0                                                                                                                                                                                                                     |
| High findings              | 0                                                                                                                                                                                                                     |
| Medium findings            | 0                                                                                                                                                                                                                     |
| Low findings               | 0                                                                                                                                                                                                                     |
| Info findings              | 0                                                                                                                                                                                                                     |
| Release blocked            | No                                                                                                                                                                                                                    |
| Network allow-list check   | Pass                                                                                                                                                                                                                  |
| Read-only behavioural test | Pass                                                                                                                                                                                                                  |
| SBOM (CycloneDX)           | Produced                                                                                                                                                                                                              |
| Dependency licences        | Pass                                                                                                                                                                                                                  |
| Scanners                   | bandit 1.9.4, semgrep 1.181.1, pip-audit 2.10.1, osv-scanner 2.7.0, cyclonedx-py 7.5.0, pip-licenses 5.5.5, gitleaks repository job aal-secrets, hosts_check tools/hosts_check.py, read-only test pytest -m read_only |

Source: https://docs.atlanticagenticlabs.com/collectors/catalogue/kong/
