13 Years of BCBS 239: The Data Lineage Gap Banks Still Haven't Closed 11 min read
Go back

13 Years of BCBS 239: The Data Lineage Gap Banks Still Haven't Closed

By Eliud & Teresia Muiruri  ·  6 May 2026 at 05:17  ·  11 min read

A typical global bank may operate multiple source systems at the same time, such as trading platforms, treasury systems, credit systems, general ledgers, and market data feeds, often owned by different technology teams and built on different data standards. In this environment, systems do not always connect seamlessly, and legacy architecture often sits alongside newer platforms. The result can be hybrid data pipelines in which similar data elements originate from different sources and converge in a single downstream process or table.

13 Years of BCBS 239: The Data Lineage Gap Banks Still Haven't Closed
Previously in our Data Regulations series, we discussed The Digital Operational Resilience Act (DORA) EU and the Rest of the World.

13 Years of BCBS 239: The Data Lineage Gap Banks Still Haven't Closed

By Eliud Nduati and Teresia Muiruri

Previously in our Data Regulations series, we discussed The Digital Operational Resilience Act (DORA) EU and the Rest of the World.

Introduction

One day, you receive a question from your boss, from an auditor, or from a regulator: "Where did this risk-weighted asset (RWA) number come from, and exactly what happened to the data on its way here?"

How do you respond? Do you cite the formula? Name the tool? Point to the source system?

The honest answer is that any aggregate number in a bank's regulatory report is made up of other numbers: numbers that come from different places, created at different points, and transformed multiple times between the producer who generated them and the consumer who reported them.

That journey from raw data to regulatory output is what data lineage is supposed to map. And in most banks, it remains only partially visible.

The Regulatory Context

The Basel Committee published BCBS 239, its Principles for effective risk data aggregation and risk reporting, in 2013, with the expectation that the risk data underpinning a bank's regulatory reports would be accurate, complete, and traceable. Of its 14 principles, two are directly relevant here. Principle 2 requires banks to build data architecture and infrastructure that supports risk data aggregation and reporting. Principle 3 requires that risk data be accurate and reliable, and aggregated largely on an automated basis to minimise errors.

Thirteen years on, the gap has not closed. The Basel Committee's November 2023 progress report on the 31 global systemically important banks it assessed found that significant work remains at most of them. In May 2024 the European Central Bank followed with a final guide on effective risk data aggregation and risk reporting, setting out its supervisory expectations, including an integrated data architecture and effective data quality controls.

The reports that depend on this traceable data are the primary lens through which regulators assess a bank's health. COREP (Common Reporting) measures capital adequacy: how much capital the bank holds against its risks. FINREP (Financial Reporting) provides financial information submitted to the supervisor on an IFRS basis. The LCR (Liquidity Coverage Ratio) assesses whether the bank holds enough high-quality liquid assets to survive a 30-day stress scenario, while the NSFR (Net Stable Funding Ratio) assesses whether its funding is stable over a one-year horizon. FRTB (Fundamental Review of the Trading Book) determines how much capital the trading book must hold against market risk.

When a bank cannot demonstrate the lineage behind these numbers, the consequences can include supervisory findings, capital add-ons under Pillar 2 and, in serious cases, restrictions on distributions such as dividends. The issue is not just a regulatory penalty; it signals a deepening scepticism toward the bank's reporting. If key figures are questioned, the credibility of the financial narrative begins to fracture.

Why Banks Struggle

Most large banks have invested in catalogue and lineage platforms. The challenge is that the underlying systems are inherently complex and deeply fragmented.

A typical global bank may operate multiple source systems simultaneously, such as trading platforms, treasury systems, credit systems, general ledgers, and market data feeds, often owned by different technology teams and built on different data standards. In this environment, systems do not always connect seamlessly, and legacy architecture often sits alongside newer platforms. The result can be hybrid data pipelines in which similar data elements originate from different sources and converge in a single downstream process or table.

This complexity is made harder still by the fact that lineage in many organizations remains heavily reliant on manual documentation. Spreadsheets, inventories, and process diagrams may offer a useful snapshot, but they rarely keep pace with the rate of change in the underlying data environment. A small change to transformation logic, a revised mapping, or an amended join condition can quickly break the alignment between documented lineage and the live data flow. The result is a familiar but critical problem: institutions believe they understand the movement of data, when in reality the documented view has already drifted from production.

