audit log

This commit is contained in:
Koch
2023-04-20 14:38:19 +02:00
parent a8d3ac2796
commit 578448c2fa
15 changed files with 222 additions and 14 deletions

13
gdpr/srv/log-service.cds Normal file
View File

@@ -0,0 +1,13 @@
using {sap.capire.bookshop as db} from '../db/data-privacy';
using {sap.capire.auditLog as log} from '../db/AuditLogStore.cds';
//@requires: 'PersonalDataManagerUser' // security check
service LogService {
entity Customers as projection on db.Customers;
entity CustomerPostalAddress as projection on db.CustomerPostalAddress;
entity Orders as projection on db.Orders;
entity AuditLogStore as projection on log.AuditLogStore;
};