SORMAS (Surveillance, Outbreak Response Management and Analysis System) is an early warning and management system to fight the spread of infectious diseases.
We need dedicated auditing methods in AuditLoggerEjb to support the detailed logging of
user creation/update (e.g., logUserCreation/Update)
user role assignment/removal (e.g., logRoleAssignmentToUser)
calls to the geocoding service
and S2S (like shared/received an entity, synced) as this is important to know that we transferred data between jurisdictions (e.g., logSharedEntityS2S/logReceivedEntityS2S)
Proposed Change
Go to AuditLoggerEjb and fill a dedicated log method for each remaining use case (or any other we want to cover in more detail).
Acceptance Criteria
All of the above events are recorded in the audit log.
Implementation Details
In each log method, create and fill an AuditEvent with relevant information e.g., user name, roles changed, what geolocation resolved, what entity shared, etc.
You can look at the other methods like logApplicationStop, logFailedUiLogin, or logExternalMessagesPdfSuccess to see how to get started. Have a look at the definition of the AuditEvent to see what fields you can fill in.
Feature Description
This tracks the remaining work of #7904.
We need dedicated auditing methods in
AuditLoggerEjb
to support the detailed logging oflogUserCreation/Update
)logRoleAssignmentToUser
)logSharedEntityS2S/logReceivedEntityS2S
)Proposed Change
Go to
AuditLoggerEjb
and fill a dedicated log method for each remaining use case (or any other we want to cover in more detail).Acceptance Criteria
All of the above events are recorded in the audit log.
Implementation Details
In each log method, create and fill an
AuditEvent
with relevant information e.g., user name, roles changed, what geolocation resolved, what entity shared, etc.You can look at the other methods like
logApplicationStop
,logFailedUiLogin
, orlogExternalMessagesPdfSuccess
to see how to get started. Have a look at the definition of theAuditEvent
to see what fields you can fill in.Additional Information