Appendix: DORA’s reports to BaFin#

An institution that the Bundesanstalt für Finanzdienstleistungsaufsicht (BaFin) supervises files DORA’s reports of major ICT-related incidents (Regulation (EU) 2022/2554, Art. 19) in BaFin’s reporting and publication platform, the MVP portal, under the procedure “Digital Operational Resilience Act (DORA)”. This appendix says what BaFin requires of a report sent there by machine, field by field, and how locust meets it with locust-dora-bafin. It is for the administrator who sets the command up and the manager who answers for what it sends.

The sources#

What follows is read from BaFin’s own documents, as they stood on 24 November 2026:

  • “Anleitung für die Übermittlung von IKT-bezogenen Vorfallsmeldungen unter Nutzung von Dateiupload bzw. SOAP Webservice”, BaFin, January 2026 (on BaFin’s site under MVP-Portal, “DORA: Anleitung IKT-Vorfallsmeldungen”);

  • “Melde- und Veröffentlichungsplattform Portal (MVP Portal) – SOAP Webservice”, BaFin, 22 December 2022, the handbook of the portal’s web services;

  • “Musterdateien für die Erstellung von zu übermittelnden Meldungsdateien”, BaFin, 16 January 2026: the ESAs’ JSON schema DORA_IR_Schema_v1.2.1.JSON, a filled-in sample of each kind of report with BaFin’s notes on which property is mandatory when, and the templates XML-Vorlage_Dateiupload.xml and XML-Vorlage_SOAP.xml;

  • the description of the web service itself, which the portal serves at https://portal.mvp.bafin.de:444/services/sp/v1/dora?wsdl with its XSD files.

The law behind them is Implementing Regulation (EU) 2025/302 (the template, Annex I, and its glossary, Annex II), Delegated Regulation (EU) 2025/301 (content and deadlines) and Delegated Regulation (EU) 2024/1772 (classification). Questions about the reporting go to BaFin at IKT-Vorfall@bafin.de.

What BaFin requires#

Who submits. The persons who submit must be registered in the MVP portal as contacts of the institution and admitted to the DORA procedure, as for the portal’s form. A login is a person’s: user name and password of their registration.

Three ways in. The portal’s form; a file uploaded by hand (“Meldung einreichen”, then “XML-Datei einreichen”); and a SOAP web service. The last two carry the same thing: the report as a JSON file in the ESAs’ schema.

The JSON. The file must satisfy the ESAs’ schema (version 1.2.1) and BaFin’s further rules, or BaFin refuses it during its validation, after it has taken the file, and does not process it:

  • Every field that Annex II marks mandatory for the kind of report must be there, whether or not the schema marks it required – the schema requires little. BaFin’s sample files note, property by property, in which reports it is mandatory; the table below follows them.

  • Every date and time is UTC in ISO 8601, YYYY-MM-DDTHH:MM:SSZ.

  • Every telephone number begins with + and the country’s code.

  • Amounts are in thousands of the reporting currency (BaFin’s samples: 3456000 is EUR 3,456,000,000).

  • The kinds of report are initial_notification, intermediate_report, final_report and major_incident_reclassified_as_non-major.

  • Once a report about the incident has been submitted, every later one carries BaFin’s code for the incident (competentAuthorityCode, field 3.1), which the portal’s protocol shows (“D0” and eight characters in BaFin’s sample).

The upload. The JSON, base64-encoded with padding, goes into a “transport file” built on BaFin’s template:

<?xml version="1.0" encoding="utf-8"?>
<ws_mic:in xmlns:ws_mic="http://mvp.bafin.de/sp/v2/ws/dora/mictri/">
     <mic:report xmlns:mic="http://mvp.bafin.de/sp/v2/dora/mictri/">
          <mic:otherEntity>false</mic:otherEntity>
          <mic:filename>DORA_IR_42_INI_20261124103000.json</mic:filename>
     </mic:report>
     <ws_mic:attachment>eyJpbmNpZGVudFN1Ym1pc3Npb24iOi...</ws_mic:attachment>
</ws_mic:in>

