-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathindex.cds
60 lines (49 loc) · 1.08 KB
/
index.cds
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
namespace sap.auditlog;
service AuditLogService {
action log (event : String, data : LogEntry);
action logSync(event : String, data : LogEntry);
event SensitiveDataRead : LogEntry {
data_subject : DataSubject;
object : DataObject;
attributes : many {
name : String;
};
attachments : many {
id : String;
name : String;
};
channel : String;
}
event PersonalDataModified : LogEntry {
data_subject : DataSubject;
object : DataObject;
attributes : many Modification;
success : Boolean default true;
}
event ConfigurationModified : LogEntry {
object : DataObject;
attributes : many Modification;
}
event SecurityEvent : LogEntry {
data : {};
ip : String;
}
}
type LogEntry {
uuid : UUID;
tenant : String;
user : String;
time : Timestamp;
}
type DataObject {
type : String;
id : {};
}
type DataSubject : DataObject {
role : String;
}
type Modification {
name : String;
old : String;
new : String;
}