audit log
This commit is contained in:
23
gdpr/db/AuditLogStore.cds
Normal file
23
gdpr/db/AuditLogStore.cds
Normal file
@@ -0,0 +1,23 @@
|
||||
using { managed, cuid, sap.common.CodeList } from '@sap/cds/common';
|
||||
|
||||
namespace sap.capire.auditLog;
|
||||
|
||||
entity AuditLogStore : cuid {
|
||||
|
||||
Action : String enum{DataAccess; DataModification};
|
||||
|
||||
User : String;
|
||||
Timestamp : Timestamp;
|
||||
Tenant : String;
|
||||
Channel : String;
|
||||
|
||||
DataSubjectType : String; // Bussiness Partner
|
||||
DataSubjectRole : String; // Customer // Employee // ...
|
||||
DataSubjectID : LargeString; // key value pair as JSON
|
||||
ObjectType : String; // like SalesOrder
|
||||
ObjectKey : LargeString; // key value pair as JSON
|
||||
|
||||
Blob : LargeString; // Payload: DataModification or Data Access as BLOB
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user