Join our Newsletter — 33% off our NHI Course
Home› Guides› Workflow Orchestrator Health Check: A Recurring Security Checklist…
Template Cloud & Workload Identity

Workflow Orchestrator Health Check: A Recurring Security Checklist for Airflow-Class Schedulers

PDF for newsletter subscribers · free to read online

← All guides
By NHI Mgmt Group, under the editorial direction of Lalit Choda Updated 27 November 2026 11 min read
On this page

A workflow orchestrator stores connection credentials for most of your data estate and runs code written by many people, so a gap that opens between reviews can expose every system it touches. Airflow-class schedulers define pipelines as code (DAGs), hold connections and variables for databases, warehouses, cloud accounts and SaaS APIs, and execute tasks on workers with network reach into those systems. This template is a recurring health check for that platform class: 12 scored metrics, the evidence to collect, red flags that need action now, a findings log and a remediation map. It is vendor-neutral and written for data platform owners, security engineers and internal auditors. Deep configuration guidance for one product is in the Apache Airflow Security Guide; this page checks that the controls are still in place.

What this health check covers

  • Connections and secrets: where credentials are stored, who can read or change them, how old they are, and whether they leak into code, variables or logs.
  • DAG code: how code reaches the scheduler, who reviews it, and whether it embeds secrets or pulls unreviewed dependencies.
  • Access control: UI and API roles, administrator count, service accounts and API tokens.
  • Workers and runtime: isolation between tasks and teams, worker network egress, and what credentials workers hold.
  • Logging and recovery: audit trail coverage, log access and the ability to rotate every credential quickly.

Out of scope: the security of each downstream system the orchestrator connects to, and incident response, which is covered in If your workflow orchestrator (Airflow-class schedulers) is compromised.

Key takeaways

  • DAG authors are effectively administrators. In common orchestrator security models, code authors can run arbitrary code on workers and read the credentials their tasks use, so code review is an access control.
  • Connections are the crown jewels. Count them, own them, scope them and rotate them; an orchestrator often holds more database and cloud credentials than any other system.
  • Prefer a secrets backend and federation. Credentials pulled at runtime from a secrets manager, or replaced by workload identity, shrink what a compromise exposes.
  • Workers need fewer secrets than you think. Keep metadata database credentials and signing keys off workers and restrict worker egress.
  • Measure quarterly, act on red immediately. The metrics below give a repeatable score; red flags do not wait for the next review.

How to use this template

  1. Scope: list every orchestrator instance in scope (production, staging, team instances and managed service environments). Score each instance separately.
  2. Collect: gather the evidence in "How to collect the data" before the review meeting. Use exports and API queries, not screenshots, where possible.
  3. Score: rate each metric Green, Amber or Red against the thresholds. Thresholds are NHI Mgmt Group recommendations: tune them to your risk appetite, but record any change and who approved it.
  4. Log findings: enter every Amber and Red result in the findings log with an owner and due date.
  5. Escalate: any red flag goes to the platform owner and security the same day. A metric Red for two consecutive quarters goes to the CISO; a finding that repeats three times goes to the risk register.
  6. Sign off: the platform owner and a security reviewer sign the completed check; keep it with the evidence for audit.

Cadence and sign-off

ReviewFrequencyOwnerApproverEvidence kept
Connection inventory and ageMonthlyData platform engineerPlatform ownerConnection export with owner, type, last rotated
Role and admin reviewQuarterlyPlatform ownerSecurity reviewerRole membership export, approvals for changes
DAG repository and deployment pathQuarterlyData engineering leadSecurity reviewerBranch protection settings, deployment identity, review stats
Full health check (all 12 metrics)QuarterlyPlatform ownerSecurity reviewerCompleted scorecard and findings log
Rotation drillAnnuallyPlatform ownerCISO delegateDrill record with time to rotate
Event-driven reviewAfter major upgrade, migration or incidentPlatform ownerSecurity reviewerRescored metrics for affected areas

Metrics

