MOON
Server: Apache
System: Linux server30c.hostingraja.org 3.10.0-962.3.2.lve1.5.63.el7.x86_64 #1 SMP Fri Oct 8 12:03:35 UTC 2021 x86_64
User: jibhires (1887)
PHP: 8.1.30
Disabled: show_source, system, shell_exec, passthru, exec, popen, proc_open, allow_url_fopen, symlink, escapeshellcmd, pcntl_exec
Upload Files
File: //opt/imunify360/venv/lib/python3.11/site-packages/im360/simple_rpc/schema/ignored-rules.yaml
rules disable:
  help: Add a new rule to the disabled rules list
  return_type: NullAgentResponse
  cli:
    users:
      - root
  type: dict
  schema:
    id:
      help: ID number of the rule provided by the firewall plugin.
      type: string
      required: true
    plugin:
      help: Firewall plugin name. Can be one of the following [modsec | ossec | lfd]
      type: string
      required: true
      allowed:
        - ossec
        - modsec
        - lfd
        - cphulk
    domains:
      help: List of domains to disable a rule for. Can only be used with modsec type.
      type: list
      schema:
        type: string
    name:
      help: Name of the added rule or details of the rule from ModSecurity or OSSEC.
      type: string
      required: true

rules enable:
  help: Remove a rule from the disabled rules list
  return_type: NullAgentResponse
  cli:
    users:
      - root
  type: dict
  schema:
    id:
      help: ID number of the rule provided by the firewall plugin.
      type: string
      required: true
    plugin:
      help: Firewall plugin name. Can be one of the following [modsec | ossec | lfd]
      type: string
      required: true
      allowed:
        - ossec
        - modsec
        - lfd
        - cphulk

rules list-disabled:
  help: Display the list of the disabled rules
  cli:
    users:
      - root
  type: dict
  return_type: BlockedRulesAgentResponse
  schema:
    limit:
      type: integer
      default: 100
    offset:
      type: integer
      default: 0
    order_by:
      type: list
      schema:
        type: order_by
        coerce: order_by
      nullable: true

rules update-app-specific-rules:
  help: Allows to update WAF ruleset configurator immediately (generally, executed by cron)
  cli:
    users:
      - root
    require_rpc: any