{"ref":"artifact:cap-java-cds-feature-auditlog-v2","page":"/artifacts/cap-java-cds-feature-auditlog-v2","json":"/artifacts/cap-java-cds-feature-auditlog-v2.json","generated":"2026-10-26","drafted_with_ai":true,"entity":{"id":"cap-java-cds-feature-auditlog-v2","name":"com.sap.cds:cds-feature-auditlog-v2","artifact_type":"package","ecosystem":"cap","domain":"security-and-compliance","origin_ring":"sap-official","description":{"one_line":"The CAP Java handler that sends the SDK's AuditLog events to the [SAP Audit Log service](artifact:btp-audit-log) over its API version 2, once a service binding is present.","short":"CAP Java handler for SAP Audit Log service API version 2","what_it_solves":"Part of the [cds-services-bom](artifact:cap-java-cds-services-bom) release line, this module is the AuditLog v2 handler for the AuditLog service built into the CAP Java SDK. By default the SDK only writes AuditLog messages, personal data accesses, personal data modifications, configuration changes and security events, to the application log at DEBUG level; adding this feature with runtime scope in srv/pom.xml and a service binding to the AuditLog v2 service instead sends them to the [SAP Audit Log service](artifact:btp-audit-log) over its API version 2. A project can still register its own custom AuditLog handler alongside it, or turn this one off with the cds.auditLog.v2.enabled property. Node.js reaches the same service through [@cap-js/audit-logging](artifact:cap-js-audit-logging)."},"links":{"homepage":"https://central.sonatype.com/artifact/com.sap.cds/cds-feature-auditlog-v2","docs":"https://cap.cloud.sap/docs/java/auditlog#handler-v2"},"identity":{"license":"SAP DEVELOPER LICENSE AGREEMENT for CAP"},"source_available":false,"compat":{"runtimes":["java"]},"flavors":[{"key":"java","source":{"url":"https://cap.cloud.sap/docs/java/auditlog","title":"Audit Logging","checked":"2026-09-19","quote":"As of CAP Java 1.18.0, an AuditLog service is provided for CAP Java applications."}}],"drafted_with_ai":true,"provides":[{"capability":"capability:audit-logging","what_it_does":"Enables the SDK's AuditLog v2 handler, which writes the audit messages to the [SAP Audit Log service](artifact:btp-audit-log) via its API version 2 once a service binding is present; without this feature the default handler only writes them to the application log.","sources":[{"url":"https://cap.cloud.sap/docs/java/auditlog#handler-v2","title":"Audit Logging","checked":"2026-09-19","quote":"writes the audit messages to the SAP Audit Log service via its API version 2"},{"url":"https://cap.cloud.sap/docs/java/auditlog","title":"Audit Logging","checked":"2026-09-19","quote":"By default, the CAP Java SDK provides an AuditLog handler that writes the AuditLog messages to the application log."}]}],"requires":[{"ref":"artifact:btp-audit-log","for":"The AuditLog v2 handler only activates once a service binding to the AuditLog v2 service is present in the CAP Java application.","requirement":"conditional","condition":"The cds-feature-auditlog-v2 dependency is on the classpath and a binding to the SAP Audit Log service (API version 2) is provided.","role":"audit-log-sink","sources":[{"url":"https://cap.cloud.sap/docs/java/auditlog#handler-v2","title":"Audit Logging","checked":"2026-09-19","quote":"Also a service binding to the AuditLog v2 service has to be added to the CAP Java application, then this handler is activated."}]}],"history":[{"date":"2026-09-19","field":"provides.what_it_does","from":null,"to":"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.","reason":"New CAP Java provider discovered through official CAP documentation. Facts describe the pinned source revision, not verified deployment compatibility."}],"provenance":{"discovered_via":[{"source":"source:curator"}],"first_seen":"2026-09-19"}},"effective_normative_relations":[],"readings":{"liveness":[{"label":"Maintenance","tier":"unknown","evidence":"no release data"},{"label":"Continuity","tier":"unknown","evidence":"no contributor data"},{"label":"Repository","tier":"unknown","evidence":"no repository data"}],"compatibility":[{"label":"Declared for","tier":"fair","evidence":"nothing declared"},{"label":"Survived majors","tier":"unknown","evidence":"no release dates"},{"label":"Maintainer's CI","tier":"unknown","evidence":"no repository data"}],"practice":[{"label":"Tests","tier":"unknown","evidence":"not crawled"},{"label":"Docs","tier":"unknown","evidence":"docs link declared, tree not read"},{"label":"Changelog","tier":"unknown","evidence":"not crawled"}],"reach":[{"value":null,"unit":"installs/week"},{"value":null,"unit":"watching"}]},"signals":{"crawled_at":"2026-10-24","npm":"not published under this name"},"edges":{"maintainers":[],"contributors":[],"explained_by":[],"alternative_to_this":[],"needed_by":[],"available_via":[],"parts":[],"add_ons":[],"answered_through_parts":[]}}