# Backstage

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

Certified Certified by Atlantic Agentic Labs on 21 November 2026, against Backstage Software Catalog API (entities/by-query), static external-access token; Backstage 1.55.0; expires 21 May 2027.

Reads the Software Catalog of a Backstage backend, so engineering agents can answer who owns a service, what it depends on, which APIs it provides and consumes, and what lifecycle stage it is in.

## At a glance

| Collector                   | Backstage, version `1.0.0`                                                                                                                                |
| --------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Reads                       | Backstage (CNCF): Backstage Software Catalog API ([the vendor's documentation](https://backstage.io/docs/features/software-catalog/software-catalog-api)) |
| Family                      | Engineering                                                                                                                                               |
| Kind                        | Records                                                                                                                                                   |
| Ways to connect             | Access token, None (no credential)                                                                                                                        |
| Scopes                      | - Read: `catalog.entity.read`                                                                                                                             |
| Read only                   | Yes                                                                                                                                                       |
| Vendor's API can move money | No                                                                                                                                                        |
| Personal data               | Content, Identity                                                                                                                                         |
| Hosts it may contact        | Only the hosts on your deployment's allow-list (`*`: the host is the one you give it)                                                                     |
| Vendor API versions         | Backstage Software Catalog API (catalog backend, entities/by-query)                                                                                       |
| Lowest engine version       | `0.46.0`                                                                                                                                                  |

## What it reads

- One record per catalogue entity: Component, System, API, Resource, Group, User, Domain and any other kind the catalogue holds (restrict them with `kinds`).
- For each entity: kind, namespace and name, title, description, tags, links, `spec` fields (type, lifecycle, owner, system, domain) and the relations the catalogue computed (`ownedBy`, `dependsOn`, `providesApi`, `consumesApi`, `partOf` and their inverses). Annotations are kept as metadata for filtering.
- Incremental: the catalogue API has no “changed since” filter, so each run reads every page and compares each entity with the hash the cursor holds. Only new or changed entities are returned, and an entity that has gone is withdrawn.
- Another source of the same information is the `catalog-info.yaml` files in your repositories, which the GitHub and GitLab collectors read as files. This collector reads the catalogue API, which holds what Backstage resolved, including relations and entities from other providers.
- Never read: TechDocs content, scaffolder tasks, plugin data other than the catalogue.

## How to connect

1. Find the address of the Backstage backend (the `backend.baseUrl` of your app config), and the address of the web app if it differs.
2. If the backend requires authentication, add a static external-access token under `backend.auth.externalAccess` in the Backstage configuration, with a subject that may read the catalogue only. A development backend with an open catalogue needs no token.
3. In LightHouse, open **Connectors**, choose **Backstage**, enter the backend address, optionally the kinds, a label and how often to read, and approve or paste the token.
4. In code, give the deployment the token as `BACKSTAGE_TOKEN` from your secret store and add a `kind: backstage` source card with `base_url`, `label` and `requires`. Set `credential_env: ""` for an open catalogue.

## Permissions

Read access to catalogue entities only (the `catalog.entity.read` permission, when the permission framework is enabled). The collector sends only `GET` requests to `<base_url>/api/catalog/entities/by-query`, with the token as a Bearer token; it never writes, refreshes locations or edits entities. Its read-only test proves it on every change.

## Limits

- The backend address must be `https://`; requests to any other host are refused, including a redirect to one.
- The whole catalogue (or the kinds you name) is read on every run, 200 entities a page. Very large catalogues cost one request per page each run; schedule accordingly.
- Entities hidden from the token by the permission framework are not returned, and are therefore not read. If a previously visible entity becomes hidden, it is withdrawn like a deleted one.
- Each record’s `raw_sha256` is the hash of the catalogue page it arrived in, not of the entity alone.
- A failing page fails the pull; nothing is withdrawn from a partial listing.

## Data handling

- Entity descriptions, links and annotations are copied into the deployment’s corpus under the source’s `label`. User and Group entities carry names and, where the catalogue holds them, email addresses and profile fields in their `spec`; these are not copied into the record body, but annotations are.
- The token stays in your secret store and is never written to logs or run notes; it is sent only to the backend host.
- Nothing leaves the deployment: only counts reach LightHouse.

## Troubleshooting

| What you see                                       | What it means                                  | What to do                                                              |
| -------------------------------------------------- | ---------------------------------------------- | ----------------------------------------------------------------------- |
| `base_url must be an https URL`                    | The address is not https                       | Use the https address                                                   |
| `credential variable 'BACKSTAGE_TOKEN' is not set` | The token variable is empty                    | Set it, or `credential_env: ""` for an open catalogue                   |
| `HTTP 401`                                         | The token is missing, wrong or expired         | Check the static token and its subject in `backend.auth.externalAccess` |
| `HTTP 403`                                         | The token’s subject may not read the catalogue | Grant `catalog.entity.read`                                             |
| `HTTP 404` on `entities/by-query`                  | The backend is older than the paged endpoint   | Upgrade the catalog backend                                             |
| `refusing ... is not an allowed host`              | A redirect leads off the backend host          | Use the final address as `base_url`                                     |
| Read succeeded, 0 written                          | Nothing changed since the cursor               | 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 | `1.0.0`   | `0.69.2` | Backstage Software Catalog API (entities/by-query), static external-access token; Backstage 1.55.0 | Vendor's sandbox (a real run)       | 21 May 2027    |
| 20 November 2026 | `1.0.0`   | `0.46.0` | Backstage Software Catalog API (catalog backend, entities/by-query)                                | 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/backstage/
