PHP 8.2.31
Preview: config.yaml Size: 3.79 KB
/opt/imunify360/venv/lib64/python3.11/site-packages/defence360agent/simple_rpc/schema/config.yaml

config update:
  return_type: ConfigAgentResponse
  help: |
    (internal) Update Imunify configuration (`/etc/sysconfig/imunify360/imunify360.config.d/90-local.config`).
  # FIXME: cli section required for UI tests
  cli:
    users:
      - root
  type: dict
  schema:
    # workaround for https://cloudlinux.atlassian.net/browse/DEF-3902
    # TODO: remove items, make data not nullable
    items:
      type: list
      schema:
        type: string
      help: (internal)
    data:
      type: string
      nullable: true
      positional: true
      help: |
        Config options to update, as a JSON-encoded string.
        Note: it doesn't have to be a full config, only the options that need to be updated.
        Example: `{"MALWARE_SCAN": {"enabled": true}}`
    user:
      type: string
      nullable: true
      help: |
        Admins can specify a user to update the config for.
        If not specified, and executed by admin, the config will be updated for root.
        If not specified, and executed by user, the config will be updated for that user.

config patch:
  return_type: ConfigAgentResponse
  help: |
    Update Imunify configuration (`/etc/sysconfig/imunify360/imunify360.config.d/90-local.config`).
  # FIXME: cli section required for UI tests
  cli:
    users:
      - root
  type: dict
  schema:
    data:
      type: dict
      nullable: true
      help: |
        Config options to update.
        Note: it doesn't have to be a full config, only the options that need to be updated.
        Example: `{"MALWARE_SCAN": {"enabled": true}}`
    user:
      type: string
      nullable: true
      help: |
        Admins can specify a user to update the config for.
        If not specified, and executed by admin, the config will be updated for root.
        If not specified, and executed by user, the config will be updated for that user.

config patch-many:
  help: |
    Update Imunify configuration for multiple users.
  cli:
    users:
      - root
  type: dict
  schema:
    data:
      type: dict
      nullable: true
      help: |
        Config options to update.
        Note: it doesn't have to be a full config, only the options that need to be updated.
        Example: `{"MALWARE_SCAN": {"enabled": true}}`
    users:
      type: list
      schema:
        type: string
      nullable: false
      help: |
        List of users to update the config for.
        Example: `["user1", "user2", "root"]`

config get-many:
  return_type: ConfigAgentResponse
  help: |
    Get Imunify configuration for multiple users.
  cli:
    users:
      - root
  type: dict
  schema:
    users:
      type: list
      schema:
        type: string
      nullable: false
      help: |
        List of users to get the config for.
        Example: `"user1", "user2", "root"`

config show:
  return_type: ConfigAgentResponse
  help: |
    Get Imunify configuration.
    This is the result of merging all config files in `/etc/sysconfig/imunify360/imunify360.config.d/` directory.
  cli:
    users:
      - root
  type: dict
  schema:
    user:
      type: string
      nullable: true
      help: |
        Admins can specify whose config to get.
        If not specified, and executed by admin, returns the root config.
        If not specified, and executed by user, returns the config of that user.

config show defaults:
  help: |
    Get details on how the config is merged:
      - `mutable_config` - all files in `/etc/sysconfig/imunify360/imunify360.config.d/` directory before `90-local.config`. They can be overridden via API.
      - `local_config` - `/etc/sysconfig/imunify360/imunify360.config.d/90-local.config`, controlled by API.
      - `immutable_config` - all files in `/etc/sysconfig/imunify360/imunify360.config.d/` directory after `90-local.config`. They cannot be overridden via API.
  cli:
    users:
      - root
  type: dict

Directory Contents

Dirs: 0 × Files: 48

