SAP BTP Cloud Foundry Audit Events: 14-Day Retention

Cloud Foundry native audit events in SAP BTP are retained for 14 days, according to SAP KBA 3733908. This applies to events retrieved through the Cloud Foundry audit-events API, including changes to organization or space users and roles.

View the events

Use the Cloud Foundry CLI against the appropriate environment and run:

cf curl "/v3/audit_events"

The response contains the native Cloud Foundry audit events still available within the retention window.

Can you extend the retention?

SAP states that this 14-day value is controlled by Cloud Foundry and cannot be changed. Configuring SAP Audit Log Service retention does not extend the native event history returned by this endpoint.

When investigating an older incident, check whether you already exported or otherwise retained the relevant events. Do not assume that an Audit Log Service retention setting makes older Cloud Foundry native events available through this API.

SAP Note

SAP Note 3733908

You May Also Like

Leave a Reply?