The Simplest Way to Make Backstage and Compass Work Like They Should
Running backstage and compass together gives teams one shared view of all software parts. Backstage holds custom developer workflows while Compass tracks cloud app health and scorecards. Many firms end up with both tools after team growth or company mergers. One group builds a custom portal in Backstage from source code files. Another group tracks cloud services and issue tickets inside Atlassian Compass. Linking the two tools stops teams from doing the same catalog work twice. Developers can r
Your coding agents run with your access.
Claude Code reaches prod with a developer's credentials, and approval prompts get clicked through. hoop.dev checks every query, masks sensitive data, and holds risky changes for a human.
Running backstage and compass together gives teams one shared view of all software parts. Backstage holds custom developer workflows while Compass tracks cloud app health and scorecards.
Many firms end up with both tools after team growth or company mergers. One group builds a custom portal in Backstage from source code files. Another group tracks cloud services and issue tickets inside Atlassian Compass. Linking the two tools stops teams from doing the same catalog work twice. Developers can read the same owner data and health scores in both places.
How backstage and compass share catalog data and permissions
Both tools rely on metadata files stored in source code repos. Backstage reads YAML files to build a map of apps, APIs, and teams. Compass also reads repo files or takes updates over its cloud API. To link them, teams set up a sync job between the two catalogs.
First, you pick which tool acts as the main source of truth. Most teams keep code repo files as the master record for service names. Backstage reads those repo files first during its normal scan cycle. Then a background job sends those service records over to the Compass API.
You can also send health scores from Compass back into Backstage panels. Compass calculates scorecards from build pipelines, open alerts, and repo checks. A custom plugin in Backstage reads those scores so developers see them fast. Both tools need clear login rules so only approved jobs can write data.
Identity mapping is the next big step in this two-way setup. Both tools must link user logins to the same central identity provider. When a developer logs into Backstage, their group role sets what they see. Compass checks the same group role before showing team dashboards or edit buttons.
Common failure modes and how to scope roles
The biggest risk in this setup comes from broad API tokens. Teams often create one admin key to sync records between both tools. If that key leaks, an attacker can read or delete the whole catalog. A shared service account also hides who made a change in the logs.
End-to-End Encryption + Backstage Security Plugins: architecture patterns and best practices
Continue reading? Get the full guide.
Free. No spam. Unsubscribe anytime.
Unlogged queries between the two systems create another blind spot for security teams. When a plugin pulls data with a static key, audit logs miss user names. You cannot tell which engineer viewed a sensitive service spec or automation workflows link. Stale permissions also pile up when people switch teams or leave the firm.
To fix this, give the sync job the smallest role it needs. Create a dedicated bot role that can only read and write catalog fields. Never give the catalog sync job admin rights over billing or user settings. Split read keys from write keys so display plugins cannot change records.
Next, lock down the network path between your self-hosted Backstage app and Compass. Only allow outbound traffic from the sync worker to the required cloud endpoints. Rotate your API keys on a set schedule and watch for failed logins. Check your audit logs each week to spot odd queries or bulk edits.
Keeping service ownership and scorecards in sync
Data drift happens fast when engineers edit fields by hand in the UI. Someone might change a team owner in Compass during an active incident. On the next sync run, Backstage might overwrite that fix with old data. Clear rules stop the two tools from fighting over the same record.
Lock UI edits on fields that come from source code repo files. Tell developers to update the repo file when an app changes owners. Let Compass own dynamic metrics like deploy counts, alert status, and readiness scores. Backstage can display those live metrics in a read-only view for the team.
Add runtime guardrails and masking beside your databases and APIs
Login rules, role grants, and CI checks govern who connects to your stack. Yet any allowed script, engineer, or AI agent still runs commands with the full scope of its role. For workloads on Postgres, MySQL, SQL Server, MongoDB, ClickHouse, Kubernetes, SSH, or internal HTTP services, hoop.dev sits beside the service as an open-source proxy, a sidecar for your database or API.
Before a query runs, hoop.dev guardrails check the statement against your rules. An AI Analyzer you configure can score intent or hold risky calls for human review. Next, hoop.dev data masking rewrites sensitive fields in responses, and each verdict is logged per listener. Explore the MIT-licensed project on GitHub.
Frequently asked questions
Should Backstage or Compass be the main source of truth?
Use code repo files read by Backstage as the main source for service names. Let Compass act as the source of truth for live scorecards and alert metrics.
How do we stop API keys from leaking between the two tools?
Never put keys in repo files, and scope each key to one small role. Rotate keys often and restrict which servers can call the catalog APIs.
Can teams use both portals at the same time without data drift?
Yes, if you lock manual UI edits on synced fields in both tools. Force all ownership changes through code pull requests so both catalogs stay aligned.
Related guides
In this post