Name Size Perms Modified Actions
154 B lrw-r--r-- 2026-05-26 21:25:11
Edit Download
135 B lrw-r--r-- 2026-05-26 21:20:44
Edit Download
1.00 KB lrw-r--r-- 2026-05-26 21:25:11
Edit Download
1.07 KB lrw-r--r-- 2026-05-26 21:20:44
Edit Download
241 B lrw-r--r-- 2026-05-26 21:25:11
Edit Download
221 B lrw-r--r-- 2026-05-26 21:20:44
Edit Download
586 B lrw-r--r-- 2026-05-26 21:25:11
Edit Download
631 B lrw-r--r-- 2026-05-26 21:20:44
Edit Download
189 B lrw-r--r-- 2026-05-26 21:25:11
Edit Download
191 B lrw-r--r-- 2026-05-26 21:20:44
Edit Download
3.26 KB lrw-r--r-- 2026-05-26 21:25:11
Edit Download
3.79 KB lrw-r--r-- 2026-05-26 21:20:44
Edit Download
133 B lrw-r--r-- 2026-05-26 21:25:11
Edit Download
118 B lrw-r--r-- 2026-05-26 21:20:44
Edit Download
99 B lrw-r--r-- 2026-05-26 21:25:11
Edit Download
82 B lrw-r--r-- 2026-05-26 21:20:44
Edit Download
177 B lrw-r--r-- 2026-05-26 21:25:11
Edit Download
157 B lrw-r--r-- 2026-05-26 21:20:44
Edit Download
292 B lrw-r--r-- 2026-05-26 21:25:11
Edit Download
311 B lrw-r--r-- 2026-05-26 21:20:44
Edit Download
128 B lrw-r--r-- 2026-05-26 21:25:11
Edit Download
109 B lrw-r--r-- 2026-05-26 21:20:44
Edit Download
438 B lrw-r--r-- 2026-05-26 21:25:11
Edit Download
439 B lrw-r--r-- 2026-05-26 21:20:44
Edit Download
579 B lrw-r--r-- 2026-05-26 21:25:11
Edit Download
623 B lrw-r--r-- 2026-05-26 21:20:44
Edit Download
818 B lrw-r--r-- 2026-05-26 21:25:11
Edit Download
828 B lrw-r--r-- 2026-05-26 21:20:44
Edit Download
844 B lrw-r--r-- 2026-05-26 21:25:11
Edit Download
895 B lrw-r--r-- 2026-05-26 21:20:44
Edit Download
546 B lrw-r--r-- 2026-05-26 21:25:11
Edit Download
588 B lrw-r--r-- 2026-05-26 21:20:44
Edit Download
137 B lrw-r--r-- 2026-05-26 21:25:11
Edit Download
119 B lrw-r--r-- 2026-05-26 21:20:44
Edit Download
150 B lrw-r--r-- 2026-05-26 21:25:11
Edit Download
142 B lrw-r--r-- 2026-05-26 21:20:44
Edit Download
111 B lrw-r--r-- 2026-05-26 21:25:11
Edit Download
96 B lrw-r--r-- 2026-05-26 21:20:44
Edit Download
672 B lrw-r--r-- 2026-05-26 21:25:11
Edit Download
700 B lrw-r--r-- 2026-05-26 21:20:44
Edit Download
447 B lrw-r--r-- 2026-05-26 21:25:11
Edit Download
515 B lrw-r--r-- 2026-05-26 21:20:44
Edit Download
163 B lrw-r--r-- 2026-05-26 21:25:11
Edit Download
144 B lrw-r--r-- 2026-05-26 21:20:44
Edit Download
2.63 KB lrw-r--r-- 2026-05-26 21:25:11
Edit Download
2.93 KB lrw-r--r-- 2026-05-26 21:20:44
Edit Download
1.50 KB lrw-r--r-- 2026-05-26 21:25:11
Edit Download
1.62 KB lrw-r--r-- 2026-05-26 21:20:44
Edit Download

If ZipArchive is unavailable, a .tar will be created (no compression).