otherEntity is field 1.4b of BaFin’s form: true where the report is for an undertaking that falls under DORA by § 1a (2a) KWG or § 293 (5) VAG rather than one of the financial entities of DORA Art. 2. The file name matches DORA_IR_[A-Za-z0-9_\-\.]{1,50}\.(json|JSON).

The web service. https://portal.mvp.bafin.de:444/services/sp/v1/dora (the test procedure: .../t_dora), operation submitMajorICTRelatedIncidents, SOAP 1.1, “new metadata structure”:

  • the same otherEntity and filename, an optional clientReference (at most 20 of A-Za-z0-9_/-+().,), and the JSON as an MTOM attachment – an XOP include in attachment, the file itself unencoded in its own MIME part;

  • the request compressed with gzip (Content-Encoding: gzip), which the handbook makes mandatory for MTOM, and UTF-8 throughout;

  • a WS-Security header (OASIS 2004, UsernameToken Profile 1.0, password as text) whose user name is the MVP user name, #, and the ID of the reporting entity (“Haftungsgeber-ID”), which the portal shows beside the procedure under “Meldung einreichen”;

  • the answer is the report’s number (reportId) and the time BaFin took it (reportDate), signed with BaFin’s certificate; a wrong login is the fault “The username, password or identification number is incorrect.”, a malformed request “Internal Error” or a schema error.

The protocol. BaFin validates the file afterwards. The protocol’s web service (.../services/ws/protokoll, sucheMvpProtokoll, the user name alone) lists a report’s status – processing, accepted, rejected_content and others – with BaFin’s remarks.

The fields#

Where each field of Annex I is in the ESAs’ JSON, where locust takes it from, and in which reports BaFin’s samples make it mandatory: I the initial notification, M the intermediate report, F the final report, R the reclassification as non-major. A field is named as the issue page labels it; ENTITY and CURRENCY are options of [locust-extended-reporting] (Administrators).

Field

In the ESAs’ JSON

In locust

Mandatory

1.1

incidentSubmission

the report whose button was pressed

I, M, F, R

1.2, 1.3

submittingEntity: name, code

ENTITY’s submitting_name and submitting_code (an LEI or EUID); the affected entity’s where they are not set

I, M, F, R

1.4

affectedEntity[].affectedEntityType

ENTITY’s kind: “credit institution”, several separated by semicolons

I, M, F, R

1.4b

(otherEntity of the upload and the web service)

--other-entity

I, M, F, R

1.5, 1.6

affectedEntity[]: name, LEI

ENTITY’s affected_name, affected_lei

I, M, F, R

1.7-1.9

primaryContact: name, email, phone

ENTITY’s contact_*

I, M, F, R

1.10-1.12

secondaryContact

ENTITY’s second_contact_*

I, M, F, R

1.13, 1.14

ultimateParentUndertaking: name, LEI

ENTITY’s parent_name, parent_lei

where the entity belongs to a group

1.15

reportCurrency

CURRENCY

I, M, F, R

2.1

incident.financialEntityCode

the issue’s number

I, M, F, R

2.2

incident.detectionDateTime

Detected

I, M, F

2.3

incident.classificationDateTime

when DORA was decided as owed

I, M, F

2.4

incident.incidentDescription

Description for the authorities, else the issue’s description

I, M, F, R

2.5

incident.classificationTypes[].classificationCriterion

the criteria DORA’s test finds met (Major incident (DORA) on the issue page)

I, M, F, R

2.6

countryCodeMaterialityThresholds of the geographical spread

Member states affected

I, M, F, with the geographical spread

2.7

incident.incidentDiscovery

Detected by

I, M, F

2.8

incident.originatesFromThirdPartyProvider

Originated at a third party – “No” where it did not

I, M, F

2.9

incident.isBusinessContinuityActivated

Business continuity plan activated

I, M, F

2.10

incident.otherInformation

Other relevant information; for a reclassification, else the reason why DORA is not owed

R

3.1

incident.competentAuthorityCode

the reference of the decision that DORA is owed

every report after the first

3.2

incident.incidentOccurrenceDateTime

the first time of occurrence, else Detected

M, F

3.3

impactAssessment.serviceImpact.serviceRestorationDateTime

Services restored