Another challenge lies in the gap between business lineage and field-level lineage. Banks are often able to describe the former: which system feeds which process, and which table ultimately supports which report. But that level of visibility is rarely enough. The real difficulty lies in tracing, field by field, how a raw data element is transformed, filtered, enriched, validated, and aggregated before it appears in a regulatory metric. That missing layer of traceability matters because it is precisely where control weaknesses emerge.

What We Built

To understand this problem practically, we built a fictional global investment bank with a fully simulated data pipeline. The goal was to replicate the structural complexity of a real institution: multiple source systems, fragmented ownership, legacy platforms sitting alongside modern ones, and four regulatory outputs at the end of the chain.

The pipeline spans five layers:

  • Raw: 13 landing tables, one for each source feed, capturing all data without transformation.
  • Staging: a unified layer that cleanses, standardises and consolidates data across all systems.
  • Enriched: a risk metric engine that computes Independent Price Verification (IPV), Risk-Weighted Assets (RWA), High-Quality Liquid Assets (HQLA) haircuts, and Profit and Loss (P&L) attribution.
  • Mart: data marts that aggregate information to a report-ready level of granularity.
  • Regulatory: four terminal outputs for FRTB capital, LCR / NSFR, COREP / FINREP, and the BCBS 239 Risk Data Aggregation (RDA) scorecard.

Seven source systems feed the pipeline. Murex holds the trading book positions and risk sensitivities. Calypso manages OTC derivatives and treasury instruments. LoanIQ carries the syndicated loans and credit facilities. SAP S/4HANA is the source of truth for the general ledger and financial accounting. Bloomberg provides market prices and interest rate curves used for independent valuation across the pipeline. Summit captures FX spot, forward, and swap trades. Kondor+ is a legacy fixed-income system holding bond positions that are being migrated to Murex.

Our approach leverages the fact that lineage is already encoded in SQL scripts, through clauses such as FROM, JOIN, and UNION. Instead of relying on manual documentation, we parsed these scripts to extract relationships directly from the transformation layer, and a graph engine maps the resulting source-to-target dependencies into a live lineage network. Because the map is derived from the code, it refreshes whenever the code changes, with no manual updates.

The prototype captures lineage at table level. The same parsing technique extends to column level by resolving the expressions in each SELECT statement, which is the field-level traceability described above and the natural next step for a production implementation.

We built three components to achieve this:

  1. A SQL parser that reads every transformation script and automatically extracts the target table, all source tables, and metadata, including layer, domain, regulatory scope, and criticality.
  2. A graph engine that builds a directed lineage graph, where nodes are tables and edges are data flows.
  3. An interactive dashboard that makes the graph queryable: click any table and see its full upstream dependency chain and downstream impact in real time.

The So What

The real test of any lineage tool is whether it can answer a specific question under pressure, such as: "Which source systems and transformations sit upstream of this RWA calculation?"

Consider two scenarios:

  1. Bloomberg prices become unavailable on a reporting day, a not uncommon occurrence in production environments. The immediate concern is: which reports are affected, and which teams need to be notified?
  2. The FRTB capital report is under review, and a query has been raised about the reliability of the market valuations feeding it. The question this time is: which source systems and transformations are upstream of this number, and where could an error have been introduced?

In most banks, answering those questions means manually tracing through pipeline documentation, calling the owners of downstream systems, and assembling a picture of impact over hours or days. In our case study, it takes one command:

python -m src.cli impact raw.raw_bloomberg_prices

The results show:

⚠️ IMPACT ANALYSIS: raw.raw_bloomberg_prices

──────────────────────────────────────────────────

Upstream tables: 0

Downstream tables: 11

Regulatory reports affected:

🔴 BCBS239

🔴 BCBS239 Principles 2

🔴 COREP C01-C07 (Own Funds)

🔴 COREP-CR

🔴 CRR3 Art.92 (CAR)

🔴 CRR3 Article 325

🔴 CRR3-IRB

🔴 CRR3-SA

🔴 FRTB-IMA

🔴 FRTB-SA

🔴 FRTB-SA (BCBS d352)

🔴 IFRS13

🔴 IFRS9

🔴 LCR (Basel III Annex / CRR2 Art.412)

🔴 LCR (Basel III Annex)

🔴 NSFR (CRR2)

High criticality downstream:

⚠️ enrichment.enr_credit_exposure

⚠️ enrichment.enr_liquidity_buffer

⚠️ enrichment.enr_trade_positions

⚠️ mart.mart_credit_risk

⚠️ mart.mart_liquidity

⚠️ mart.mart_market_risk

⚠️ regulatory.reg_bcbs239_rda

⚠️ regulatory.reg_corep_finrep

⚠️ regulatory.reg_frtb_capital

