A dashboard’s description is not an API permission boundary
A hospital deploys a third-party observation dashboard and gives it what the project team calls read-only access to clinical records. That label may describe the vendor’s intended use without describing the operations actually permitted by its token. An integration could still update observations, acknowledge alerts, modify encounter metadata or call an undocumented endpoint through an overly broad scope. Authentication says the caller holds a recognised credential; it does not establish that the credential can perform only the actions agreed by the clinical owner.
Begin with the workflow the clinical team expects. The dashboard should retrieve authorised observations for a specific patient context and display them to an appropriate clinician. It should not silently amend source records, update a different patient’s chart or trigger a downstream write through an asynchronous job. The receiving clinical API is the definitive enforcement point. A scope name printed in a vendor document, a gateway route labelled GET or a demonstration of one harmless query cannot prove the rest of the token’s effective authority.
Locate the permissions that are actually evaluated
Map the token issuer, audience, scopes, claims, service identity, API gateway and back-end application. Some platforms authorise at the gateway but rely on broad service accounts behind it. Others accept an application role that includes both viewing and maintenance operations. Identify every endpoint the dashboard can reach, including bulk exports, background jobs, audit acknowledgements and administrative functions. A specific role may be read-only for the main records service but retain write permission in a related terminology or workflow service. The security review must include those indirect paths.
A token also needs a patient boundary. A dashboard intended for a ward should not automatically read every encounter in the hospital because the application service account can. Test the resource server’s patient and care-team authorisation in addition to the token’s operation scope. The receiving system may know the patient but not the clinician operating the vendor dashboard; where relevant, propagate the end-user context in a trusted manner. Do not trust a caller-supplied patient identifier without a server-side decision about whether that caller may access it.
Run paired tests with fictional records
Use synthetic patients and a non-production copy of the clinical interface. First show that the dashboard can retrieve an observation for an authorised patient and that the output contains only the agreed fields. Then attempt a fictional update using the same token. Test both a documented write route and any alternate service method the platform exposes. The expected result is a server-side denial with no changed clinical record or queued write. Check the audit trail to see whether a denial occurred at the gateway, application or downstream service.
Next alter the patient identifier to one outside the dashboard’s permitted clinical context. A token with legitimate read access for patient A must not become a universal retrieval credential. Repeat the test after a token refresh, role adjustment and vendor software update; stale or cached entitlements can behave differently from newly issued credentials. Where a vendor cannot provide a safe sandbox, request request/response traces and a verifiable permissions matrix, and state that the control has not been demonstrated with an active negative test.
The emergency write exception is not a hidden scope
Some clinical workflows genuinely require an urgent update, acknowledgement or correction. A blanket prohibition could impair care if staff are relying on that pathway. Design it as a separate function with distinct authorisation, user attribution and a visible clinical purpose. An emergency clinician action should not be smuggled into a supposedly read-only machine credential because the user interface makes the exception convenient. Specify whether the write is authoritative, provisional, subject to reconciliation or limited to a particular type of observation.
Clinical engineering, the application owner and the privacy lead should assess the impact of removing an excessive permission. Some vendor agents assume privileges they do not need, and a change can reveal undocumented dependencies. Use a monitored test period, record the endpoints that fail and require the vendor to justify each requested privilege. Keep temporary waivers short and tied to the exact function, not to all future vendor releases. The accountable clinical lead—not the security scanner—must decide whether the essential workflow remains safe.
If the token has already been overprivileged
Excess privilege is exposure, not automatic proof of patient-record modification. Preserve token issuance history, API calls, resource identifiers, response codes, affected patient context and vendor actions. Review whether any write requests actually succeeded and whether downstream services changed authoritative records. Limit access to those logs because they may contain sensitive patient information. A token rotation can prevent future calls but does not explain earlier activity or revert an incorrect clinical update.
When action is necessary, revoke the unnecessary role, invalidate affected tokens where supported and reissue a least-privilege identity. Verify that cached sessions and service principals do not restore the old access. If a record may have been altered, involve the clinical owner in validating the state rather than asking the security team to roll back patient data blindly. An inaccurate observation may have influenced care decisions, so the clinical consequences can extend beyond a database diff.
What the vendor and hospital should sign off
A defensible outcome contains a route-by-route permissions inventory, positive and negative test results, patient-context decisions, known exceptions and evidence of revocation. Include the API version and vendor build tested. Re-run the tests when a new feature requests another scope or when the hospital changes its identity integration. Monitor newly granted permissions rather than trusting the original onboarding worksheet forever.
An application is truly read-only only when the receiving system refuses unauthorised changes and the surrounding workflows do not provide another write path. The name of a token or a contract statement is a starting assertion; the hospital needs observable proof consistent with patient safety and the clinical use case.
Check every side effect, not just the HTTP method
A read operation can have operational side effects through acknowledgement queues, access markers or workflow triggers. A dashboard that retrieves an alert might also mark it reviewed, change an escalation status or release a queued notification in another subsystem. The API inventory should therefore include downstream effects and event consumers, not just GET and POST labels. Use a synthetic patient and record the state of the clinical source system before and after the request. If the request changes any field relevant to care, determine whether that behaviour is necessary and separately authorised.
The platform’s caching model also matters. A user may lose access to the patient in the main system but still retrieve cached observations through the dashboard. Test role changes and patient transfers with a controlled cached response, documenting the maximum time stale information remains visible. Shorter cache lifetimes may affect performance, so the clinical application owner should agree on an acceptable boundary based on patient-safety needs and privacy risk. A supplier cannot demonstrate effective revocation merely by showing a new token has narrower scopes while older cached results remain accessible.
Finally, ensure that audit evidence identifies which service identity acted on behalf of which authorised clinical context. Where the API supports only a generic machine identity, require an application-controlled record linking requests to the end user, patient and purpose. This attribution should not be inferred from the IP address of a shared ward workstation.
Vendor assurance needs a route inventory
At renewal, request from the dashboard provider an inventory of API endpoints it calls, requested scopes, background operations, support identities and changes introduced since the previous review. Compare that inventory with actual telemetry from a controlled clinical test. A vendor may correctly describe the dashboard’s user-facing screens as read-only while a separate support module retains broader authority. The hospital should approve any write-capable function independently, including where the vendor describes it as necessary for synchronisation. If the supplier cannot justify a sensitive privilege with a clinical workflow, remove or isolate it before expanding deployment. Evidence should be tied to an installed version, since a future update could reintroduce operations the original assessment never examined.
Sources and context
- ASD Essential Eight: https://www.cyber.gov.au/resources-business-and-government/essential-cyber-security/essential-eight
- NIST Cybersecurity Framework 2.0: https://www.nist.gov/cyberframework
How Next Defence can assist
For health and aged-care, Next Defence can scope the specific application and API security problem in this example: A hospital integrates a third-party observation dashboard via a clinical API. An engagement could translate the intended safeguard—audit actual API operations and separate read-only claims from effective entitlements—into an owner-approved work plan and a reproducible check to submit a fictional update with the dashboard token and validate it is refused. Any assessment would be limited to the agreed systems and would respect the operational constraint: Emergency treatment workflows may require a separately controlled write path.