The Simplest Way to Make Compass and Harness Work Like They Should

Published
Length
3 min read

Luis Felipe Dias

All posts

Using compass and harness together lets teams track software health and release events in one place. Harness runs your builds and deployments, then sends status updates into the Compass catalog. This workflow links every pipeline run to the software component it updates. Developers can check service health, deployment history, and team ownership from a single screen. How compass and harness share permissions and data Data flows from your delivery pipelines into your software catalog during e

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.

Using compass and harness together lets teams track software health and release events in one place. Harness runs your builds and deployments, then sends status updates into the Compass catalog.

This workflow links every pipeline run to the software component it updates. Developers can check service health, deployment history, and team ownership from a single screen.

How compass and harness share permissions and data

Data flows from your delivery pipelines into your software catalog during each run. When a build or release finishes, Harness sends a payload to the catalog API.

This payload carries the build status, duration, and target stage for the service. The catalog reads this message and updates the scorecards for that specific component.

To make this work, the two systems must trust each other using API keys. You generate a token in one platform and store it in the secret manager of the other.

You also map each pipeline to the matching component ID in the catalog. When the pipeline runs, it uses the stored secret to log in and write the event.

Sometimes the catalog also pulls metrics back from the delivery tool. In both directions, the permissions attached to the API key control what data moves across.

Common failure modes and how to scope roles

Many teams set up this link using a single admin account. They create one wide API token and share it across every pipeline in the company.

This approach creates a big security risk for your production systems. If that shared token leaks, an attacker can read or change every service and pipeline.

Broad tokens also break your audit logs. When every pipeline uses the same identity, you cannot tell which team or job made a change.

End-to-End Encryption + Harness Security Features: architecture patterns and best practices

Continue reading? Get the full guide.

Free. No spam. Unsubscribe anytime.

Unlogged queries and blind writes make it hard to fix broken builds. A bad script in one project could overwrite catalog data for another team.

To prevent these failures, create dedicated service accounts with narrow roles. Give each team or project its own identity with write rights to only its own components.

Never give catalog sync tokens permission to trigger production deployments or read unrelated secrets. Keep the role limited to posting deployment events and reading component metadata.

You should also lock down the network paths between your runners and your cloud tools. Use private network links or strict firewall rules so only approved runners can send updates.

Keeping secrets and pipeline runs safe over time

Storing static API keys inside pipeline settings still leaves work for your security team. Keys sit in storage for months, and nobody wants to rotate them by hand.

When you rotate a key, you must update every pipeline that uses it. If you miss one job, your catalog stops getting release updates during the next deploy.

Teams should review their service accounts every quarter to drop unused permissions. You should also log every API call between your delivery tool and your catalog.

Clear audit trails show who triggered a release and what data changed in the catalog. Good logs turn a painful incident review into a quick check.

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

What data flows between Compass and Harness?

Harness sends build results, deployment states, and run durations to the Compass catalog. Compass uses these events to update service health scorecards and activity feeds.

Why should teams avoid shared admin tokens for pipeline sync?

Shared admin tokens give every pipeline full control over your catalog and release tools. If one token leaks, an attacker can alter records across all your services.

How can teams limit permissions between these two tools?

Create a separate service role for each project with write rights only for its own components. Rotate the keys often and restrict network traffic to approved build runners.

The query runs. The emails stay hidden.