TL;DR: Measurable validation, not manual review, becomes the scalable control for complex data workflows, according to SecurityScorecard. Its scoring pipeline uses Great Expectations, DataHub, and Apache Airflow to standardize data quality checks across ingest, compute, database sync, and customer-facing release stages, replacing ad hoc validation with repeatable controls and observable results.
At a glance
What this is: This is an analysis of how SecurityScorecard structures data quality validation across Airflow pipeline stages to make checks repeatable, visible, and easier to extend.
Why it matters: It matters because teams running data-driven products need controls that catch bad inputs, bad transforms, and bad downstream syncs before they affect customer-facing systems and decision-making.
Context
Data pipelines fail in practice when validation is treated as a one-time test rather than a control embedded in the workflow. In Airflow-based systems, the risk is not just bad data, but bad data moving through multiple stages before anyone notices, which creates avoidable rework, customer impact, and weak governance over downstream outputs.
The article sits at the intersection of data engineering and governance. SecurityScorecard’s example shows why observable validation matters when teams need consistent assurance across ingest, compute, database synchronisation, and customer-facing release stages. For identity and access teams, the governance lesson is familiar: controls only scale when they are standardised, measurable, and visible across the full lifecycle.
The company’s approach is typical of teams that have outgrown manual review and need repeatable controls tied to pipeline execution. That makes the article useful beyond data engineering, because the same governance problem appears whenever operational checks must be enforced reliably across distributed systems.
Key questions
Q: What breaks when data validation is not built into each Airflow stage?
A: Without stage-by-stage validation, bad inputs can consume compute, bad outputs can move downstream, and sync failures can reach customer-facing systems before anyone notices. The practical failure is not only incorrect data, but delayed detection, unclear ownership, and a much larger remediation effort because the issue is discovered after the workflow has already advanced.
Q: Why do data teams need shared observability for validation results?
A: Shared observability turns validation from a local engineering check into a governable control. When pass-fail status, expected values, and execution context are visible in one place, teams can trend failures, assign ownership faster, and prove that controls are operating consistently across pipelines instead of surviving only inside individual code paths.
Q: Where do validation approaches most often fail in large data pipelines?
A: They fail when every check is forced through the same mechanism. Schema checks, business-rule checks, and simple file-level comparisons have different performance and governance needs, so trying to make one framework do all of them can create slow validation, brittle pipelines, and controls that people stop using.
Q: How should teams decide when to pause a pipeline for data quality failure?
A: Teams should pause the pipeline whenever the failed check affects a control boundary that protects downstream accuracy or customer-facing output. The decision should be based on the business impact of the stage, not on whether the failure is convenient to ignore, because late syncs and silent exceptions are where data quality incidents become operational problems.
Technical breakdown
Why manual data checks fail in Airflow pipelines
Airflow coordinates tasks, but it does not make data trustworthy by itself. In multi-stage pipelines, manual checks tend to be inconsistent, hard to reproduce, and easy to miss when data volume or team size grows. The article’s pattern is to move validation into the workflow so each stage produces a structured result. Great Expectations provides a standard way to express expectations, while DataHub turns those results into visible operational signals. The underlying control idea is simple: a pipeline should not rely on human memory to decide whether the data is fit to move forward.
Practical implication: treat validation as part of pipeline execution, not as a separate review activity.
Why schema validation and business rules should not use the same mechanism
Not every check belongs in the same execution path. Schema validation is well suited to a framework such as Great Expectations because the checks are declarative and repeatable. Business rules on large tables are different, because pulling millions of rows into Python can create unnecessary latency and resource pressure. The article shows the practical split: use a validation framework for structure and a database for set-based rule checks. That is a control design choice, not just a performance optimisation, because the wrong mechanism can turn a sensible policy into an operational bottleneck.
Practical implication: separate structural checks from heavy business-rule checks so validation stays fast enough to enforce.
Why observability makes validation governable
Validation is only useful when teams can see patterns, not just pass or fail outcomes. Publishing assertions into DataHub gives operators history, timestamps, expected versus actual values, and dataset context, which makes quality issues easier to triage and trend over time. That turns validation into a governance asset rather than a local engineering trick. In broader identity and data governance terms, this is the same principle as centralising access or audit evidence: controls need shared visibility if they are going to be managed consistently across multiple systems and owners.
Practical implication: centralise validation outcomes so teams can trend failures, assign ownership, and prove control effectiveness.
NHI Mgmt Group analysis
Stage-by-stage validation is the right response when data quality risk is distributed across the pipeline. Once data passes through ingest, transformation, database sync, and release, a single end-of-pipeline check is too late to be an effective control. The stronger pattern is to validate at each meaningful boundary so failures are contained near their source. For practitioners, the lesson is to align controls to workflow stages rather than assuming one review point can cover the whole lifecycle.
Validation observability is the governance gap many data programmes miss. Teams often have tests, but not a shared operational record of what passed, what failed, and how conditions changed over time. DataHub-style visibility turns quality into something that can be managed, audited, and improved across teams. The practitioner implication is that validation evidence should be treated as governance data, not just engineering metadata.
Data quality now behaves like an operational control surface, not a documentation problem. When scoring or analytics outputs reach customer-facing systems, the cost of late discovery is business impact, not just debugging time. Standardised checks reduce ambiguity about which stage failed and who owns the response. Practitioners should design for repeatable enforcement, because governance only works when the control is embedded where the data actually moves.
Airflow orchestration does not remove the need for explicit control points. The workflow engine schedules work, but it does not decide whether the data is acceptable to advance. That distinction matters for programmes that assume orchestration is equivalent to assurance. The practitioner implication is to build control gates into the pipeline itself, with clear thresholds and pause conditions.
Data quality debt accumulates when validation stays ad hoc. Early manual success can hide the cost of inconsistent checks, uneven ownership, and opaque failure handling as pipelines scale. A named concept here is validation visibility gap: the point where checks exist but cannot be consistently seen, compared, or acted on across projects. Practitioners should close that gap before scale turns inconsistency into operational risk.
What this signals
Stage-gated validation is becoming the practical answer to data quality sprawl because orchestration alone does not guarantee trust in downstream outputs. For teams running complex workflows, the control question is no longer whether checks exist, but whether they are visible, enforceable, and fast enough to act on before release.
Validation visibility gap: the point where checks exist but cannot be consistently seen, compared, or acted on across projects. Closing that gap matters because control effectiveness depends on more than pass or fail results; it depends on whether operators can trace what changed, where it changed, and who owns the response.
For practitioners
- Standardise validation at each pipeline stage Define explicit checks for ingest, post-compute, database sync, and release so each boundary can stop bad data before it propagates.
- Split schema and business-rule enforcement Use a validation framework for structural checks and database-side queries for heavy rule evaluation on large tables.
- Publish validation outcomes to a shared system Store pass/fail status, timestamps, expected versus actual values, and dataset context in a central observability layer.
- Make pipeline pauses automatic on policy failure Configure the workflow so failed checks halt downstream sync and alert the on-call team with enough context to triage quickly.
- Design checks to be easy to extend Keep the check definition simple enough that adding a new validation does not require edits across multiple files or abstractions.
Key takeaways
- The core risk is not a missing test, but a fragmented control model that lets bad data move between Airflow stages before anyone can intervene.
- SecurityScorecard’s example shows that validation becomes manageable when structure checks, business-rule checks, and observability are designed as one workflow.
- Practitioners should embed pause conditions, shared result visibility, and stage-specific checks so data quality is enforced where the data actually changes.
Standards & Framework Alignment
This section maps relevant standards and security frameworks to the operational risks and controls described in this guidance.
NIST CSF 2.0, CIS Controls v8 and NIST SP 800-53 Rev 5 set the governance and control requirements practitioners need to meet.
| Framework | Control / Reference | Relevance |
|---|---|---|
| NIST CSF 2.0 | PR.DS-01 — Data-at-Rest Confidentiality and Integrity | Stage-by-stage validation protects data integrity as it moves through the pipeline. |
| DE.CM-01 — Networks and systems are monitored to detect anomalous events | Centralised validation results create monitoring signals for quality failures and drift. | |
| Recommendation — Apply PR.DS-01 to verify that pipeline outputs remain accurate before they reach downstream systems. Use DE.CM-01 to monitor validation outcomes and detect unusual changes in pipeline behaviour. | ||
| CIS Controls v8 | CIS-8 — Audit Log Management | Publishing validation assertions creates the audit trail needed for control visibility. |
| Recommendation — Implement CIS-8 to retain validation evidence and support investigations across pipeline stages. | ||
| NIST SP 800-53 Rev 5 | SI-7 — Software, Firmware, and Information Integrity | Stage gates prevent untrusted or invalid data from advancing through the workflow. |
| Recommendation — Use SI-7 to verify information integrity before data is promoted to downstream processing. | ||
Key terms
- Stage-Gated Validation: A control pattern that checks data at multiple points in a workflow instead of only at the end. It helps teams stop bad data close to where it enters, changes, or leaves the pipeline, which reduces downstream error propagation and makes ownership clearer when failures occur.
- Data Quality Observability Cycle: The Data Quality Observability Cycle is a continuous operating model for keeping data accurate, complete, timely, and consistent. It moves through discovery, rule definition, monitoring, and response so teams can understand data structure, enforce expectations, catch anomalies, and adapt when conditions change.
- Business Rule Validation: Checks that evaluate whether data matches expected operational or domain conditions, not just its structure. These checks often look for acceptable ranges, completeness, or consistency, and they are most useful when implemented in the system that can process them efficiently.
- Pipeline Control Gate: A decision point in a workflow where processing stops unless required conditions are met. In data pipelines, it prevents invalid or incomplete data from moving further downstream and gives operators a clear point to investigate before customer-facing systems are affected.
Deepen your knowledge
NHI Foundation Level course, the industry's only accredited NHI security programme, covers NHI governance, identity lifecycle, and workload identity for practitioners who need to govern non-human access with discipline. It is a fit for identity and security teams that want to apply consistent control thinking across complex operational systems.
Published by the NHIMG editorial team on July 10, 2026.
Updated on October 11, 2026.
NHI Mgmt Group, the independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org