Setting the Audit Retention Period
Set the retention period for audit logs for an identity domain in IAM.
- Open the navigation menu and click Identity & Security. Under Identity, click Domains.
- Click the name of the identity domain that you want to work in. You might need to change the compartment to find the domain that you want.
- Click Settings and then click Domain settings.
Under Audit, select Configure audit retention period and then enter a value of 30, 60 or 90 (in days). The tenancy purges the audit data for all the users, based on the interval set here.
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 dataand then clicking Purge. All the audit data of that user is permanently deleted from the tenancy.
- Click Save changes.