Missing User Logon activity in Activity Report
Symptom
When generating an Activity log report and filtering specifically for user logon activity (Activity 7), some users do not appear in the results. However, other logs indicate that these same users have carried out activities related to safes and accounts. This implies that users have carried out safe and account operations without having logged into CyberArk.
Environment
N/A Privilege Cloud Privilege Cloud Web Portal
PVWA Reports
Cause
User activities are held in the Vault database for a period of days which can be set using the 'User account activity log cannot be deleted for at least:' parameter in the Time Limitations tab of the user properties (select the User then click on 'Update') in the PrivateArk Client.
This can also be set for users in Directory mappings by opening up the Directory map properties (select the mapping and click on 'Update'), clicking on 'User Template' and modifying the 'User account activity log cannot be deleted for at least:' value in the Time Limitations tab
There is a similar setting for Safes and their objects. This can be seen from the safe Properties window, on the History tab, within the Safe History Retention section:
Every night there is a batch process that runs on the Vault server which clears out any activity history from users and safes which have gone past their retention period. If the user account activity parameter is set to a lower value than that of the Safe History Retention period, then this can result in an activity log showing user activity in a safe with no accompanying user logon activity
Resolution
If audit requirements necessitate tying up user logon activity with activities carried out on safes and their objects, ensure that the retention periods for both User and Safe activity history are set to the same value.
PLEASE NOTE: Increasing retention periods may have an impact on vault performance depending on number of users included in the change and the amount of activity.