M, F, where there was downtime

3.4, 3.5

impactAssessment.affectedAssets.affectedClients: number, percentage

Affected clients, Share of clients affected (%)

M, F

3.6, 3.7

...affectedFinancialCounterparts

Financial counterparts affected, Share of counterparts affected (%)

M, F

3.8

impactAssessment.hasImpactOnRelevantClients

Relevant clients or counterparts affected

M, F

3.9, 3.10

...affectedTransactions

Transactions affected, Share of transactions affected (%)

M, F

3.11

...valueOfAffectedTransactions (thousands)

Value of transactions affected

M, F

3.12

...numbersActualEstimate

The figures are

M, F

3.13, 3.14

reputationalImpactType, reputationalImpactDescription of the reputational impact

Reputational impact, Context of the reputational impact

M, F, with the reputational impact

3.15

incident.incidentDuration (DDD:HH:MM)

from the first occurrence to Incident resolved, or to now

M, F

3.16

...serviceImpact.serviceDowntime

Service downtime – 0:00 where there was none

M, F

3.17

informationDurationServiceDowntimeActualOrEstimate

Duration and downtime are

M, F

3.18, 3.19

memberStatesImpactType, memberStatesImpactTypeDescription of the geographical spread

Impact in other member states, on; Description of the impact in other member states

M, F, with the geographical spread

3.20, 3.21

dataLosseMaterialityThresholds, dataLossesDescription of the data losses

Loss of availability, authenticity, integrity, confidentiality; Description of the data losses

M, F, with the data losses

3.22

impactAssessment.criticalServicesAffected

Critical services affected

M, F

3.23, 3.24

incident.incidentType.incidentClassification, otherIncidentClassification

Kind of incident, Other kind of incident

M, F (3.24 with “other”)

3.25, 3.26

incident.incidentType.threatTechniques, otherThreatTechniques

Threats and techniques, Other technique

M, F, for a cybersecurity incident (3.26 with “other”)

3.27

impactAssessment.affectedFunctionalAreas

Functional areas and business processes affected

M, F

3.28, 3.29

impactAssessment.isAffectedInfrastructureComponents, affectedInfrastructureComponents

Infrastructure components affected, Infrastructure components

M, F (3.29 with “yes”)

3.30

impactAssessment.isImpactOnFinancialInterest

Impact on the financial interests of clients

M, F

3.31, 3.32

reportingToOtherAuthorities, reportingToOtherAuthoritiesOther

the recipients with an authority that a report was filed to (Administrators); “none” where none was

M, F (3.32 with “other”)

3.33, 3.34

...serviceImpact.isTemporaryActionsMeasuresForRecovery, descriptionOfTemporaryActionsMeasuresForRecovery

Temporary measures taken or planned; Measures taken or planned

M, F (3.34 where temporary measures were taken)

3.35

incident.incidentType.indicatorsOfCompromise

Indicators of compromise

M, F, for a cybersecurity incident of a credit institution, a central counterparty or a trading venue

4.1-4.4

incident.rootCauseHLClassification, rootCausesDetailedClassification, rootCausesAdditionalClassification, rootCausesOther

Root causes, Root causes in detail, Root causes, further, Other root cause

F (4.3 with one of the process failures BaFin names, 4.4 with an “other” cause)

4.5

incident.rootCausesInformation

Root-cause category

F

4.6

incident.incidentResolutionSummary

Measures taken or planned

F

4.7, 4.8

incident.rootCauseAddressingDateTime, incidentResolutionDateTime

Root cause resolved, Incident resolved

F

4.9

incident.incidentResolutionVsPlannedImplementation

Why the resolution differs from the planned date – “None” where it does not

F

4.10, 4.11

incident.assessmentOfRiskToCriticalFunctions, informationRelevantToResolutionAuthorities

Risk to critical functions for resolution purposes, Information for the resolution authorities

F, where the incident affects the resolvability (4.11 with 4.10)

4.12

economicImpactMaterialityThreshold of each criterion

a sentence: Economic impact against ECONOMIC_THRESHOLD

F

4.13

incident.grossAmountIndirectDirectCosts (thousands)

Economic impact – 0 where there was none

