The Simplest Way to Make Airflow and Opslevel Work Like They Should
Running airflow and opslevel together links your scheduled data pipelines with your internal service catalog. Airflow runs the jobs, while Opslevel tracks who owns each pipeline and checks service health. Data teams build hundreds of workflows across many cloud accounts. When a nightly job fails, on-call responders need to find the right owner fast. Linking your scheduler to your catalog solves this problem. It maps every pipeline to a real team and a clear set of standards. How airflow and o
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 airflow and opslevel together links your scheduled data pipelines with your internal service catalog. Airflow runs the jobs, while Opslevel tracks who owns each pipeline and checks service health.
Data teams build hundreds of workflows across many cloud accounts. When a nightly job fails, on-call responders need to find the right owner fast. Linking your scheduler to your catalog solves this problem. It maps every pipeline to a real team and a clear set of standards.
How airflow and opslevel share data and permissions
These two tools talk to each other over standard web APIs. A task inside a pipeline sends run status, deploy facts, or check results to the catalog. In return, the catalog can trigger workflows through webhooks when service metadata changes.
To make this work, the scheduler needs a valid API token for the catalog. Teams store this secret in an external secret store or in the scheduler backend. When a task runs, the worker reads the token and makes an API call.
Data flows both ways depending on your workflow needs. Many teams push job completion events from the scheduler into custom catalog checks. This updates the service maturity score right after a production run finishes. Other teams pull owner metadata from the catalog before sending alert messages to chat channels.
Permissions control what each system can read or write. The token you give to the scheduler should only update specific check results or service properties. It does not need full admin rights over the entire catalog.
Common failure modes and how to scope roles
Many teams start by creating one admin token and sharing it across all pipelines. This setup creates a big risk for your production systems. If one pipeline leaks that token in a task log, any user can alter your catalog.
Shared service accounts also ruin your audit trail. When ten different pipelines use the same token, you cannot tell which job changed a record. If a bad script wipes out service tags, you have no way to trace the source.
End-to-End Encryption: architecture patterns and best practices
Continue reading? Get the full guide.
Free. No spam. Unsubscribe anytime.
Broad network paths cause trouble too. Workers often sit in private subnets that can reach every internal tool and database. If a worker runs untrusted code from a repo, that code can reach your internal APIs.
You can fix these issues by scoping roles and network paths tightly. Give each team or pipeline group its own restricted identity with write access to its own services. Rotate those API keys on a regular schedule using your secret manager.
Next, restrict outbound network traffic from your worker nodes. Only allow specific tasks or worker queues to talk to the catalog endpoint. Log every API request with the task name, run ID, and owner tag.
Keeping pipeline ownership and audit logs clean
A service catalog only helps when its data stays fresh and accurate. If teams build new pipelines without registering them, your catalog falls behind fast. You can prevent this drift by adding a registration step to your deploy process.
When a team merges a new workflow file, your deploy pipeline can register it in the catalog. The catalog then checks if the workflow has a valid owner, alert channel, and repo link. If a workflow lacks an owner, the catalog flags it on the team scorecard.
Keep your task logs clean as well. Workers sometimes print full API responses or request headers when a call fails. Make sure your logging rules scrub tokens and sensitive fields like emails or phone numbers.
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
How should Airflow store API tokens for Opslevel?
Store API tokens in an external secret backend rather than plain text files. Give each team a separate secret path so pipelines only read their own keys.
Can Opslevel trigger an Airflow DAG run directly?
Yes, the catalog can send an outbound webhook to the scheduler API when an event happens. Make sure the webhook uses a scoped token that can only trigger that specific workflow.
How do we stop task logs from leaking catalog tokens?
Turn on secret masking in your scheduler settings and avoid printing raw request headers. Review failed task outputs to check that masking rewrites matched fields in results.
Related guides
In this post