CapabilitySecurity & ComplianceJava, read from its artifacts

Audit logging

Recording who touched personal or sensitive data, in a form an auditor accepts, without hand-writing it in every handler. It is often confused with application logging, which records what the code did rather than who accessed what.

Showing artifacts, examples and content with confirmed Java applicability. View All CAP

Overview

SAP SHIPS
com.sap.cds:cds-feature-auditlog-ng

Handles the four CAP audit log event types and sends them to the SAP Audit Log service, matching the Audit Log Event Catalog's semantics so downstream tooling reads standard events.

com.sap.cds:cds-feature-auditlog-v2

Enables the SDK's AuditLog v2 handler, which writes the audit messages to the SAP Audit Log service via its API version 2 once a service binding is present; without this feature the default handler only writes them to the application log.

SourceAudit Loggingchecked
com.sap.cds:cds-services-bom

Ships an AuditLogService for personal data access, personal data modification, configuration change and security events, with a default handler that writes them to the application log; a service binding to SAP Audit Log service v2 needs the separate cds-feature-auditlog-v2 module.

SourceAudit Loggingchecked

A Java coverage assessment has not been written. View all flavors

THE COMMUNITY ADDS

No community artifact is confirmed here for Java.

A Java coverage assessment has not been written. View all flavors

Artifacts4

4 of 4 artifacts
ArtifactSignals
Packages3
com.sap.cds:cds-feature-auditlog-ngCAP Java plugin sending audit log events to SAP Audit Log service
Signals
none
com.sap.cds:cds-feature-auditlog-v2CAP Java handler for SAP Audit Log service API version 2
Signals
none
com.sap.cds:cds-services-bomMaven bill of materials pinning CAP Java module versions
Signals
none
Services1
SAP Audit Log serviceIngests and retains compliance audit data from BTP
Signals
none

Details

Coverage
statecore only, CAP, Java, derived
also inBTP/BAIP
For your agent
Ref
capability:audit-logging
JSON
/capabilities/audit-logging.json
MCP
Connecting an agent