Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Hazard log: the logging component

This page is the clinical safety hazard log of FerroEHR’s European logging software component, the part of the EHR system that “provides logging information related to access by health professionals or other individuals to priority categories of personal electronic health data” (EHDS Art. 2(2)(o), Regulation (EU) 2025/327). EHDS Annex II 1.1 asks that the harmonised software components “achieve the performance intended by its manufacturer” and be designed so that, “during normal conditions of use, they are suitable for their intended purpose and their use does not put at risk patient safety”.

The Regulation names no method or standard for showing that, so the form of this log is FerroEHR’s own design. For each hazard it states the cause, what could happen to a patient, the control, the test that shows the control holds, and what remains. “Normal conditions of use” are those of the intended-purpose statement. The log is the EHDS-side companion of the CRA risk assessment, and it is versioned with the release like every page of this book. The performance side of Annex II 1.1, the component’s stated performance and the test that measures it on every release, is on the logging component’s intended performance.

Warning

The quotations are from the Official Journal text vendored in the repository at docs/law/eu/ehds/text.html (EUR-Lex). A control and a passing test show what the software does; they do not show that the component meets Annex II, which no conformity assessment has examined.

The component and the surface it records

The component is, in the code: the FerroHEALTH products’ shared crates ehds-logging 0.21.0 (the Annex II 3.2 access record, the Art. 14(1) categories and their classification, the Art. 9(2) retention floor and the emergency mark) and ihe-atna 0.21.0 (the BALP and DICOM renderings and the ATNA sender), from FerroAUDIT; ferroehr::system_log (the access-event model, the audit store, what each rendering says and the sinks), ferroehr-rest::system_log (the middleware that records every API access and classifies it), the ITI-81 GET /fhir/r4/AuditEvent retrieval, and the retention register in ferroehr::storage::marks. The middleware is installed outermost on the API router, around the authentication layer, so it sees every response of the openEHR REST surface, refusals included. What each record holds, field by field against Annex II 3.2, is on the audit trail page.

Test paths below are relative to the repository root. Each was read for this log; “no test” means none exists.

H1: an access is not recorded

Cause: a route the middleware does not classify; a record dropped when the emission queue is full or the store is unreachable; a domain-level access (resolving a subject to an EHR, an EHR Extract export) that skips the middleware; reads made straight against the database.

Effect: a patient, or the organisation investigating a breach, cannot learn that their record was read. Under EHDS Art. 9 a patient has a right to that information.

Control: every generated ITS-REST operation has an explicit audit classification, and an unknown operation falls back to the audited default. The extension routes that change a record carry one too: the physical delete of a demographic party is recorded as a delete of that party, as the physical EHR delete is of the EHR. A rejected access (401, 403) is always recorded. Every record of a request is written into the audit store before the response leaves, and a request whose record cannot be written is answered 503; the domain-level operations withhold their result the same way. No record waits in memory, so a crash, a restart or overload loses none of a request already answered. An AQL execution writes one record per EHR it served. deployment.profile = "production" refuses audit switched off unless it is accepted by name.

Shown by:

  • app/ferroehr-rest/src/system_log/classify.rs: every_generated_operation_is_explicit, every_read_operation_produces_an_access_record, unrecognised_operation_fails_closed_to_default, representative_mappings;
  • app/ferroehr-rest/tests/it/admin_party_delete_http.rs: an_admin_deletes_the_party_and_the_access_record_names_it;
  • app/ferroehr-rest/tests/it/audit_e2e.rs: one test per resource family (for example composition_get_emits_read_record, aql_execute_emits_execute_record), unauthenticated_request_emits_401_record, a_response_leaves_after_its_record_is_stored, a_request_whose_record_cannot_be_written_is_refused, the_refusal_carries_an_openehr_error_body_and_retry_after, aql_execute_emits_one_access_record_per_served_ehr;
  • app/ferroehr/tests/it/access_event_fail_closed.rs: a_subject_lookup_is_withheld_when_its_record_is_rejected, an_extract_export_is_withheld_when_its_record_is_rejected;
  • app/ferroehr/src/config/deployment.rs: production_refuses_each_open_gap_and_names_the_remedy, the_audit_fail_mode_is_no_gap;
  • app/ferroehr/tests/it/legal_marks.rs: setting_and_lifting_a_mark_is_recorded_in_the_access_trail;
  • app/ferroehr-rest/tests/it/audit_route_coverage.rs: every_route_writes_exactly_one_access_record enumerates every route the assembled router mounts, the extension routes included, drives each one once, and asserts exactly one access record carrying its operation id. The routes it exempts (the health probes, the public status and discovery documents, the OpenAPI document and Swagger UI, the OPTIONS manifest and the management surface) are listed in the test with the reason.

