HEX
Server: LiteSpeed
System: Linux php-prod-3.spaceapp.ru 5.15.0-151-generic #161-Ubuntu SMP Tue Jul 22 14:25:40 UTC 2025 x86_64
User: sarli3128 (1010)
PHP: 7.4.33
Disabled: pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,
Upload Files
File: //opt/imunify360/venv/lib/python3.11/site-packages/imav/malwarelib/rpc/schema/on-demand-user.yaml
malware on-demand start-user:
  return_type: NullAgentResponse
  help: Scan a user's home directory
  type: dict
  schema:
    user:
      type: string
      nullable: false
      help: Username to scan

malware on-demand stop-user:
  return_type: NullAgentResponse
  help: Stop a user's on-demand scan
  type: dict
  schema:
    user:
      type: string
      nullable: false
      help: Username

malware on-demand status-user:
  return_type: OnDemandUserScanStatusAgentResponse
  help: Check the status of the user's on-demand scan
  type: dict
  schema:
    user:
      type: string
      nullable: false
      help: Username

malware on-demand list-user:
  type: dict
  help: |
    List scans of a specific user.
    This request can be performed by any user, not just admins.
  return_type: OnDemandScanListAgentResponse
  schema:
    user:
      type: string
      nullable: false
      help: Username
    since:
      type: integer
      coerce: int
      default: 0
      help: Show scans started after this unix timestamp.
    to:
      type: integer
      coerce: int
      default_setter: now
      help: Show scans started before this unix timestamp.
    limit:
      type: integer
      coerce: int
      default: 50
      help: Page size
    offset:
      type: integer
      coerce: int
      default: 0
      help: Page offset
    order_by:
      type: list
      schema:
        type: order_by
        coerce: order_by
      nullable: true
      help: |
        List of fields to order by, each followed by a `+` (ascending) or `-` (descending).
        E.g. `["started-"]` would order by `started` descending.