IDMetricFormulaData source typeGreenAmberRed
WO-01Connections with a named ownerConnections with an owner recorded ÷ all connectionsConnection export joined to inventory100%90% to 99%Below 90%
WO-02Connections served from a secrets backend or federationConnections resolved at runtime from a secrets manager or workload identity ÷ all production connectionsOrchestrator configuration, connection exportAbove 90%60% to 90%Below 60%
WO-03Stale connection credentialsStatic credentials older than your rotation period ÷ static credentialsSecrets manager metadata, target system key ageBelow 5%5% to 20%Above 20%
WO-04Over-privileged connectionsConnections using admin, owner or superuser accounts on the target ÷ all connectionsTarget system role export01 to 2 with documented exceptionAny without exception, or above 2
WO-05Unused connectionsConnections not referenced by any DAG or not used in 90 days ÷ all connectionsCode search of DAG repository, task logsBelow 5%5% to 15%Above 15%
WO-06Secrets in DAG code or variablesSecret scanner findings in the DAG repository and in plain variablesSecrets scanner, variable export0None (no amber band)1 or more
WO-07Reviewed DAG changesMerged DAG changes with at least one approving reviewer other than the author ÷ all merged DAG changesSource control audit data100%95% to 99%Below 95%
WO-08Deployment path integrityDAG files reaching the scheduler only through the approved pipeline (yes or no per instance)Storage and file system permissions, deployment logsYesNone (no amber band)No
WO-09Administrator countNamed users with the admin roleRole membership export3 or fewer4 to 5Above 5 or any shared admin
WO-10Long-lived API tokens and service accountsOrchestrator API tokens or service accounts with no expiry or past rotation ÷ allOrchestrator user and token export0Below 10% with owners10% or more, or any without owner
WO-11Worker credential exposureWorker pools holding metadata database credentials or token signing keysWorker configuration, deployment manifests0None (no amber band)1 or more
WO-12Audit log coverageInstances forwarding orchestrator audit logs to the SIEM with a tested alert on connection changes ÷ instancesSIEM source inventory, alert test record100%Forwarding but no tested alertAny instance not forwarding

How to collect the data

  • Connections (WO-01 to WO-05): export the connection list through the orchestrator's API or CLI as metadata only (identifier, type, host, login, owner tag). Never export secret values. Join with your NHI inventory for owner and rotation date. For static credentials, take key age from the secrets manager or the target system rather than trusting the orchestrator.
  • Privilege on targets (WO-04): for each connection login, ask the target system owner for the account's roles. Database superuser, cloud account owner and SaaS admin roles count as over-privileged.
  • Secrets in code (WO-06): run your secrets scanner across the DAG repository history, plugin code and requirements files. Export variables and flag any whose names or values look like credentials. See the Securing the secrets scanning tool itself guide for scanner hygiene.
  • Code review and deployment (WO-07, WO-08): take branch protection settings and merge statistics from source control. Check who can write to the DAG folder, bucket or image the scheduler reads; only the deployment pipeline identity should.
  • Roles and tokens (WO-09, WO-10): export users, role membership and API tokens. Confirm sign-in goes through your identity provider with MFA and that development-only authentication managers are not in use in production.
  • Workers (WO-11): review worker deployment manifests and environment for metadata database connection strings, token signing keys and cloud keys. Check network policy for worker egress.
  • Logging (WO-12): confirm the SIEM receives orchestrator audit events and that a test connection change raised an alert within the expected time.

Red flags that need action now

  • Any orchestrator UI or API reachable from the internet without SSO, or using a development-only authentication mode in production.
  • A connection using a database superuser, cloud account owner or SaaS global admin with no documented exception.
  • Any secret found in DAG code, plugin code or plain variables (rotate it, then remove it from history).
  • DAG files can be written to the scheduler's source by people or systems outside the reviewed deployment path.
  • Workers hold the metadata database password or the token signing key.
  • A shared administrator account or an admin who has left the organisation.
  • Audit logs are not forwarded, or have stopped arriving, for any production instance.
  • Task logs showing credential values in clear text.

Findings log

