Chaitin Tech system/avscan/modify API

系统配置/杀毒扫描/修改

OpenAPI Specification

chaitin-system-avscan-modify-api-openapi.yml Raw ↑
openapi: 3.0.3
info:
  title: APISec Management account system/avscan/modify API
  version: '26.05'
  description: Generated from APISec skyview APIView classes.
tags:
- name: system/avscan/modify
  description: 系统配置/杀毒扫描/修改
paths:
  /system/avscan/modify:
    post:
      summary: 模块配置修改
      deprecated: false
      description: ''
      tags:
      - system/avscan/modify
      parameters:
      - name: X-CS-Header-App
        in: header
        description: 应用id
        required: true
        example: '{{app}}'
        schema:
          type: string
      - name: X-CS-Header-Company
        in: header
        description: 公司id
        required: true
        example: '{{company_id}}'
        schema:
          type: string
      - name: X-CS-Header-Crypt
        in: header
        description: 加密算法,请参考:https://servaltech.feishu.cn/docs/doccnQCZ2cw32uazgNSO0DFwceb
        required: true
        example: ''
        schema:
          type: string
      - name: If-None-Match
        in: header
        description: 对于支持「ETAG」的接口,将上一次请求的响应header的Etag,填入到下一次请求。若匹配,则返回304(无变更),否则会返回新版本的数据 + 新Etag
        required: true
        example: string
        schema:
          type: string
      - name: X-CS-Header-Debug
        in: header
        description: ''
        required: true
        example: '{{debug}}'
        schema:
          type: string
      - name: Accept-Language
        in: header
        description: ''
        required: true
        example: zh
        schema:
          type: string
      - name: X-Cs-Header-Timezone
        in: header
        description: ''
        required: true
        example: Asia/Shanghai
        schema:
          type: string
      - name: Content-Type
        in: header
        description: ''
        required: true
        example: application/json
        schema:
          type: string
      - name: Accept
        in: header
        description: ''
        required: true
        example: application/json
        schema:
          type: string
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                pack:
                  type: object
                  properties:
                    macOS:
                      type: object
                      properties:
                        lib_md5:
                          type: string
                        engine_url:
                          type: string
                        lib_url:
                          type: string
                        engine_md5:
                          type: string
                      required:
                      - lib_md5
                      - engine_url
                      - lib_url
                      - engine_md5
                    UOS:
                      type: object
                      properties:
                        lib_md5:
                          type: string
                        engine_url:
                          type: string
                        lib_url:
                          type: string
                        engine_md5:
                          type: string
                      required:
                      - lib_md5
                      - engine_url
                      - lib_url
                      - engine_md5
                    Windows:
                      type: object
                      properties:
                        lib_md5:
                          type: string
                        engine_url:
                          type: string
                        lib_url:
                          type: string
                        engine_md5:
                          type: string
                      required:
                      - lib_md5
                      - engine_url
                      - lib_url
                      - engine_md5
                    Kylin:
                      type: object
                      properties:
                        lib_md5:
                          type: string
                        engine_url:
                          type: string
                        lib_url:
                          type: string
                        engine_md5:
                          type: string
                      required:
                      - lib_md5
                      - engine_url
                      - lib_url
                      - engine_md5
                    update_time:
                      type: string
                    Linux:
                      type: object
                      properties:
                        lib_md5:
                          type: string
                        engine_url:
                          type: string
                        lib_url:
                          type: string
                        engine_md5:
                          type: string
                      required:
                      - lib_md5
                      - engine_url
                      - lib_url
                      - engine_md5
                  required:
                  - macOS
                  - UOS
                  - Windows
                  - Kylin
                  - update_time
                  - Linux
              required:
              - pack
            example:
              pack:
                macOS:
                  lib_md5: aaa
                  engine_url: vvv
                  lib_url: ccc
                  engine_md5: ddd
                UOS:
                  lib_md5: ''
                  engine_url: ''
                  lib_url: ''
                  engine_md5: ''
                Windows:
                  lib_md5: ''
                  engine_url: ''
                  lib_url: ''
                  engine_md5: ''
                Kylin:
                  lib_md5: ''
                  engine_url: ''
                  lib_url: ''
                  engine_md5: ''
                update_time: '2024-08-24T15:01:57Z'
                Linux:
                  lib_md5: ''
                  engine_url: ''
                  lib_url: ''
                  engine_md5: ''
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                type: object
                properties:
                  code:
                    type: integer
                  msg:
                    type: string
                  data:
                    type: object
                    properties:
                      uid:
                        type: string
                      company_id:
                        type: string
                      name:
                        type: string
                      display_name:
                        type: string
                      description:
                        type: string
                      create_time:
                        type: string
                      update_time:
                        type: string
                      config:
                        type: object
                        properties:
                          enable_slow_mode:
                            type: boolean
                          enable_quick_mode:
                            type: boolean
                          pack:
                            type: object
                            properties:
                              macOS:
                                type: object
                                properties:
                                  lib_md5:
                                    type: string
                                  engine_url:
                                    type: string
                                  lib_url:
                                    type: string
                                  engine_md5:
                                    type: string
                                required:
                                - lib_md5
                                - engine_url
                                - lib_url
                                - engine_md5
                              UOS:
                                type: object
                                properties:
                                  lib_md5:
                                    type: string
                                  engine_url:
                                    type: string
                                  lib_url:
                                    type: string
                                  engine_md5:
                                    type: string
                                required:
                                - lib_md5
                                - engine_url
                                - lib_url
                                - engine_md5
                              Windows:
                                type: object
                                properties:
                                  lib_md5:
                                    type: string
                                  engine_url:
                                    type: string
                                  lib_url:
                                    type: string
                                  engine_md5:
                                    type: string
                                required:
                                - lib_md5
                                - engine_url
                                - lib_url
                                - engine_md5
                              Kylin:
                                type: object
                                properties:
                                  lib_md5:
                                    type: string
                                  engine_url:
                                    type: string
                                  lib_url:
                                    type: string
                                  engine_md5:
                                    type: string
                                required:
                                - lib_md5
                                - engine_url
                                - lib_url
                                - engine_md5
                              update_time:
                                type: string
                              Linux:
                                type: object
                                properties:
                                  lib_md5:
                                    type: string
                                  engine_url:
                                    type: string
                                  lib_url:
                                    type: string
                                  engine_md5:
                                    type: string
                                required:
                                - lib_md5
                                - engine_url
                                - lib_url
                                - engine_md5
                            required:
                            - macOS
                            - UOS
                            - Windows
                            - Kylin
                            - update_time
                            - Linux
                        required:
                        - enable_slow_mode
                        - enable_quick_mode
                        - pack
                      _old_data:
                        type: object
                        properties:
                          id:
                            type: integer
                          uid:
                            type: string
                          is_deleted:
                            type: boolean
                          create_time:
                            type: string
                          update_time:
                            type: string
                          company_id:
                            type: string
                          update_by_id:
                            type: 'null'
                          create_by_id:
                            type: 'null'
                          name:
                            type: string
                          display_name:
                            type: string
                          category:
                            type: string
                          description:
                            type: string
                          config:
                            type: object
                            properties:
                              pack:
                                type: object
                                properties:
                                  UOS:
                                    type: object
                                    properties:
                                      lib_md5:
                                        type: string
                                      lib_url:
                                        type: string
                                      engine_md5:
                                        type: string
                                      engine_url:
                                        type: string
                                    required:
                                    - lib_md5
                                    - lib_url
                                    - engine_md5
                                    - engine_url
                                  Kylin:
                                    type: object
                                    properties:
                                      lib_md5:
                                        type: string
                                      lib_url:
                                        type: string
                                      engine_md5:
                                        type: string
                                      engine_url:
                                        type: string
                                    required:
                                    - lib_md5
                                    - lib_url
                                    - engine_md5
                                    - engine_url
                                  Linux:
                                    type: object
                                    properties:
                                      lib_md5:
                                        type: string
                                      lib_url:
                                        type: string
                                      engine_md5:
                                        type: string
                                      engine_url:
                                        type: string
                                    required:
                                    - lib_md5
                                    - lib_url
                                    - engine_md5
                                    - engine_url
                                  macOS:
                                    type: object
                                    properties:
                                      lib_md5:
                                        type: string
                                      lib_url:
                                        type: string
                                      engine_md5:
                                        type: string
                                      engine_url:
                                        type: string
                                    required:
                                    - lib_md5
                                    - lib_url
                                    - engine_md5
                                    - engine_url
                                  Windows:
                                    type: object
                                    properties:
                                      lib_md5:
                                        type: string
                                      lib_url:
                                        type: string
                                      engine_md5:
                                        type: string
                                      engine_url:
                                        type: string
                                    required:
                                    - lib_md5
                                    - lib_url
                                    - engine_md5
                                    - engine_url
                                  update_time:
                                    type: string
                                required:
                                - UOS
                                - Kylin
                                - Linux
                                - macOS
                                - Windows
                                - update_time
                              enable_slow_mode:
                                type: boolean
                              enable_quick_mode:
                                type: boolean
                            required:
                            - pack
                            - enable_slow_mode
                            - enable_quick_mode
                        required:
                        - id
                        - uid
                        - is_deleted
                        - create_time
                        - update_time
                        - company_id
                        - update_by_id
                        - create_by_id
                        - name
                        - display_name
                        - category
                        - description
                        - config
                      _new_data:
                        type: object
                        properties:
                          id:
                            type: integer
                          uid:
                            type: string
                          is_deleted:
                            type: boolean
                          create_time:
                            type: string
                          update_time:
                            type: string
                          company_id:
                            type: string
                          update_by_id:
                            type: 'null'
                          create_by_id:
                            type: 'null'
                          name:
                            type: string
                          display_name:
                            type: string
                          category:
                            type: string
                          description:
                            type: string
                          config:
                            type: object
                            properties:
                              enable_slow_mode:
                                type: boolean
                              enable_quick_mode:
                                type: boolean
                              pack:
                                type: object
                                properties:
                                  macOS:
                                    type: object
                                    properties:
                                      lib_md5:
                                        type: string
                                      engine_url:
                                        type: string
                                      lib_url:
                                        type: string
                                      engine_md5:
                                        type: string
                                    required:
                                    - lib_md5
                                    - engine_url
                                    - lib_url
                                    - engine_md5
                                  UOS:
                                    type: object
                                    properties:
                                      lib_md5:
                                        type: string
                                      engine_url:
                                        type: string
                                      lib_url:
                                        type: string
                                      engine_md5:
                                        type: string
                                    required:
                                    - lib_md5
                                    - engine_url
                                    - lib_url
                                    - engine_md5
                                  Windows:
                                    type: object
                                    properties:
                                      lib_md5:
                                        type: string
                                      engine_url:
                                        type: string
                                      lib_url:
                                        type: string
                                      engine_md5:
                                        type: string
                                    required:
                                    - lib_md5
                                    - engine_url
                                    - lib_url
                                    - engine_md5
                                  Kylin:
                                    type: object
                                    properties:
                                      lib_md5:
                                        type: string
                                      engine_url:
                                        type: string
                                      lib_url:
                                        type: string
                                      engine_md5:
                                        type: string
                                    required:
                                    - lib_md5
                                    - engine_url
                                    - lib_url
                                    - engine_md5
                                  update_time:
                                    type: string
                                  Linux:
                                    type: object
                                    properties:
                                      lib_md5:
                                        type: string
                                      engine_url:
                                        type: string
                                      lib_url:
                                        type: string
                                      engine_md5:
                                        type: string
                                    required:
                                    - lib_md5
                                    - engine_url
                                    - lib_url
                                    - engine_md5
                                required:
                                - macOS
                                - UOS
                                - Windows
                                - Kylin
                                - update_time
                                - Linux
                            required:
                            - enable_slow_mode
                            - enable_quick_mode
                            - pack
                        required:
                        - id
                        - uid
                        - is_deleted
                        - create_time
                        - update_time
                        - company_id
                        - update_by_id
                        - create_by_id
                        - name
                        - display_name
                        - category
                        - description
                        - config
                    required:
                    - uid
                    - company_id
                    - name
                    - display_name
                    - description
                    - create_time
                    - update_time
                    - config
                    - _old_data
                    - _new_data
                required:
                - code
                - msg
                - data
              example:
                code: 0
                msg: 正常
                data:
                  uid: 77453eed-45a4-4f27-8a04-b7d36f47680e
                  company_id: eeff7c64-5070-4582-8b93-fbcc57db7771
                  name: av_scan
                  display_name: 病毒防护
                  description: 病毒防护
                  create_time: '2024-05-15T02:40:04.083272Z'
                  update_time: '2024-08-24T07:05:19.331934Z'
                  config:
                    enable_slow_mode: true
                    enable_quick_mode: true
                    pack:
                      macOS:
                        lib_md5: ''
                        engine_url: ''
                        lib_url: ''
                        engine_md5: ''
                      UOS:
                        lib_md5: ''
                        engine_url: ''
                        lib_url: ''
                        engine_md5: ''
                      Windows:
                        lib_md5: ''
                        engine_url: ''
                        lib_url: ''
                        engine_md5: ''
                      Kylin:
                        lib_md5: ''
                        engine_url: ''
                        lib_url: ''
                        engine_md5: ''
                      update_time: '2024-08-24T15:01:57Z'
                      Linux:
                        lib_md5: ''
                        engine_url: ''
                        lib_url: ''
                        engine_md5: ''
                  _old_data:
                    id: 29
                    uid: 77453eed-45a4-4f27-8a04-b7d36f47680e
                    is_deleted: false
                    create_time: '2024-05-15T02:40:04.083272Z'
                    update_time: '2024-08-24T07:02:21.816181Z'
                    company_id: eeff7c64-5070-4582-8b93-fbcc57db7771
                    update_by_id: null
                    create_by_id: null
                    name: av_scan
                    display_name: 病毒防护
                    category: general
                    description: 病毒防护
                    config:
                      pack:
                        UOS:
                          lib_md5: ''
                          lib_url: ''
                          engine_md5: ''
                          engine_url: ''
                        Kylin:
                          lib_md5: ''
                          lib_url: ''
                          engine_md5: ''
                          engine_url: ''
                        Linux:
                          lib_md5: ''
                          lib_url: ''
                          engine_md5: ''
                          engine_url: ''
                        macOS:
                          lib_md5: ''
                          lib_url: ''
                          engine_md5: ''
                          engine_url: ''
                        Windows:
                          lib_md5: ''
                          lib_url: ''
                          engine_md5: ''
                          engine_url: ''
                        update_time: '2024-08-24T07:01:57Z'
                      enable_slow_mode: true
                      enable_quick_mode: true
                  _new_data:
                    id: 29
                    uid: 77453eed-45a4-4f27-8a04-b7d36f47680e
                    is_deleted: false
                    create_time: '2024-05-15T02:40:04.083272Z'
                    update_time: '2024-08-24T07:05:19.331934Z'
                    company_id: eeff7c64-5070-4582-8b93-fbcc57db7771
                    update_by_id: null
                    create_by_id: null
                    name: av_scan
                    display_name: 病毒防护
                    category: general
                    description: 病毒防护
                    config:
                      enable_slow_mode: true
                      enable_quick_mode: true
                      pack:
                        macOS:
                          lib_md5: ''
                          engine_url: ''
                          lib_url: ''
                          engine_md5: ''
                        UOS:
                          lib_md5: ''
                          engine_url: ''
                          lib_url: ''
                          engine_md5: ''
                        Windows:
                          lib_md5: ''
                          engine_url: ''
                          lib_url: ''
                          engine_md5: ''
                        Kylin:
                          lib_md5: ''
                          engine_url: ''
                          lib_url: ''
                          engine_md5: ''
                        update_time: '2024-08-24T15:01:57Z'
                        Linux:
                          lib_md5: ''
                          engine_url: ''
                          lib_url: ''
                          engine_md5: ''
      security: []