F

4.14

incident.financialRecoveriesAmount (thousands)

Financial recoveries – 0 where there were none

F

4.15, 4.16

recurringNonMajorIncidentsDescription, recurringIncidentDate

not kept: locust does not yet relate recurring incidents

F, for recurring incidents

How locust meets them#

locust writes every DORA report as the ESAs’ JSON itself and sends it to the DORA recipient’s command (Integrators, “esa”), with the list of what the report must contain and the issue does not say – the “Mandatory” column above. locust-dora-bafin, installed beside locust, is that command for BaFin:

  • It refuses a report that lacks something before anything is sent, and lists what to fill in, so the manager learns it within the deadline and not from BaFin’s protocol.

  • It hands the report to locust-bafin-sender, which holds the login (The login), and which sends it through the web service as above, with otherEntity from --other-entity, the file named DORA_IR_<issue>_<INI|INT|FIN|REC>_<time>.json and a client reference of the issue, the kind and the time.

  • It asks the protocol, for --wait seconds, whether BaFin accepted the report. A report BaFin refuses there is not filed, and the manager sees BaFin’s remark; one still being processed is filed, with a line that says so, and locust-dora-bafin --status N asks again.

  • Its first line, the filing’s reference, is BaFin’s code for the incident where the protocol’s remarks name one, else “MVP report” and the report’s number. The first filing’s reference becomes the reference of the decision that DORA is owed, which is field 3.1 of the reports that follow; a report’s number is not BaFin’s code, and the next report is refused until the code is there. With "status": "locust-dora-bafin --status -" on the recipient, locust asks BaFin’s protocol about the filing every five minutes until BaFin has accepted it and named the code, which then replaces the report’s number as both references without anyone typing it, and the next report says it waits for the code rather than asking for it; a report BaFin refuses afterwards is owed again. Without it, a manager runs locust-dora-bafin --status N and enters the code by hand.

  • --xml FILE writes the transport file of the upload instead, for an institution that submits by hand; --test sends to BaFin’s test procedure and files nothing; a delay notice, which the web service does not take, goes to the command --delay-command names, or, sent another way, is recorded with “already sent another way: record it only” on the note form.

The configuration is DORA’s recipient with this command in place of locust-report’s (locust-dora-bafin(1), and “Extended reporting: DORA, the CRA and the GDPR” in Administrators), with "status": "locust-dora-bafin --status -", and with "upload": "locust-dora-bafin --xml -" beside it, the fallback for a web service that fails:

  • An administrator switches the recipient’s channel on Reporting channels (manage_reporting_page, linked from an extended issue’s reports): from through its command to as an upload file, or to recorded by hand. The switch takes effect at once, without a restart, and every switch is in the page’s History.

  • Switched to the upload file, the issue page offers Download the file of the … for … in place of the submit button. The file is the transport file BaFin’s portal takes under “XML-Datei einreichen”; making it files nothing. Once uploaded, the filing is recorded by hand on the same issue, with BaFin’s reference.

  • Switched to the hand, the issue offers only the record form, for a report filed with BaFin’s web form.

The approvals that a submission needs (Managers, “Two people approve”) are asked only of the sending through the command.

The login#

