Setting the Audit Retention Period
Set the retention period for audit logs for an identity domain in IAM.
- On the Domain settings page, find the setting you want to change. If you need help finding the domain settings page, see Listing Domain Settings.
-
Under Audit, select Configure audit retention period. The tenancy purges the audit data for all the users, based on the interval set here.
Note
As an administrator, when you delete a user, you can manually purge the audit data of that user by entering the user's OCID in Enter the OCID of the deleted user to purge audit data and then selecting Purge. All the audit data of that user is permanently deleted from the tenancy.
Audit events accessed by the AuditEvents API are available for 14 days. To see events beyond 14 days (maximum 365 days), use the OCI Audit service. See Overview of Audit and Audit Log Retention Period.
- Select Save changes.