GIF89a; Mini Shell

Mini Shell

Direktori : /opt/imunify360/venv/lib/python3.11/site-packages/imav/malwarelib/rpc/schema/
Upload File :
Current File : //opt/imunify360/venv/lib/python3.11/site-packages/imav/malwarelib/rpc/schema/on-demand.yaml

malware on-demand list:
  type: dict
  return_type: OnDemandScanListAgentResponse
  cli:
    users:
      - root
  schema:
    since:
      type: integer
      coerce: int
      default: 0
    to:
      type: integer
      coerce: int
      default_setter: now
    limit:
      type: integer
      coerce: int
      default: 50
    offset:
      type: integer
      coerce: int
      default: 0
    order_by:
      type: list
      schema:
        type: order_by
        coerce: order_by
      nullable: true
  help: Show the list of on-demand scans

malware on-demand start:
  return_type: NullAgentResponse
  type: dict
  cli:
    users:
      - root
  schema:
    path:
      type: string
      required: true
      help: Path to scan

    file_mask:
      type: string
      nullable: true
      dependencies:
        scan_file: true

    ignore_mask:
      type: string
      nullable: true
      dependencies:
        scan_file: true

    intensity:
      type: string
      nullable: true
      allowed:
        - low
        - moderate
        - high

    intensity_cpu:
      type: integer
      coerce: int
      nullable: true
      min: 1
      max: 7

    intensity_io:
      type: integer
      coerce: int
      nullable: true
      min: 1
      max: 7

    intensity_ram:
      type: integer
      coerce: int
      nullable: true
      min: 1024

    follow_symlinks:
      type: boolean
      dependencies:
        scan_file: true

    scan_file:
      type: boolean
      default: true

    scan_db:
      type: boolean
      default: null
      coerce: scan_db

  help: Start an on-demand scan

malware on-demand stop:
  return_type: NullAgentResponse
  cli:
    users:
      - root
  schema:
    all:
      type: boolean
      default: false
      help: Stop all the scans
  help: Stop the last on-demand scan

malware on-demand status:
  return_type: OnDemandScanStatusAgentResponse
  cli:
    users:
      - root
  help: Show the status of the running on-demand scan

malware on-demand check-detached:
  return_type: NullAgentResponse
  cli:
    users:
      - root
    require_rpc: stopped
  help: Check for failed on-demand scans

./BlackJoker Mini Shell 1.0