The web service needs a person’s MVP login, and the command is run by the tracker. How the login reaches the command decides who else can use it – and an MVP login opens more than DORA’s procedure: BaFin’s messages to the institution, its other procedures, the protocol. The tracker’s service runs sandboxed (NoNewPrivileges, no privileged system calls), which rules out some ways and favours others:

  1. A file readable by the tracker alone (--netrc, owner locust, mode 0400). The simplest. Whoever can make the tracker read a file reads the login, and it is in clear on the disk and in every backup of /etc.

  2. A systemd credential of the tracker’s. The login is encrypted at rest with the machine’s key (and its TPM where there is one) under /etc/credstore.encrypted; systemd decrypts it when the service starts into a directory only the service sees (LoadCredentialEncrypted=locust-bafin-mvp in a drop-in for locust.service). Nothing is in clear on the disk or in a backup, and no other local user reads it. The tracker’s process still can: a tracker taken over reads the login.

  3. A sending service of its own – what locust ships, and the recommended setup. locust-bafin-sender.socket listens on /run/locust-bafin-sender/socket, which only the group locust may open; systemd starts locust-bafin-sender for each connection as a user that exists while it runs, the only unit given the credential, in a sandbox of its own. locust-dora-bafin prepares and checks the report in the tracker and hands it over the socket; the sender adds the login, talks to BaFin and answers. A tracker taken over can still submit a report (it owns the button), but cannot read the login, so it cannot open the portal, read BaFin’s messages, reach another procedure or take the login elsewhere. The sender takes no SOAP, address or login from its caller – only a report in the ESAs’ JSON with BaFin’s few metadata, each checked, or the number of a report it sent – records each submission, gives the status only of its own, and sends at most 30 an hour.

  4. A set-user-ID helper that switches to a user of its own, which alone reads the login under /etc/locust/. The same separation as 3, at a higher price: the kernel ignores the set-user-ID bit under the tracker’s NoNewPrivileges, so the sandbox of the whole tracker would have to be loosened for it; the helper becomes a privilege boundary that has to defend itself against its caller’s environment, descriptors and arguments; and every local account allowed to run it can.

  5. The person’s own login, at each submission. The manager who presses the button types their MVP user name and password beside it, which locust hands to the command in the record on its standard input and keeps nowhere. Nothing is stored at all, and the portal’s protocol names who submitted – BaFin’s logins are personal, and so is the responsibility. Nothing then runs without a person, and so nothing asks BaFin’s protocol after the sending either: the code for the incident comes from the protocol’s answer within --wait, or is entered by hand.

locust-dora-bafin uses the sender’s socket wherever it exists, and otherwise, or when it is given --netrc, runs the sender itself with a login of the tracker’s (1 or 2); locust does not offer 4. Setting 3 up takes two commands, as root – the first reads the netrc lines, ended with Control-D:

# systemd-creds encrypt --name=locust-bafin-mvp - /etc/credstore.encrypted/locust-bafin-mvp
machine portal.mvp.bafin.de
  login karl.meier1234#hg_05_1234567890
  password ...
# systemctl enable --now locust-bafin-sender.socket

An installation that loaded the credential into locust.service before removes that drop-in, or the tracker keeps the login all the same. journalctl -u 'locust-bafin-sender@*' shows every report sent and every request refused; locust-bafin-sender(8) has the rest, including how to limit its network to BaFin’s addresses.

Whatever is stored is one person’s login. It lapses with their registration: renew the credential when the person leaves.

Setting 5 up is one key: "login": "typed" on DORA’s recipient in RECIPIENTS, and no status there. The report’s button then has Portal user (USER#ENTITY-ID) and Portal password beside it, and over REST the submission takes {"login": {"user": …, "password": …}} in its body; a press without both is refused, and the form comes back with the user name and without the password. The login goes to locust-dora-bafin in the record and from there to the sender in its request, which uses it instead of a credential for that one report; neither the sender service nor locust.service then needs one. It is not in a row of the database, a log, a mail or a note – a command that prints the password back has it blanked –, not in the command’s environment or arguments, and the tracker clears it from memory once the command has it; neither locust.service nor the sender’s unit writes a core dump (LimitCORE=0). On the way, the command and the sender keep it for the length of the sending in files only they can read, in their own temporary directory, which they remove.

What was not tried#

locust-dora-bafin was not tried against BaFin’s portal, which needs a registration. What it sends was checked against what BaFin publishes: the JSON of a complete test incident’s initial, final and reclassification reports validates against the ESAs’ schema, the SOAP request’s body against the XSD files the portal serves, and the request as a whole against the handbook’s description in a test of locust’s own. The sender’s units pass systemd-analyze verify; the test runs the sender as their Accept=yes does, per connection of a socket of its own, but not under systemd itself. Three things are BaFin’s to show: whether the protocol’s web service of 2022 lists DORA’s reports, and whether its remarks name the code of the incident (without them, the report’s number is the reference and the code is entered by hand); and whether BaFin minds the Nonce and Created of the UsernameToken, which its handbook shows in one of its examples and not in another. --test against the test procedure answers all three.