Remains: a write’s record is written after its clinical commit, in the audit cluster, so a process that dies between the two commits loses that write’s record until the durable reservation of #5762 closes the window. Database access outside the server is recorded nowhere.

H2: a record names the wrong person, organisation or patient

Cause: the actor taken from something other than the verified credential; an organisation guessed when the token carries none; the EHR taken from the wrong part of the request; one record written for an AQL page that served several patients.

Effect: an access is attributed to a professional who did not make it, or recorded against the wrong patient, so a patient is told of an access to someone else’s record and the real one goes unseen.

Control: the principal comes from the authenticated credential; a 401 records the caller as unknown and never fabricates one. The organisation is the provider of the caller’s party binding, read from the CDR, and is never taken from a token claim. The EHR comes from the resource the dispatch resolved, or from the request path where none exists. An AQL execution records each served EHR separately. A token’s issuer classifies its caller: the record carries the acting mode (person, or client for a delegate acting for a person) and the person the token names; with [authz.assurance] configured, it carries the assurance level the token maps to, and a token below the configured minimum is refused with a step-up challenge. The DICOM message and the FHIR AuditEvent give the client and this server the same data-flow role (DICOM PS3.15 §A.5.2.7, IHE BALP): on a read the server is the source and the client the destination, on a write or a query the client is the source. A FHIR record of a delete carries the agent types the BALP Delete profile fixes (the client as DCM 110150 Application, the server as custodian). The FHIR AuditEvent names the object a read, create, update or delete touched by its openEHR object id, as entity.what.identifier in the system urn:openehr:object-id, and ITI-81 finds it by entity.identifier. The syslog form of an EHR-level record names the same object beside the patient, as a URI participant object, so the record of an EHDS Art. 3(3) hold names the held composition (access-delay:<vo>).

Shown by:

  • app/ferroehr/tests/it/audit_ehds_mapping.rs: element_a_the_accessing_organisation_is_recorded_and_rendered_in_fhir, element_b_the_person_who_accessed_is_recorded_and_rendered, element_b_the_professional_behind_a_client_is_recorded_and_rendered, the_assurance_level_is_recorded_and_reaches_the_fhir_rendering_as_a_level, nen_7513_the_actor_roles_are_recorded_and_rendered_in_both_formats;
  • app/ferroehr/tests/it/audit_store.rs: access_fields_round_trip_on_both_write_paths, the_accessing_organisation_round_trips_on_both_write_paths, the_actor_roles_round_trip_on_both_write_paths, both_inserts_persist_the_authentication_columns;
  • app/ferroehr-rest/tests/it/patient_data_assurance.rs: a_token_below_the_minimum_gets_the_step_up_challenge, a_person_token_through_an_unlisted_client_is_refused, a_delegate_acting_for_a_professional_passes_and_is_recorded;
  • app/ferroehr-rest/src/system_log/middleware.rs: ehr_id_from_the_matched_route, object_id_from_template_paths, object_id_from_query_paths, object_id_from_demographic_paths;
  • app/ferroehr-rest/tests/it/audit_e2e.rs: unauthenticated_request_emits_401_record, aql_execute_emits_one_access_record_per_served_ehr;
  • app/ferroehr/src/system_log/fhir.rs: dicom_and_fhir_agree_on_the_data_flow_direction, delete_carries_the_agent_types_balp_delete_fixes, a_classified_read_names_its_object_by_identifier;
  • app/ferroehr/src/system_log/message.rs: an_access_delay_record_names_the_patient_and_the_held_composition.

Remains: the assurance block is off by default, and a system client’s credential is recorded as that client. A Basic user is bound to a person by its key; with a minimum configured, Basic is refused on patient data. The DICOM format has no element for the assurance level, so the syslog feed carries none; the FHIR record carries the level as the BALP ihe-assuranceLevel extension, and the raw claim value stays in the local store’s column.

H3: the category of the data is not recorded

Cause: a template or archetype missing from the deployment’s audit category register; a record type the classifier does not reach.

Effect: a record cannot say whether the access reached a patient summary, a prescription or a test result, which Annex II 3.2(c) asks for and the patient’s information under EHDS Art. 9(2)(c) depends on.

Control: each access is classified when it happens by ehds-logging, by template id, then root archetype id, then the query’s positive constraints, every one of which must be mapped. A logical delete is classified by the version it deleted, a VERSIONED_COMPOSITION read by the composition it holds, a CONTRIBUTION read (with or without Prefer: resolve_refs) by the versions it committed, and an EHR Extract export or import by the versions it carried or landed. EHR, EHR_STATUS, EHR_ACCESS and the directory are recorded none by resource kind. While the audit category register declares no template and no archetype, the map FerroEHR ships for the published CKM templates and COMPOSITION archetypes of one priority category applies, and deployment.profile = "production" refuses a register write that switches it off with nothing declared. An access the map cannot classify is recorded unclassified, with the ids as evidence, and is never refused. Each record carries the digest of the map that classified it.

