Scenario note: The scenario is illustrative and is not a report of a confirmed Next Defence customer incident.
The second identity behind the patient portal
A nurse may complete phishing-resistant sign-in to the clinical portal, yet a background integration can write appointments through its own application credential. These are separate trust decisions. The human authentication record proves who opened the portal, not who sent the API update or whether the update was authorised for that patient. Ask the clinical systems team to identify the third-party client, its service account, patient-to-tenant mapping and the precise write methods it can invoke. In a multi-provider environment, a token that is valid for one connected organisation must not automatically be accepted for another.
Model the data change rather than the login screen
Create two fictitious patients receiving care from different facilities. Give the integration permission to update a permitted appointment field for the first person, then attempt a care-plan amendment for the second. Record the response code, server-side decision and resulting database state; a client-side warning does not prove the API refused the operation. Recheck after a cached token is refreshed and after the supplier rotates its connector. The exercise must not use real patient records or interfere with operational scheduling, and the clinical owner should decide when simulation is sufficient.
Scope service credentials and delegated consent
List every grant the connector uses, distinguishing delegated permissions from application permissions. A delegated token may act under a user’s rights; an application permission may persist when that user is off shift. Avoid assuming that one portal screen, group membership or MFA policy restricts both forms of access. Where the vendor supports granular purposes, require the allowed data fields and operations to be documented. Where it does not, reduce the identity’s reach with dedicated integration endpoints, monitoring, short-lived credentials and a written supplier remediation commitment.
Treat emergency clinical access separately
Clinical emergency access is a patient-safety decision. It should have an accountable human initiator, a reason code, time limit and a retrospectively reviewed audit trail. It should not be implemented by permanently expanding the background connector’s permission. Work with clinical governance to define how an outage affects booked appointments, how staff verify the latest care instructions and who can reconcile updates after the link returns. A safe break-glass workflow protects care delivery without granting an unattended integration unlimited access to patient profiles.
Evidence that survives a supplier dispute
Ask for API gateway decisions, server-side resource checks, integration identifier, correlation IDs, scope or role claims, the change ticket and a versioned mapping between external and internal patient IDs. Preserve a before-and-after snapshot of the synthetic record. If the supplier reports success without providing an authoritative denial log, label the negative test unverified. The clinic must be able to repeat the exercise after an integration release; a screenshot from a demonstration tenant is not evidence of current production enforcement.
What to monitor in routine operation
Alerts should concern meaningful actions: a connector writing outside its scheduled window, bulk changes to clinical notes, updates for an unexpected organisation, or repeated 403 denials followed by a successful request through another endpoint. Tune thresholds against normal integration batch sizes so staff are not overwhelmed. The incident response owner should know how to disable the credential and how to preserve queued updates for replay. Closing the risk means a prohibited fictional write is denied and authorised appointment updates still reach the correct patient.
The question for the next contract renewal
Include the API authorisation model in supplier review: which resource owns the final decision, can one provider’s access be revoked without affecting another, how quickly are tokens invalidated, and what audit records can be retrieved? Put those answers into a testable service requirement. A declaration that the product supports MFA is relevant to staff authentication but does not answer the risk described here. An integration that cannot demonstrate patient-level controls may require architectural isolation or removal from sensitive workflows.
A validation detail often missed
Some patient portals synchronise updates overnight rather than immediately. Run the invalid cross-facility update through both synchronous API submission and the delayed queue that uses a background service account. The denial should be retained with a useful correlation ID even if the interface reports that the request was received. The business owner must verify that the correct appointment does not change after the scheduled reconciliation cycle. A test ending before the background job executes provides incomplete assurance. Check that integration mapping cannot substitute a patient identifier from another facility after an otherwise valid staff session is established.
When a rejected interface update enters a retry queue, staff need to know whether the patient’s appointment remains confirmed or requires review. Give the care team a status indicator tied to the authoritative record and a safe reconciliation process for changes that never arrived. This is part of testing the control, not an unrelated usability consideration.
Operational checks after the authorisation fix
A clinic should rehearse the consequence of a rejected update as well as the security success. If a background worker receives an authorisation denial, does it retry indefinitely, create a visible exception for staff or silently drop a clinical appointment? The integration team should set bounded retry behaviour, a reconciliation queue and a named owner for cases requiring manual correction. These controls matter because a technically correct denial may otherwise produce incorrect care information. Use fictional care records to show that the patient-facing view remains consistent with the authoritative clinical system.
The supplier contract should establish how quickly the practice can retrieve API access logs and revoke a connector when credentials are suspected of exposure. Verify whether access tokens remain valid until expiry, whether the vendor can forcibly invalidate a session and whether a new credential inherits the same unrestricted permissions. When clinical staff work across facilities, test the transition between their human session and the application’s service identity. The record needs to show which party made the effective patient-level decision; “staff used MFA” is a separate observation, not the final answer.
Operational evidence and decision details
Build the control around the work people need to do
For health and aged-care, the implementation should be reviewed by the clinical systems owner alongside the operator of the affected service. Repeat the legitimate health and aged-care transaction after the new restriction is enabled. If external partners participate in application and API security, identify their authorising operator and the expiry time for temporary access. This is why the plan must account for the specific constraint: Emergency clinical access should be designed separately from routine integration privileges.
Field checklist for the scenario
- Permitted activity: An aged-care patient portal uses a third-party interface to update appointment and care-plan data.
- Abuse or operational error to prevent: Strong staff MFA does not constrain the application token writing to patient profiles.
- Proposed security change: Limit app permissions by purpose, tenant and transaction with monitored service identities.
- Proof of enforcement: Submit a fictitious record update from an out-of-scope integration and verify rejection.
- Which owner can produce API request IDs, authorisation decisions, service identity claims, pipeline provenance and release artifacts without using undocumented access?
- Can the team reproduce this check: Submit a fictitious record update from an out-of-scope integration and verify rejection?
- If reviewers identify this failure mode (strong staff MFA does not constrain the application token writing to patient profiles), what decision is needed first and who can approve it?
- Which owner accounts for the following complication during release and recovery: Emergency clinical access should be designed separately from routine integration privileges?
Check patient reassignment and queued work together
Run a synthetic test in which a patient changes clinic while an authorised integration still has a delayed appointment update waiting in its queue. Verify that the service credential can no longer modify the old clinic’s patient record, even if the queue retry uses a previously valid token. Test one permitted update for the new clinic in parallel so the team can tell a targeted denial from a general outage. Preserve the patient-scope claim, token issuer, queue correlation ID, API authorisation decision and final appointment state in the system of record.
Clinical owners should establish which rejected changes require manual reconciliation before a real workflow uses this design. A successful HTTP response from a queue is not proof that an appointment update reached the authorised patient record. Rehearse only with fictitious patient data and an approved non-production interface.
Sources and further reading
- https://www.cyber.gov.au/resources-business-and-government/essential-cyber-security/essential-eight
- https://www.nist.gov/cyberframework
Next steps with Next Defence
Next Defence can help clinical and integration teams test patient-level API authorisation with synthetic appointments, review service credentials, and document a safe fallback for care continuity.