Hi there,
I am working on an Audit tool for recording access to personal data. I am using OpenMRS as a demo tool to help me build out my SDK.
I placed some code in the following file:
openmrs-core/api/src/main/java/org/openmrs/api/db/hibernate/ChainingInterceptor.java
As part of the onSave
, onLoad
and onDelete
I send the name of the user and the entity to my own API.
Is the the best way to capture data accesses? When I launch the application, I see that there are millions of accesses to different rows.
Thanks in advance for your help, Mick