Package com.sap.cds.services.auditlog
Interface AuditLogService
- All Superinterfaces:
Service
Defines the audit log service API.
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptiondefault void
logConfigChange
(Action action, ConfigChange change) Writes a single configuration change to the audit log.void
logConfigChange
(Action action, List<ConfigChange> changes) Writes multiple configuration changes to the audit log.default void
logDataAccess
(Access access) Writes a single access to sensitive personal data to the audit log.void
logDataAccess
(List<Access> accesses) Writes accesses to sensitive personal data to the audit log.default void
logDataModification
(DataModification modification) Writes a single modification to personal data to the audit log.void
logDataModification
(List<DataModification> modifications) Writes modifications to personal data to the audit log.void
logSecurityEvent
(String action, String data) Writes a security event in the audit log.
-
Field Details
-
DEFAULT_NAME
- See Also:
-
-
Method Details
-
logDataAccess
Writes accesses to sensitive personal data to the audit log.- Parameters:
accesses
- a list with data accesses to be logged
-
logDataAccess
Writes a single access to sensitive personal data to the audit log.- Parameters:
access
- a single data accesses to be logged
-
logDataModification
Writes modifications to personal data to the audit log.- Parameters:
modifications
- a list with all modifications to personal data to be logged
-
logDataModification
Writes a single modification to personal data to the audit log.- Parameters:
modification
- a single modification to personal data to be logged
-
logConfigChange
Writes multiple configuration changes to the audit log.- Parameters:
action
- the performed actionchanges
- a list with configuration changes
-
logConfigChange
Writes a single configuration change to the audit log.- Parameters:
action
- the performed actionchange
- a single configuration change
-
logSecurityEvent
Writes a security event in the audit log.- Parameters:
action
- the action of the security eventdata
- the data of the security event
-