Shown by:

  • app/ferroehr-rest/tests/it/audit_categories.rs: an_unmapped_template_is_unclassified_with_its_ids_as_evidence, a_multi_category_query_records_every_category_it_served, a_leaf_only_query_is_classified_from_its_constraints, a_zero_row_query_is_classified_from_its_constraints, a_not_contains_operand_never_counts, a_flat_write_is_classified_by_its_template, a_logical_delete_is_classified_by_the_version_it_deletes, a_versioned_composition_read_is_classified_by_its_composition, a_contribution_read_is_classified_by_its_versions, the_shipped_map_classifies_an_undeclared_deployment;
  • app/ferroehr/tests/it/service_message_audit.rs: the_extract_records_carry_the_categories_of_the_data;
  • app/ferroehr/src/config/deployment/tests.rs: production_requires_a_category_map_unless_accepted;
  • app/ferroehr/tests/it/audit_ehds_mapping.rs: element_c_the_priority_category_is_recorded_and_rendered_in_fhir_only.

Remains: the shipped map covers only the published CKM templates and archetypes whose data sit in one priority category, and a deployment’s own map replaces it whole, so a map that misses a template the deployment uses yields unclassified records. Records in the demographic domain carry no classification, because no priority category lives there. A deployment’s own map is the audit category register, an admin register at the shipped map until it is written.

H4: a record misstates where the data came from

Cause: a body’s FEEDER_AUDIT provenance ignored; an AQL page’s origins taken from one row only.

Effect: a patient or a reviewer is told the wrong system created the data that was read (Annex II 3.2(e)).

Control: each committed version records the distinct originating systems of its body; a body with none records the origin of the committer’s data_origin grant in the CDR, or this server; a read records the origins of what it served, an AQL page the union, with the true count beside a capped set. The FHIR AuditEvent of a read or a query carries the origins of the data it served.

Shown by: app/ferroehr/tests/it/access_origins.rs: a_body_without_feeder_audit_has_this_server_as_its_origin, a_granted_origin_stamps_a_direct_commit, feeder_audits_anywhere_in_the_body_count_once_each, an_aql_page_records_the_union_of_the_origins_it_served, an_unstamped_row_is_assessed_from_the_body_at_read; app/ferroehr-rest/tests/it/audit_e2e.rs: composition_get_records_the_origins_of_the_served_data; app/ferroehr/src/system_log/fhir.rs: query_record_carries_the_origins_of_the_served_data.

Remains: the DICOM rendering carries no origins, because PS3.15 defines no element for them; the local store and the FHIR export carry them.

H5: the log is lost, or reaped too early

Cause: a retention period shorter than the law requires; a reaper that deletes more than it should; the database that holds the local store lost; a forwarding sink down.

Effect: the information a patient has a right to for “at least three years from each date of access” (EHDS Art. 9(2)) no longer exists.

Control: the controller’s access policy states the period with the floors and ceilings its law sets, and a policy write whose period is under a declared floor, or under the three years of Art. 9(2) for a controller in the Union, is refused. With no period declared every record is kept without end, and the log_retention readiness indicator reads degraded. The reaper deletes only records past their end, in calendar years where the period is given in years, and the chain stays verifiable after it runs. The forwarding outboxes keep records in the store until the sink takes them, and the syslog route closes its connection with a TLS close_notify when it stops, so the records it sent last are not lost to a reset. production refuses audit switched off unless accepted by name.

Shown by:

  • app/ferroehr/src/config/audit_tests.rs: a_retention_below_the_jurisdiction_floor_is_refused, the_ehds_floor_holds_in_every_member_state_and_a_longer_national_floor_wins, retention_years_meets_a_floor_in_years_exactly, a_ceiling_below_a_floor_is_refused;
  • app/ferroehr/src/system_log/retention.rs: the_ehds_floor_reaches_every_member_state_and_a_longer_national_floor_wins;
  • app/ferroehr/tests/it/audit_store.rs: reap_deletes_only_rows_past_the_horizon, reap_years_deletes_only_rows_past_the_calendar_horizon;
  • app/ferroehr/tests/it/audit_chain.rs: retention_reaping_leaves_a_verifiable_trail;
  • app/ferroehr/tests/it/audit_feed.rs: arr_outage_leaves_rows_pending_then_delivers_on_recovery;
  • app/ferroehr/tests/it/system_log_tls_roundtrip.rs: the_route_closes_its_connection_with_close_notify_when_it_stops.