⚠️ regulatory.reg_lcr_nsfr

⚠️ staging.stg_market_data

Eleven downstream tables, and all four regulatory outputs affected. The FRTB capital report loses its independent price verification inputs. The LCR report loses its HQLA market valuations. The COREP own funds calculation loses its market-implied credit inputs. And because the BCBS 239 RDA scorecard itself sits downstream, the bank's own data quality self-assessment inherits the same gap.

For the second scenario:

python -m src.cli upstream regulatory.reg_frtb_capital

📥 UPSTREAM: regulatory.reg_frtb_capital

──────────────────────────────────────────────────

← enrichment.enr_trade_positions [ENRICHMENT] Market Risk

← mart.mart_market_risk [MART] Market Risk

← raw.raw_bloomberg_curves [RAW] Market Data

← raw.raw_bloomberg_prices [RAW] Market Data

← raw.raw_kondor_bonds [RAW] Fixed Income

← raw.raw_murex_books [RAW] Market Risk

← raw.raw_murex_trades [RAW] Market Risk

← staging.stg_market_data [STAGING] Market Data

← staging.stg_trading_book [STAGING] Market Risk

The output traces the full dependency chain back to its origins: through the market risk mart, the enriched trade positions table and two staging tables, to five raw feeds from three source systems: Bloomberg prices and curves, Murex trades and books, and Kondor+ bonds. Any valuation discrepancy in the FRTB report can be narrowed to those three systems within seconds. Notably, Kondor+ is the legacy platform being migrated to Murex, exactly the kind of transitional dependency that manual documentation tends to miss. Without automated lineage, the same investigation would mean interrogating multiple teams across the front office, market data operations, and risk technology.

This is operationalised lineage: answering a specific business question at a specific moment of pressure. In our case study, it is the difference between a 30-second incident-scoping call and a three-hour war room.

The underlying lineage was extracted automatically from the SQL transformation scripts themselves, from the FROM clauses and JOIN conditions that developers write every day. The governance intelligence was already there. It just needed to be read.

The Governance Angle

Data lineage is frequently treated as a reporting problem. Institutions invest in catalogue platforms, appoint lineage owners, and produce documentation that satisfies an audit cycle. But lineage is an architectural problem.

The quality of lineage output is determined at the point where data architecture decisions are made, not at the point where lineage is documented. When transformation logic is written without metadata standards, when pipeline layers have no consistent ownership model, and when source system integrations are built for functional delivery rather than traceability, the downstream lineage catalogue inherits all of that ambiguity. No tooling investment corrects for architectural debt of that kind.

This implementation demonstrates that traceability can be engineered into a pipeline from the outset rather than retrofitted through documentation exercises. Structured metadata in every transformation script, consistent schema conventions across pipeline layers, and clear ownership boundaries between source domains are governance decisions. They require the CDO function to be present at the point of pipeline design, not called in after the fact to document what was built.

This has direct implications for how BCBS 239 compliance programmes are structured. Principle 2 is not satisfied by owning a lineage tool, but by having an architecture that makes lineage extractable without manual effort. Principle 3 is not satisfied by accuracy attestations produced at reporting time, but by data quality controls embedded at every transformation layer, surfaced automatically, and traceable to their source.

The gap most institutions face is between where governance decisions are made and where data architecture decisions are made. Closing that gap is the CDO's most consequential responsibility.

Conclusion

Banks that invest in data architecture, good data modelling, and interoperability make it significantly easier to automate lineage by inferring it directly from SQL transformations. The lineage intelligence is already there, embedded in every FROM clause and every JOIN condition written by a developer. The question is whether the architecture is clean enough to read.

Most banks are not there yet. Fragmented systems, inconsistent standards, and undocumented transformation logic mean that lineage remains a manual, point-in-time exercise. And when a regulator asks a question that cuts through ten years of accumulated pipeline complexity, no catalogue tool will save you if the foundations were never built correctly.

Sources & References

  1. Basel Committee on Banking Supervision (2013). Principles for effective risk data aggregation and risk reporting (BCBS 239).
  2. Basel Committee on Banking Supervision (2023). Progress in adopting the Principles for effective risk data aggregation and risk reporting.
  3. Regulation Tomorrow (2024). ECB final guide on effective risk data aggregation and risk reporting.
Eliud Nduati

Eliud Nduati

Data & AI Governance Consultant

I help organizations avoid costly data initiatives by building strong data governance foundations that turn data into a reliable business asset.

Work with me →

Keep Reading

Table of Contents

Go back to list
Link copied to clipboard!