Building an EU DORA Register of Information (B_05.01 and B_05.02) From Live SaaS Subprocessor Pages and GLEIF LEI
By Tarek Etman, Founder & CEO, SpecStream Under DORA (Regulation (EU) 2022/2554), every EU financial entity keeps a Register of Information on its ICT providers. The implementing standard, Regulation (EU) 2024/2956, goe
By Tarek Etman, Founder & CEO, SpecStream
Under DORA (Regulation (EU) 2022/2554), every EU financial entity keeps a Register of Information on its ICT providers. The implementing standard, Regulation (EU) 2024/2956, goes one layer deeper than most vendor inventories: template B_05.01 describes each ICT provider, and B_05.02 names the subcontractors behind it, identified by LEI.
That second layer is the hard part. The subcontractors of your SaaS vendors are listed on each vendor's own subprocessor page, in its own format, under trading names, with no LEI. Someone has to read those pages, normalize the names and match each one to a legal entity in GLEIF.
This post builds that layer in Python from two public sources: live subprocessor pages and the GLEIF register.
The two sources
-
Vendor subprocessor pages. Most SaaS companies publish one (
/legal/subprocessors,/trust, a page linked from the DPA). Each row usually gives a name, a service and a processing location. - GLEIF. The Global Legal Entity Identifier Foundation publishes every LEI (Level 1: who is who) and the parent relationships (Level 2: who owns whom) as a free Golden Copy and a public API.
A B_05.02 row needs both: the subprocessor as the page names it, and the legal entity, its LEI and its ultimate parent LEI.
Matching a name to an LEI with the GLEIF API
GLEIF's public API needs no key. A first pass on name matching:
import requests
GLEIF = "https://api.gleif.org/api/v1"
def lei_candidates(name, country=None, n=5):
params = {"filter[entity.legalName]": name, "page[size]": n}
if country:
params["filter[entity.legalAddress.country]"] = country
r = requests.get(f"{GLEIF}/lei-records", params=params, timeout=30)
r.raise_for_status()
return [
{
"lei": rec["id"],
"legal_name": rec["attributes"]["entity"]["legalName"]["name"],
"country": rec["attributes"]["entity"]["legalAddress"]["country"],
"status": rec["attributes"]["registration"]["status"],
}
for rec in r.json()["data"]
]
def ultimate_parent(lei):
r = requests.get(f"{GLEIF}/lei-records/{lei}/ultimate-parent", timeout=30)
if r.status_code == 404:
return None # no parent reported, or the entity reports an exception
r.raise_for_status()
return r.json()["data"]["id"]
c = lei_candidates("Stripe Payments Europe, Limited", country="IE")
print(c[0]) # 549300DSKP4KJP52XY61, STRIPE PAYMENTS EUROPE, LIMITED, IE, ISSUED
print(ultimate_parent(c[0]["lei"]))
The legalName filter is fuzzy and returns near matches too, so check the top result before you accept it. Name search works when the page prints the legal name. Most pages print a brand ("AWS", "Google Cloud", "Twilio SendGrid"), so in practice you need a crosswalk from brand to legal entity, a domain check, and a rule for which group entity the contract sits with. That crosswalk is where most of the effort goes, and where errors hide.
The shortcut: a lookup that already returns B_05.02 rows
SpecStream reads subprocessor pages on a schedule, keeps one name per subprocessor across every vendor, and matches each to GLEIF Level 1 and Level 2. One call returns a vendor's subprocessors as Register of Information rows:
curl -s "https://api.specstream.ai/v1/data/dora/subprocessors?domain=notion.com&format=json" \
-H "Authorization: Bearer $SPECSTREAM_API_KEY" \
-H "Idempotency-Key: roi-2026q4-notion" \
| jq '{provider, subprocessors_count, first: .rows[0]}'
Each row carries provider_domain, provider_legal_name, provider_lei, the provider's ultimate_parent_lei, subcontracting_rank, subprocessor_name, subprocessor_domain, subprocessor_lei, processing_countries, service_scope, source_url and last_verified_utc. Every row points at the page it was read from, which is what an auditor asks for.
Ask for format=roi_csv and the response is CSV ready to merge into your B_05.02 sheet. A lookup costs $0.05; a domain with no tracked subprocessor list returns 404 and is not charged, and a retry with the same Idempotency-Key is charged once.
Building the register for a whole vendor list
import csv, io, os, requests
API = "https://api.specstream.ai/v1/data/dora/subprocessors"
H = {"Authorization": f"Bearer {os.environ['SPECSTREAM_API_KEY']}"}
vendors = ["notion.com", "slack.com", "atlassian.com", "hubspot.com", "zendesk.com"]
rows, missing = [], []
for v in vendors:
r = requests.get(API, params={"domain": v, "format": "roi_csv"},
headers={**H, "Idempotency-Key": f"roi-2026q4-{v}"}, timeout=60)
if r.status_code == 404:
missing.append(v)
continue
r.raise_for_status()
rows.extend(csv.DictReader(io.StringIO(r.text)))
with open("b_05_02.csv", "w", newline="") as f:
w = csv.DictWriter(f, fieldnames=rows[0].keys())
w.writeheader()
w.writerows(rows)
print(len(rows), "rows;", "no published list:", missing)
Concentration: the question your regulator will ask next
Once the rows exist, the interesting question is concentration: how many of your vendors depend on the same fourth party, and on the same ultimate parent group.
import pandas as pd
df = pd.read_csv("b_05_02.csv", dtype=str).fillna("")
named = df[df["subprocessor_lei"] != ""]
# How many of your vendors rely on each fourth party?
by_fourth = (named.groupby(["subprocessor_lei", "subprocessor_name"])["provider_domain"]
.nunique().sort_values(ascending=False))
print(by_fourth.head(10))
# Roll fourth parties up to their GLEIF ultimate parent (ultimate_parent() from above)
parent = {lei: ultimate_parent(lei) or lei for lei in named["subprocessor_lei"].unique()}
by_group = (named.assign(group=named["subprocessor_lei"].map(parent))
.groupby("group")["provider_domain"].nunique().sort_values(ascending=False))
print(by_group.head(10))
In SaaS stacks the top of that list is predictable (the large clouds, a CDN, a payments company, an email provider), but the count per group is what belongs in your concentration assessment, and it changes whenever a vendor edits its page.
Free options
- Check up to 25 vendors in the browser, with the shared fourth parties and parent groups: specstream.ai/tools/dora-subprocessor-check
-
Open dataset, CC BY 4.0: 10,000 vendor and subprocessor pairs across 4,724 software companies, 894 distinct subprocessor LEIs, 3,242 pairs with an ultimate parent LEI, each with its source page and first and last seen dates.
- Hugging Face: SpecStreamAI/eu-dora-saas-subprocessors-lei
- Kaggle: specstream/eu-dora-saas-subprocessors-lei
- GitHub: Specstreamai/eu-dora-saas-subprocessors-lei
import pandas as pd
df = pd.read_parquet("hf://datasets/SpecStreamAI/eu-dora-saas-subprocessors-lei/data.parquet")
print(df.groupby("subprocessor_legal_name")["company_domain"].nunique().nlargest(15))
Legal entity data in both comes from the GLEIF Golden Copy (CC0). If you run a Register of Information in a spreadsheet today, I would like to hear which columns cost you the most time. Comments are open.
Originally published by Dev.to Security. Aggregated on AIWithGhost for educational purposes — full credit and traffic to the original publisher.