Remains: a local store shares the fate of its database, so backups and an off-box sink are the deploying organisation’s (B7).

H6: a patient cannot read their log

Cause: the log reachable only with an administrator credential; no retrieval scoped to one patient.

Effect: the information EHDS Art. 9 gives a patient cannot be produced.

Control: ITI-81 GET /fhir/r4/AuditEvent searches the log by patient, agent, action and date, and a caller holding a read_subject_audit grant in the CDR reads one subject’s records and nothing else. EHDS Art. 9(2) has the information provided “through electronic health data access services”, which the Member States establish (Art. 4(1)); FerroEHR serves the log to such a service and has no patient-facing interface of its own. Where a deployment turns on the EHDS Art. 3(3) delay (the access-delay register), the subject-scoped read leaves out the records about a held composition until a professional releases it or the hold expires, and then serves them with their original times (ehds-logging 0.3.3); the syslog and FHIR feeds and the event stream are controller feeds and carry those records unfiltered.

Shown by: app/ferroehr-rest/tests/it/audit_iti81.rs: searchset_bundle_with_filters_and_paging, a_subject_audit_grant_reads_one_subjects_log_and_nothing_else, rbac_gates_the_audit_surface_to_admins; app/ferroehr-rest/tests/it/access_delay_trail.rs: a_record_about_a_held_composition_appears_in_the_persons_trail_at_release, a_record_about_a_held_composition_appears_in_the_persons_trail_at_expiry; app/ferroehr/tests/it/access_delay_sinks.rs: the_syslog_feed_carries_a_record_about_a_held_composition, the_fhir_feed_carries_a_record_about_a_held_composition, the_event_stream_carries_the_commit_of_a_held_composition.

Remains: [authz.grants] allowed does not allow read_subject_audit by default, so the log is admin-only until the deployment allows it and grants it to the service that serves the person. A deployment that passes a controller feed to the person shows them the records about a held composition before its release.

H7: the access log is altered

Cause: a record changed or deleted in the database, by a compromised application role or by someone with direct access.

Effect: an access disappears, or appears to have been made by someone else, and the record a patient or a court relies on is false.

