Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions keepercommander/commands/discoveryrotation.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
from .folder import FolderMoveCommand
from .ksm import KSMCommand
from .pam import gateway_helper, router_helper
from .pam.recording_commands import PAMGetRecordingsForUsersCommand, PAMDownloadRecordingsCommand
from .pam.config_facades import PamConfigurationRecordFacade
from .pam.config_helper import configuration_controller_get, \
pam_configurations_get_all, pam_configuration_remove, \
Expand Down Expand Up @@ -292,6 +293,7 @@ def __init__(self):
'Manage Cloud-Native Application Protection Platform integration', 'cn')
self.register_command('universal-sync-config', PAMUniversalSyncConfigCommand(), 'Manage Universal Sync Configurations', 'usc')
self.register_command('universal-sync-run', PAMUniversalSyncRunCommand(), 'Run Universal Sync', 'usr')
self.register_command('recording', PAMRecordingCommand(), 'Manage PAM Session Recordings', 'rec')


class PAMGatewayCommand(GroupCommand):
Expand Down Expand Up @@ -331,6 +333,17 @@ def __init__(self):
self.default_verb = 'list'


class PAMRecordingCommand(GroupCommand):

def __init__(self):
super(PAMRecordingCommand, self).__init__()
self.register_command('list-by-user', PAMGetRecordingsForUsersCommand(),
'List session recordings for one or more users', 'lbu')
self.register_command('download', PAMDownloadRecordingsCommand(),
'Download recording files to a local directory', 'dl')
self.default_verb = 'list-by-user'


class PAMDiscoveryCommand(GroupCommand):

def __init__(self):
Expand Down
Loading
Loading