# Apigee

> Apigee: 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 an Apigee organisation’s API proxies, API products and daily traffic, so platform agents can explain which APIs exist, what each exposes and how much each is used. It is read-only.

Built against the Apigee API v1 (Apigee X and hybrid).

## At a glance

| Collector                   | Apigee, version `0.1.0`                                                                                                                                               |
| --------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Reads                       | Google Cloud: Apigee API (API proxies, API products, analytics stats) ([the vendor's documentation](https://cloud.google.com/apigee/docs/reference/apis/apigee/rest)) |
| Family                      | Engineering                                                                                                                                                           |
| Kind                        | API gateway                                                                                                                                                           |
| Ways to connect             | Service account                                                                                                                                                       |
| Scopes                      | - Read: `roles/apigee.readOnlyAdmin (Apigee Read-only Admin)`, `https://www.googleapis.com/auth/cloud-platform (token scope; the role keeps it read-only)`            |
| Read only                   | Yes, except: \[object Object]                                                                                                                                         |
| Vendor's API can move money | No                                                                                                                                                                    |
| Personal data               | None                                                                                                                                                                  |
| Hosts it may contact        | `apigee.googleapis.com`, `oauth2.googleapis.com`, `www.googleapis.com`                                                                                                |
| Vendor API versions         | Apigee API v1: organizations.apis.list, apis.revisions.get, apiproducts.list (expand), environments.stats.get; Google OAuth 2.0 JWT bearer grant                      |
| Lowest engine version       | `0.47.1`                                                                                                                                                              |

## What it reads

- API proxies: for the latest revision of each, its display name, description, base paths, proxy and target endpoints and the policies attached. Proxy bundles are never downloaded.
- API products: name, description, approval type, environments, proxies, OAuth scopes and quota.
- Traffic: for each environment you name, one record per completed day (UTC) listing each proxy’s message count, error count and mean total response time. The first read goes back `history_days` (default 7, at most 90); after that, each read starts at the day after the last one read.
- Proxies and products are listed whole on each read; one whose text changed (for a proxy, a new latest revision) is written again and one that has gone is withdrawn.
- Never read: developers, developer apps and their keys, key value maps, target servers’ credentials, request or response content, and debug sessions.

## How to connect

1. In Google Cloud, in the project that holds the Apigee organisation, create a service account and grant it **Apigee Read-only Admin** (`roles/apigee.readOnlyAdmin`) and nothing else.
2. Create a JSON key for it (or, where your organisation forbids keys, ask your Atlantic contact about workload identity).
3. In LightHouse, open **Connectors**, choose **Apigee**, give the organisation (the project id), the environments whose traffic to read, a label and how often to read, and paste the JSON key.
4. In code, give the deployment the key as `APIGEE_SERVICE_ACCOUNT` from your secret store and add a `kind: apigee` source card with `organization`, `environments`, `label` and `requires`. `kinds` narrows what is read; `history_days` sets the first read’s reach; `key_env` changes the variable name.

## Permissions

The Apigee Read-only Admin role only. The Apigee API accepts only the broad `cloud-platform` token scope, so the role is what keeps the credential read-only: grant no other role to the service account. The collector asks for a token by Google’s JWT bearer grant (`POST https://oauth2.googleapis.com/token`, the one write verb it sends, and it changes nothing in Apigee), then sends only `GET` requests to `apigee.googleapis.com`. A key whose `token_uri` names any other address is refused before anything is sent. Its read-only test proves the collector’s side on every change.

## Limits

- Apigee X and hybrid organisations on `apigee.googleapis.com`; Apigee Edge (the classic public and private cloud) is not supported.
- Traffic is aggregate statistics per proxy and day; it is not a log of calls. Apigee’s analytics can lag; a day is read once, after it ends.
- An environment whose statistics answer 403 or 404 is skipped for that read and tried again on the next.
- Requests are paced and back off when Google answers 429 (`Retry-After`).
- Built from Google’s public Apigee API reference; the response shapes, in particular the statistics, are confirmed only when the collector is certified against an organisation.

## Data handling

- Proxy and product definitions and daily traffic counts are copied into the deployment’s corpus under the source’s `label` (default `internal`). They describe an organisation’s APIs and can name backend systems.
- No personal data is read: no developers, apps, keys or call content.
- The service account key stays in your secret store and is never written to logs or run notes; it signs a short-lived assertion, and the token is sent only to `apigee.googleapis.com`.
- Nothing leaves the deployment: only counts reach LightHouse.

## Troubleshooting

| What you see                                          | What it means                                                | What to do                                        |
| ----------------------------------------------------- | ------------------------------------------------------------ | ------------------------------------------------- |
| `organization is the Apigee organisation`             | `organization` is not a project id                           | Use the Google Cloud project id that holds Apigee |
| `the Apigee credential is not a service account key`  | The secret is not a service account JSON key                 | Paste the whole JSON key file                     |
| `the service account key names another token address` | The key’s `token_uri` is not Google’s                        | Use a key made by Google Cloud                    |
| `POST oauth2.googleapis.com: HTTP 400`                | The key is disabled, deleted or for another account          | Make a new key                                    |
| `HTTP 403` on proxies or products                     | The service account lacks the read-only role                 | Grant Apigee Read-only Admin on the project       |
| No traffic records                                    | No environments named, or the statistics answered 403 or 404 | Name the environments and check the role          |
| 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` | Apigee API v1; Google OAuth 2.0 JWT bearer grant | 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               | 2                                                                                                                                                                                                                     |
| 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/apigee/