Control: both logs are sealed in windows (#6242): the system records and the access log’s entries. A system record’s content digest, computed by the writer, covers every column but its position and the digest, its search tokens included. About once a minute every committed record of each log past its last window is sealed with the SHA-256 of its records’ ids and content digests, each seal following the one before it and signed with the keyring’s key, and the verifier recomputes every window, every system record’s content digest and every column the access log derives from an entry’s content. Each render policy a record names is checked against its own digest, and each search token and token set against its content. UPDATE, DELETE and TRUNCATE on either log are refused by its triggers and the runtime role’s grants; a record newer than the last seal (at most a minute and the frontier’s lag) is protected by those refusals alone. The application role cannot run DDL or rewrite the log. The server verifies one minute after boot and then every [audit.store] verify_interval (default one hour), logs a finding at ERROR, counts it in atna_audit_chain_findings and shows it on the audit_chain readiness indicator; forwarding puts copies off the box.

Shown by:

  • app/ferroehr/tests/it/audit_chain.rs: a_modified_audit_record_is_detected_and_named, a_deleted_audit_record_is_detected_in_the_middle_and_at_the_end, the_audit_table_refuses_mutation_deletion_and_truncation, the_application_role_cannot_run_ddl_or_rewrite_the_audit_trail, the_batched_write_path_is_sealed_too, the_chain_check_reports_a_tampered_record_on_the_health_surface, the_audit_subsystem_schedules_the_chain_check, the_digest_covers_every_column, every_hashed_column_is_tamper_evident, a_changed_or_missing_render_policy_is_reported, a_changed_search_token_or_set_is_reported;
  • app/ferroehr/tests/it/system_log_seal.rs: a_window_never_covers_a_record_a_transaction_still_writes_or_holds, a_changed_record_in_a_sealed_window_is_reported, a_removed_record_in_a_sealed_window_is_reported, an_inserted_record_in_a_sealed_window_is_reported, a_window_folds_only_once_every_record_of_it_is_reaped;
  • app/ferroehr/tests/it/audit_store.rs: the_access_trail_refuses_rewriting_deletion_and_truncation;
  • app/ferroehr/tests/it/access_log_seal.rs: a_window_never_covers_an_entry_a_transaction_still_writes, a_changed_record_in_a_sealed_window_is_reported, a_removed_record_in_a_sealed_window_is_reported, an_inserted_record_in_a_sealed_window_is_reported, the_fold_removes_whole_sealed_windows_only.

Remains: the seals give evidence of tampering and do not prevent it, and a record of either log newer than the last seal is protected by the refused changes alone. A deployment that sets verify_interval = 0 finds a broken seal only when an operator runs the check. The indicator never flips readiness, so a finding reaches someone only through an alert on the counter or the indicator, which the deploying organisation sets up.

H8: the log discloses more than it should

Cause: the category classification or identifying content copied into request logs, spans or metrics; the log served to a caller with no right to it.

Effect: the log of who read a patient’s record becomes a disclosure of that record.

Control: the classification stays in the access log; telemetry carries no identified data; the ITI-81 surface is authorised like any other.

Shown by: app/ferroehr-rest/tests/it/audit_categories.rs: the_classification_never_reaches_spans_logs_or_metrics; app/ferroehr/tests/it/privacy_leak.rs: the_atna_records_carry_the_opaque_pseudonym_and_nothing_else; app/ferroehr-rest/tests/it/audit_iti81.rs: rbac_gates_the_audit_surface_to_admins.

Remains: the log names patients and actions by design, so whoever holds ITI-81 access reads that.

H9: an emergency access to data restricted under EHDS Art. 8 is not marked

Cause: a natural person restricts the access of health professionals to some of their data (EHDS Art. 8), and a professional reaches that data anyway because the person’s vital interests require it (Art. 11(5)). Without a mark, the access record of that emergency looks like any other.

Effect: EHDS Art. 9(1) includes “access provided in accordance with Article 11(5)” in what a patient is told about, and Art. 11(5) asks that such cases be “logged in a clear and understandable format” and be “easily accessible for the data subject”. An unmarked emergency access hides that it happened.

Control: a deployment names the purpose-of-use codes its callers declare for an emergency ([audit] emergency_purpose_codes, each also on purpose_codes). An access declaring one, in the [audit] purpose_header or as a purpose of use its IHE IUA access token states (#5323), carries the emergency mark in its access record: the emergency_access column, and in the FHIR AuditEvent the ehds-logging entity ehds-emergency-access, which states the mark in plain words and names the purposes that marked it. The person’s own subject-scoped ITI-81 retrieval serves that document. The mark lifts no restriction: an object restricted under GDPR Art. 18 is refused with an emergency purpose exactly as without one, and the refused attempt is logged with the mark. The same mark is carried by an access-service caller that reads an EHR whose person opted out of the access services (EHDS Art. 10) under the vital-interest override of Art. 10(2), and a route that names that EHR adds an access-opt-out-override record against it.

Shown by: app/ferroehr-rest/tests/it/audit_emergency_access.rs: an_emergency_access_is_marked_and_shown_in_the_subjects_own_access_log, an_emergency_purpose_does_not_lift_a_gdpr_restriction; app/ferroehr/tests/it/audit_ehds_mapping.rs: art_11_5_the_emergency_mark_reaches_the_fhir_rendering_only; app/ferroehr/tests/it/audit_store.rs: both_inserts_persist_the_emergency_mark_and_it_cannot_be_rewritten; app/ferroehr-rest/tests/it/access_opt_out_http.rs: the_vital_interest_override_reads_the_ehr_and_is_recorded; app/ferroehr/src/system_log/event.rs: a_purpose_the_token_states_is_named_beside_the_declared_one.

Remains: the Art. 8 restriction hides restricted data from every professional route, query and export, and only a caller holding authz.rbac.emergency_access_role that declares an emergency purpose reads it (app/ferroehr-rest/tests/it/access_restriction_http.rs: only_an_emergency_access_reads_restricted_data_and_is_marked). The mark rests on the purpose the caller declares or its token states, and an emergency neither names is not marked. The DICOM syslog rendering has no purpose element and does not carry the mark.

When the log is reviewed

The log is reviewed in the release that changes any module of the component listed above, with the hazards, controls and test names checked against that release’s tree. It is also reviewed when an incident, a complaint or a vulnerability shows a hazard the log does not name. The technical documentation cites it as the EHDS-side risk assessment of the component.

VersionDateChange
12026-10-06First log, nine hazards
22026-10-07H9 names the EHDS Art. 8 restriction; the emergency mark and the subject-scoped retrieval are its control
32026-10-08Reviewed for release 4.3.6 (changes since 4.3.5: the assurance level and the natural person, the emergency mark, the FHIR connector removed beside the ITI-81 route); every named test exists and asserts its control; no hazard added
42026-10-15Reviewed for release 4.3.9 (changes since 4.3.6: digest version 2 of the audit chain over every column, audit migration 0011 (#3686); one data-flow direction for the DICOM and FHIR renderings (#3687) and the BALP Delete agent types (#3750); the physical party delete classified and its party named (#3683); every audit-store and retention-register checkout through the typed database acquire (#3749)); every named test exists and asserts its control; H1, H2 and H7 name the new tests, H7 the version 1 records; no hazard added
52026-10-20Reviewed for release 5.1.0 (changes since 5.0.0: the audit FHIR feed authenticates with an OAuth 2.0 client-credentials token, and a token endpoint that refuses or cannot be reached is a transport error, so the records stay pending and are delivered on recovery as H5 states (#3829); the assurance and professional rules the access record carries move under [authz] (#3872)); every named test exists and asserts its control; no hazard added
62026-10-20Reviewed for release 5.2.0 (changes since 5.1.0: the EHDS Art. 8 restriction of access lands, so H9’s control is the restriction with its emergency override and the mark on that access record (#3682); a read of a party’s protected identifiers is recorded per scheme (#3776); the access context carries whether a request enforces the restriction); every named test exists and asserts its control; no hazard added
72026-10-20Reviewed for the move onto FerroAUDIT (#3887): the access record, its categories and their classification, the retention floor and the emergency mark come from ehds-logging 0.1.1, the BALP and DICOM renderings and the ATNA sender from ihe-atna 0.1.1; the syslog feed sends over TLS only; H2, H3 and H9 name the moved tests; every named test exists and asserts its control; no hazard added
82026-10-22Reviewed for release 5.3.2 (changes since 5.2.0: the move onto FerroAUDIT of review 7 (#3887), then ehds-logging and ihe-atna 0.2.4 (#3902), so the record carries the token’s jti, the operation subtype, outcomeDesc and the optional DICOM elements again, a Basic user is recorded with no issuer, a retention without end or under three years is stated as such, and archetype ids are compared as openEHR BASE 1.3.0 asks with each id kept as the access named it (#3908); the ITI-81 search form-decodes its query string (#3891)); every named test exists and asserts its control; no hazard added
92026-10-24Reviewed for release 5.4.0 (changes since 5.3.3: ehds-logging and ihe-atna 0.2.5, and the audit drain closes its syslog connection with a TLS close_notify when it exits, logging and counting a close that fails, so the records it sent last are not lost to a reset (#3959); H5 names its test); every named test exists and asserts its control; no hazard added
102026-10-27Reviewed for release 5.5.0 (changes since 5.4.2: syslog frames are delivered from ihe-atna’s spool with retries, and [audit.fhir_feed] batch_size and max_retries are gone (#4029); the ITI-81 query is read and answered by ihe-atna’s retrieve and requires a date (#4030, #4040); each access record is deleted at its own retention end (#3899); the chain check verifies from the last intact link, and the FHIR feed owes only the records written while it is configured (#4100, #4102); the access record and its renderings carry the data permit (#3379, #4120); the source address comes from the family server stack, believing a forwarded address only from a trusted proxy (#4025); every access to one EHR names the EHR and the user, so H2 names ehr_id_from_the_matched_route, the test #4192 put in place of ehr_id_from_various_paths); every named test exists; no hazard added
112026-10-28Reviewed for release candidate 5.6.0-rc1 (changes since 5.5.0: the store keeps each record’s facts in columns and renders its AuditEvent on read under the render policy the record names, the chain digest covers every column in one version, and audit migration 0017 refuses a store holding records of an earlier release, so no record keeps an older digest and H7 drops that remainder (#4300); the recorded_at indexes ascend (#4302); every ITI-81 parameter answers through search tokens the chain covers (#4313); the ITI-81 retrieval moves to /ferroehr/rest/fhir/r4/AuditEvent (#4330); a deployment that declares no category map records the published CKM priority-category templates and archetypes through the shipped map, so H3 names its test and its remainder no longer says FerroEHR ships none (#4298); H7 names the render-policy and search-token tests and the digest test #4300 renamed); every named test exists; no hazard added
122026-10-29Reviewed for release candidate 5.6.0-rc2 (changes since the 5.6.0-rc1 review: a body without FEEDER_AUDIT committed directly by a client the [[authz.origin]] register names records that client’s origin, so H4 names it and its test, and the retention register keys a period on the origin of the data (#4299); H3’s remainder said the binary ships no category map, which #4298 changed; the FHIR rendering of an access record ehds-logging does not classify carries the BALP entity:data slice its profile requires (#4353); the component’s intended performance is stated and measured (#4293), and its ATNA transactions are exercised against independent implementations (#4296)); every named test exists; no hazard added
132026-10-29Reviewed for release candidate 5.6.0-rc3 (changes since the 5.6.0-rc2 review: FerroEHR takes ehds-logging and ihe-atna 0.3.2, and the FHIR AuditEvent names the object it touched by its openEHR object id as entity.what.identifier where it wrote a what.reference no FHIR server resolves, so H2 states it and names its test (#4366); the audit store writes a drained batch, its search tokens and its token sets in one transaction on one connection, and the GIN index on search_tokens collects new entries in a 512 kB fast-update list (GIN fastupdate) that audit migration 0019 sets, which changes no control H5 or H7 states (#4375, #4424); the ITI-81 route answers an authentication refusal as an OperationOutcome, the fail-closed 503 is RFC 9457 problem details, and fail_closed_503_carries_openehr_error_body_and_retry_after asserts the problem body (#4342)); every named test exists; no hazard added
142026-11-01Reviewed for release candidate 5.6.0-rc6 (changes since the 5.6.0-rc3 review; the logging component did not change in 5.6.0-rc4 or 5.6.0-rc5: FerroEHR takes ehds-logging and ihe-atna 0.3.3, and with the EHDS Art. 3(3) delay turned on the subject-scoped ITI-81 read leaves out the records about a held composition until it is released or expires, while the syslog and FHIR feeds and the event stream carry them as controller feeds, so H6 states the hold and its remainder and names its tests (#4351, #4521); placing, releasing and expiry of a hold are access records (#4351); ITI-81 entity.identifier finds a request id or a created version uid from the record’s own columns through a hash index (audit migration 0020), and retention deletes the search tokens no remaining record names while the database still refuses to delete one a kept record names, which changes no control H7 states (#4524); the Service Model vocabulary leaves the component’s identifiers with no test renamed (#4213)); every named test exists; no hazard added
152026-11-01Reviewed for release candidate 5.6.0-rc7 (changes since the 5.6.0-rc6 review: the syslog form of an EHR-level record names its object beside the patient as a URI participant object, so the record of an Art. 3(3) hold names the held composition as its FHIR AuditEvent does, and H2 states it and names its test (#4569); the EHDS Art. 10 opt-out lands, the access context carries whether a request enforces it, an access-service caller’s read under the Art. 10(2) override carries the emergency mark and a route that names the EHR adds an access-opt-out-override record, and recording, reversing and reading the register are access records, so H9 states the override’s mark and names its test (#4516)); every named test exists; no hazard added
162026-11-02Reviewed for release candidate 5.6.0-rc8 (changes since the 5.6.0-rc7 review: the access classification reads one operation table with every operation’s audit class unchanged, and every_generated_operation_is_explicit and unrecognised_operation_fails_closed_to_default still hold it (#4721); the ADL 1.4 to ADL 2 conversion routes are access records, the template conversion a read of the template it names and the archetype conversion through the fail-closed default (#4655); a rejected access record refuses the request with 503 through the one service error type (#4657); the audit store’s batch insert takes one batch-column struct, and functions no path called are deleted from the store and the chain check (#4746, #4747); audit migration 0021 drops the linkage domain, and the subject crossings keep their linkage-domain access records (#4684); a COMPOSITION tag read’s access record names the tagged COMPOSITION (#4768); under deployment.spec_profile = "stable" a party read records one access to each party it discloses through reverse_relationships, beside the read’s own record, as an AQL statement does for each EHR it serves (#4775)); every named test exists; no hazard added
172026-11-02Reviewed for release candidate 5.6.0-rc9 (changes since the 5.6.0-rc8 review; 5.6.0-rc8 was tagged and not published: audit migration 0022 drops the three horizon reap functions nothing called, and the unused store method that called audit.reap_audit_events is deleted, so the trail is reaped only through audit.reap_audit_events_due and each record’s own retention end, which H5 states; reap_deletes_only_rows_past_the_horizon and reap_years_deletes_only_rows_past_the_calendar_horizon exercise that path (#4770)); every named test exists; no hazard added
182026-11-02Reviewed for release candidate 5.6.0-rc10 (changes since the 5.6.0-rc9 review; 5.6.0-rc9 was tagged and not published, and the logging component’s paths did not change: the access record of a VERSION read names the content it served and, for a COMPOSITION, the origins of its data, as the bare reads already did, with the parsed EHR id (#4660); every read of the outbox feed is an access record (#4786)); every named test exists; no hazard added
192026-11-04Reviewed for release 5.6.0 (changes since the 5.6.0-rc10 review: the logging component’s modules changed only by refactors that change no record: one macro declares every guarded REST handler (#4887), every route calls its operation’s handler with no operation-string match (#4662), the last REST and service forwarders go (#4663), and the committer context, the audit borrows and the service error move below the service (#4835); outside them, a manifest export under the EHDS Art. 10(2) override records the override against the EHR it exports (#4870), and the scope of the logging component names FerroBRIDGE’s recording of its FHIR facade’s accesses from FerroBRIDGE 0.0.16 (#4822)); every named test exists; no hazard added
202026-11-05Reviewed for release 5.6.1 (changes since the 5.6.0 review: no module of the logging component changed; the application code is unchanged and a viewer test reads the hosted sandbox posture (#4985); the deployment artifacts pin FerroPIX 0.0.16, FerroBRIDGE 0.0.20 and four FerroSYS crate releases that change no behaviour (#4987)); every named test exists; no hazard added
212026-11-10Reviewed for release candidate 5.7.0-rc1 (changes since the 5.6.1 review; 5.6.2 and 5.6.3 changed no module of the logging component: every access record of an authenticated request carries the outcome of the party binding with the bound party, its groups, the provider acted for and the representation, and the FHIR AuditEvent, the DICOM message and the syslog feed render them (#5043, #5118, audit migration 0023); a delegated access records acting_mode = "delegated" where it recorded client, and a system caller’s system (#5118); every refused request is an access record through the gated path, with the refused-* code of a binding or caller-kind refusal, its own code per caller kind and the name of a missing key claim, and the refusals of tokens that failed verification are budgeted by source network (#5119, #5139, #5140, audit migrations 0024 and 0025); the recorded client is the one the issuer profile admitted, never another client_id claim (#5194); [audit.syslog] reads its TLS from [audit.syslog.tls] (#5217); the family crates move to ehds-logging and ihe-atna 0.9.1, and the FHIR feed tries a delivery again as [audit.fhir_feed.endpoint] retry states while its outbox still keeps every record until the sink takes it, as H5 states (#5209, #5259, #5331); H5 named its four floor tests in config/mod.rs, which #5259 moved to config/audit_tests.rs, and its member-state test in system_log/config.rs, which moves with the retention bounds to system_log/retention.rs (#5331), so it names both files; the audit keys take the 5.7.0 configuration tree (#5259); H2 named two assurance tests #5003 renamed, so it names a_person_token_through_an_unlisted_client_is_refused and a_delegate_acting_for_a_professional_passes_and_is_recorded); every named test exists; no hazard added
222026-11-11Reviewed for release candidate 5.7.0-rc3 (changes since the 5.7.0-rc1 review; 5.7.0-rc2 changed no module of the logging component: the access record takes the purposes of use and the professional roles an IHE IUA access token states, in the new token_attributes column (audit migration 0026, chain digest version 3), renders them in the EHDS access record and the BALP AuditEvent, and refuses and records a request whose [audit] purpose_header names a purpose the token does not state (#5323); a purpose the token states marks an emergency access as a declared one does, so H9 names it and its test; a contact point’s request message id is recorded (#5011); [audit.syslog] url renders with its credentials masked (#5322); the component moves to ehds-logging and ihe-atna 0.12.0 (#5320)); every named test exists; no hazard added
232026-11-13Reviewed for release candidate 5.7.1-rc1 (changes since the 5.7.0-rc3 review; 5.7.0-rc4 and 5.7.0 changed no module of the logging component: FerroEHR takes ehds-logging and ihe-atna 0.16.0 (#5417, #5422, #5465) and then 0.18.0 with ferrohealth-smart 0.24.1 (#5437, #5438); the category map is the audit category register, an admin register written by [authz.rbac] admin_role with every version kept and every read and write recorded, and a new version classifies the next access on every replica, so H3 states the register and names production_requires_a_category_map_unless_accepted, the test that a production deployment refuses a register write leaving the map empty (#5442); a body without FEEDER_AUDIT records the origin of the committer’s data_origin grant in the CDR in place of the [[authz.origin]] register, and H4 names the test under its new name, a_granted_origin_stamps_a_direct_commit (#5439); the recorded client is the one the policy grants admitted (#5436); the ITI-81 retrieval reads one subject’s log for a caller holding a read_subject_audit grant in the CDR, and an access-service caller is one holding an access_service grant, in place of the removed [authz.rbac] subject_audit_role and access_service_roles, so H6 states the grant, names a_subject_audit_grant_reads_one_subjects_log_and_nothing_else and says the ceiling keeps the log admin-only until the deployment allows the grant (#5521); every access of a representative in the patient portal is recorded bound to the representative’s PERSON, naming the subject and the relationship, and a former representative is refused and never recorded as the patient (#5446, #5532); the v5.7.0 removal aids of the audit keys are deleted (#5463)); H7 states the shipped verify_interval of one hour; every named test exists and asserts its control; no hazard added