IDFindingMetricSeverityOwnerDue dateStatus
[F-001][e.g. 14 connections use static keys older than 180 days][WO-03][High][Name, team][Date][Open]
[F-002][e.g. warehouse connection uses an account admin role][WO-04][Critical][Name, team][Date][In progress]
[F-003][Finding][WO-xx][Severity][Owner][Date][Status]

Severity guide: Critical for any red flag; High for a Red metric; Medium for Amber trending worse; Low for Amber that is stable with a plan.

Remediation map

Finding typeWhat good looks likeWhere to fix it
Connections stored in the orchestrator databaseConnections resolved from a secrets backend at runtimeSecuring the secrets manager itself
Static cloud keys in connectionsWorkload identity federation, short-lived tokensWorkload Identity Federation Guide
Over-privileged or unowned connectionsOne least-privilege account per purpose, owner recordedService Account Security Guide
Unreviewed DAG changes or open deployment pathProtected branches, required review, pipeline-only deploymentSecuring the source control platform itself
Weak worker isolationPer-team worker pools or per-task pods, restricted egress, no metadata database credentialsApache Airflow Security Guide
Missing audit trailAudit events in the SIEM with tested alertsSecuring the SIEM itself

Implementation guidance

The orchestrator's security model explains why these metrics were chosen. In the Airflow security model, DAG authors can execute arbitrary code that is not sandboxed, read the credentials their tasks use and send them elsewhere, and there is no full task-level isolation between groups of users. The same pattern applies to most code-defined schedulers. Three consequences shape the check:

  • Code review is access control: WO-07 and WO-08 are as important as role membership, because anyone who can merge DAG code can act with every connection the workers can reach. This is OWASP CI/CD risk CICD-SEC-4 (Poisoned Pipeline Execution) in a scheduler setting.
  • Credential hygiene limits blast radius: WO-02 to WO-05 track OWASP CICD-SEC-6 (Insufficient Credential Hygiene). The CircleCI breach showed what happens when one platform holds many customers' long-lived secrets: every secret had to be treated as exposed and rotated.
  • Workers should be untrusted by design: the Airflow model recommends that workers do not receive metadata database credentials, reach data only through a short-lived token API, and are limited by network policy. WO-11 checks that this held through upgrades.

First run: expect several Reds. Fix red flags first, then work through WO-04 and WO-03, which reduce exposure fastest. Move connections to a secrets backend one DAG group at a time, running old and new side by side for one schedule cycle before deleting the stored copy; rollback is restoring the stored connection, so keep it disabled for one cycle rather than deleting it.

Small teams: a single instance with SSO, three admins, protected branches, a secrets backend and SIEM forwarding will score Green on most metrics. Large estates: score per instance, add per-team worker isolation, and feed WO-01 to WO-05 from your NHI inventory automatically.

Framework mapping: connection and token metrics support NIST SP 800-53 IA-5 and AC-6 and CSF 2.0 PR.AA-01 and PR.AA-05; code review and deployment path support CM-3 and PR.PS-01; logging supports AU-6, AU-12 and PR.PS-04. ATT&CK T1053 (Scheduled Task/Job) and T1552.001 (Credentials In Files) describe the techniques these checks make harder.

References

Related NHI Mgmt Group resources: Apache Airflow Security Guide · If your workflow orchestrator (Airflow-class schedulers) is compromised · Securing the secrets manager itself · CI/CD server health check

PDF for subscribers

Take this guide with you

Every section, table and checklist in one PDF, with links to the sources and related guides. Subscribe to our weekly NHI & AI Identity Journal and we’ll email you a download link.

Free weekly newsletter

Subscribe to the NHI & AI Identity Journal

The latest on NHI and Agentic AI security – articles, research, breaches, news and events every week.

Bonus 33% off our NHI Course when you subscribe.

PDF Downloads for Newsletter Subscribers

Get the guide

Enter your details and we’ll email you a download link.

The full guide is free to read online. The PDF is a thank you for subscribing.

Fill in all fields marked * and tick both boxes to continue.