Releases: cap-js/audit-logging
Releases · cap-js/audit-logging
v0.7.0
Added
- Automatically promote entities that are associated with data subjects
v0.6.0
Added
- Support for @sap/cds^7.5
Fixed
- Automatic personal data modification logging for data subject details with renamed keys
- Data subject resolution in circular models
v0.5.2
Fixed
- Automatic personal data modification logging for deep data structures with renamings
v0.5.1
Fixed
- Falsy early exit during bootstrapping in case a service does not contain personal data
v0.5.0
Added
- Common log entry fields
uuid,tenant,userandtimecan be provided manually
v0.4.0
Added
- Support for Premium plan of SAP Audit Log Service
- Support for XSUAA credential type
x509 - Support for generic outbox
Changed
- Always use outbox (as configured in project)
Fixed
- Avoid dangling
SELECTs to resolve data subject IDs, which resulted in "Transaction already closed" errors
v0.3.2
Fixed
- If the request has no tenant (e.g., Unauthorized), the audit log shall be sent to the provider account
v0.3.1
Fixed
- Defaulting of
@PersonalData.DataSubjectRoleto entity name - Overriding service configuration
v0.3.0
Changed
- Default value for
cds.requires['audit-log'].handlechanged to['READ', 'WRITE'], i.e., accessing sensitive data is now logged by default.
v0.2.0
Added
- Export class
AuditLogServicefor extending in custom implementations as follows:const { AuditLogService } = require('@cap-js/audit-logging') class MyAuditLogService extends AuditLogService { async init() { [...] // call AuditLogService's init await super.init() } } module.exports = MyAuditLogService