The Simplest Way to Make Opslevel and Teamcity Work Like They Should
Integrating opslevel and teamcity links your service catalog to your build server in production. This workflow sends build results to service records so teams can check release readiness. Many groups struggle to keep service lists accurate while running hundreds of daily builds. Build servers know what code runs, while catalogs know who owns each app. Linking these two systems gives engineers one place to check service health and rules. Teams no longer waste time hunting through old build logs
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.
Integrating opslevel and teamcity links your service catalog to your build server in production. This workflow sends build results to service records so teams can check release readiness.
Many groups struggle to keep service lists accurate while running hundreds of daily builds. Build servers know what code runs, while catalogs know who owns each app. Linking these two systems gives engineers one place to check service health and rules. Teams no longer waste time hunting through old build logs to find owners.
How opslevel and teamcity share data and permissions
The link between opslevel and teamcity relies on webhooks and scoped API keys. Your build server runs tests, packages code, and pushes updates to target servers. At the end of a build, the server sends a small payload out. That message holds the service name, commit hash, build status, and time stamp.
The service catalog reads this message after checking the secret key in the header. It matches the incoming build event to the right service entry in its database. Once matched, the catalog updates maturity rubrics and scorecards for that specific app. Platform teams can then verify if a service passes all required build checks.
Data can also flow in the other direction during a live deployment run. A build step can query the catalog API before pushing code to production. If a service fails key rubric rules, the build server stops the release early. This two-way link keeps bad code out of production and enforces team standards.
Common failure modes and how to scope roles
The biggest risk in this setup comes from using one broad admin key. Teams often create one master token and paste it into every build project. If that key leaks in a build log, an attacker gains full control. They can alter service records, fake compliance checks, or read private system data.
Shared service accounts also ruin audit trails across both of your engineering tools. When fifty build jobs use one account, you cannot trace who made changes. Unlogged API queries make it hard to fix broken webhooks or spot abuse. You need clear records showing which job called which endpoint at what time.
End-to-End Encryption: architecture patterns and best practices
Continue reading? Get the full guide.
Free. No spam. Unsubscribe anytime.
To fix this, scope every token to the smallest possible set of permissions. Give the build server a key that can only write deployment events. Give the catalog read-only rights if it needs to poll build status pages. Never share keys across different teams or unrelated build pipelines in your company.
Network paths between the build runners and the catalog also need strict rules. Build agents often run on private networks while the catalog lives in the cloud. Allow outbound traffic from runners only to the exact catalog webhook endpoints needed. Rotate your API keys on a set schedule and watch logs for errors.
Keeping service ownership and build checks in sync
A link between your catalog and build tool only works if names match. Teams often rename build jobs without updating the alias in the service catalog. When names drift apart, webhook payloads fail to match and scorecards go stale. Engineers then lose trust in the catalog because the build data looks old.
Solve this problem by storing the service alias right inside the code repo. Your build job can read that local file and send the exact name. Every time a build runs, it confirms the link between repo and catalog. If an owner changes, the team updates the file in their next commit.
Govern statements and responses across databases and APIs
Good config and scoped roles are needed setup. They do not check single queries in flight or mask sensitive fields in returned rows. Across Postgres, MySQL, SQL Server, MongoDB, ClickHouse, Kubernetes APIs, SSH, and internal HTTP endpoints, hoop.dev runs beside each supported service as an open-source proxy, a sidecar for your database or API.
First, hoop.dev guardrails block banned queries before they run. Then hoop.dev data masking rewrites matched sensitive values in responses in memory. The audit trail records every statement and verdict per resource. Furthermore, hoop.dev holds SOC 2 Type II and is open source on GitHub.
Frequently asked questions
How do we send build events from TeamCity to OpsLevel?
You add a final step in your build job that sends a webhook. This step posts build details and a secret token to the catalog endpoint.
What permissions should the shared API token have?
The token should only have rights to send deploy events and read checks. Never use an admin key that can delete services or change user roles.
Why are my build results not showing up on service scorecards?
Check that the service alias in your payload matches the catalog name. Also verify that the webhook secret is valid and not blocked by firewalls.
Related guides
In this post