Action Report Command
Generate a report and/or take action on users in a particular status or that have not performed an action within in a given time period.
Action Report not logged users
This command/function helps to display a list of not logged users in a specified number of days.
DotNet CLI
Command: action-report --target no-logon --days-since 45
Parameter:
target or t - User status that you want to report <no-logon, no-update, locked, invited, no-recovery> .
days-since or d - Look back this many days for targeted action <NUMBER OF DAYS> .
Examples:
My Vault> action-report --target no-logon --days-since 45PowerCommander
Command: Get-KeeperActionReport
Parameter:
-Target - User status that you want to report <no-logon, no-update, locked, invited, no-recovery> .
-DaysDince - Look back this many days for targeted action <NUMBER OF DAYS> .
Examples:
Python CLI
Example:
Admin Action Taken:
COMMAND: NONE (No action specified)
STATUS: n/a
SERVER MESSAGE: n/a
AFFECTED: 0
Note: the following reflects data prior to any administrative action being applied
8 User(s) With "No-logon" Status Older Than 30 Day(s):
User ID Email Name Status Transfer Status Node
---------------- -------------------------------------- ---------------- -------- ----------------- ---------------------------------------
1169425105420506 [email protected] Active Transfer accepted Metronlabs\test1
1169425105420717 [email protected] Active Transfer accepted MetronlabsPython SDK
Function:
def generate_report(self) -> List[ActionReportEntry]:
target_users = self._get_target_users()
report_entries: List[ActionReportEntry] = []
for user in target_users:Action Report Locked users
This command/function helps to Show a list of user accounts that have remained in a locked status for 60+ days within specified node.
DotNet CLI
Command: action-report --target locked --days-since 10 --node="sales"
Parameter:
target or t - User status that you want to report <no-logon, no-update, locked, invited, no-recovery> .
days-since or d - Look back this many days for targeted action <NUMBER OF DAYS> .
node - Give the specified name.
apply-action or a - The action you want to apply none,lock,delete,transfer .
Examples:
PowerCommander
Command: Get-KeeperActionReport
Parameter:
-Target - User status that you want to report <no-logon, no-update, locked, invited, no-recovery> .
-DaysSince - Look back this many days for targeted action <NUMBER OF DAYS> .
-Node - Give the specified name.
-ApplyAction - The action you want to apply none,lock,delete,transfer .
Examples:
Action Report with specified columns
This command/function helps to Show a list of users that haven't logged and we can specify the report columns here.
DotNet CLI
Command: action-report -t no-logon --columns= node, name, user_id, email, status, transfer_status
Parameter:
columns - We can add these columns into the report node, name, user_id, email, status, transfer_status .
Examples:
Last updated
Was this helpful?

