Chaitin Tech system/macosauthconfig/retrieve API

系统配置/macOS 认证配置/获取

OpenAPI Specification

chaitin-system-macosauthconfig-retrieve-api-openapi.yml Raw ↑
openapi: 3.0.3
info:
  title: APISec Management account system/macosauthconfig/retrieve API
  version: '26.05'
  description: Generated from APISec skyview APIView classes.
tags:
- name: system/macosauthconfig/retrieve
  description: 系统配置/macOS 认证配置/获取
paths:
  /system/macosauthconfig/retrieve:
    post:
      summary: 终端配置查询 - macOS授权
      deprecated: false
      description: ''
      tags:
      - system/macosauthconfig/retrieve
      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: Accept
        in: header
        description: ''
        required: true
        example: application/json
        schema:
          type: string
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                type: object
                properties:
                  code:
                    type: integer
                  msg:
                    type: string
                  data:
                    type: object
                    properties:
                      auth_check_options:
                        type: object
                        properties:
                          network_extension_stay:
                            type: string
                          screenshot_noauth_mode:
                            type: string
                          network_extension_mode:
                            type: string
                          network_extension_mode__scope:
                            type: object
                            properties:
                              binding_config:
                                type: object
                                properties: {}
                              scope:
                                type: string
                            required:
                            - binding_config
                            - scope
                          screenshot_noauth_mode__scope:
                            type: object
                            properties:
                              binding_config:
                                type: object
                                properties:
                                  exclude:
                                    type: object
                                    properties:
                                      devices:
                                        type: array
                                        items:
                                          type: object
                                          properties:
                                            uid:
                                              type: string
                                            name:
                                              type: string
                                            code:
                                              type: string
                                          required:
                                          - uid
                                          - name
                                          - code
                                    required:
                                    - devices
                                  include:
                                    type: object
                                    properties:
                                      devices:
                                        type: array
                                        items:
                                          type: object
                                          properties:
                                            uid:
                                              type: string
                                            name:
                                              type: string
                                            code:
                                              type: string
                                          required:
                                          - uid
                                          - name
                                          - code
                                    required:
                                    - devices
                                required:
                                - exclude
                                - include
                              scope:
                                type: string
                            required:
                            - binding_config
                            - scope
                          full_disk_access_mode:
                            type: string
                        required:
                        - network_extension_stay
                        - screenshot_noauth_mode
                        - network_extension_mode
                        - network_extension_mode__scope
                        - screenshot_noauth_mode__scope
                        - full_disk_access_mode
                      freq_noauth_alert:
                        type: integer
                      freq_noauth_alert_measure:
                        type: string
                      screenshot_noauth_check:
                        type: boolean
                      guide_info:
                        type: object
                        properties:
                          auth_guide:
                            type: object
                            properties:
                              en:
                                type: string
                              zh-cn:
                                type: string
                              zh-hant:
                                type: string
                            required:
                            - en
                            - zh-cn
                            - zh-hant
                          uninstall_guide:
                            type: object
                            properties:
                              en:
                                type: string
                              zh-cn:
                                type: string
                              zh-hant:
                                type: string
                            required:
                            - en
                            - zh-cn
                            - zh-hant
                        required:
                        - auth_guide
                        - uninstall_guide
                      noauth_alert_max_count:
                        type: integer
                      network_extension_check:
                        type: boolean
                      full_disk_access:
                        type: boolean
                      notification_config:
                        type: array
                        items:
                          type: object
                          properties:
                            notification_bot_template_id:
                              type: string
                            notification_bot:
                              type: object
                              properties:
                                uid:
                                  type: string
                                name:
                                  type: string
                                category:
                                  type: string
                                config:
                                  type: object
                                  properties:
                                    im_notification:
                                      type: object
                                      properties:
                                        webhook:
                                          type: string
                                      required:
                                      - webhook
                                  required:
                                  - im_notification
                              required:
                              - uid
                              - name
                              - category
                              - config
                            notification_content_template:
                              type: object
                              properties:
                                uid:
                                  type: string
                                name:
                                  type: string
                                template_model:
                                  type: string
                                template_value:
                                  type: string
                              required:
                              - uid
                              - name
                              - template_model
                              - template_value
                            is_remind:
                              type: boolean
                            email_to_list:
                              type: array
                              items: {}
                    required:
                    - auth_check_options
                    - freq_noauth_alert
                    - freq_noauth_alert_measure
                    - screenshot_noauth_check
                    - guide_info
                    - noauth_alert_max_count
                    - network_extension_check
                    - full_disk_access
                    - notification_config
                required:
                - code
                - msg
                - data
              example:
                code: 0
                msg: 正常
                data:
                  auth_check_options:
                    network_extension_stay: 'off'
                    screenshot_noauth_mode: partial
                    network_extension_mode: 'on'
                    network_extension_mode__scope:
                      binding_config: {}
                      scope: global
                    screenshot_noauth_mode__scope:
                      binding_config:
                        exclude:
                          devices:
                          - uid: 7b45e606-c7b4-40a2-a08e-4aa9fb0ddcf1
                            name: DNAME2119dc35896c7863
                            code: PC-000006
                          - uid: 676b7ae5-81b1-4cc3-80d2-3fbaffaf56d1
                            name: DNAME9a67d4d2f718b69e
                            code: PC-000005
                        include:
                          devices:
                          - uid: 1c16c892-242c-467c-add4-8ab0f00f26e9
                            name: DNAMEad1ee8a92d1c7eae
                            code: PC-000003
                          - uid: d1247921-d4fd-4f6c-9f62-504684f8f288
                            name: DNAME89c81639591b3814
                            code: PC-000002
                      scope: common
                    full_disk_access_mode: 'on'
                  freq_noauth_alert: 30
                  freq_noauth_alert_measure: sec
                  screenshot_noauth_check: true
                  guide_info:
                    auth_guide:
                      en: For any issues, please contact the IT.
                      zh-cn: 遇到问题,请联系IT人员。
                      zh-hant: 遇到問題,請聯繫IT人員。
                    uninstall_guide:
                      en: Before uninstalling, you must enter the login password to ensure complete uninstallation.
                      zh-cn: 卸载前需输入系统登录账户的密码,保证完整卸载。
                      zh-hant: 卸載前需輸入係統登録賬戶的密碼,保証完整卸載。
                  noauth_alert_max_count: 1
                  network_extension_check: true
                  full_disk_access: true
                  notification_config:
                  - notification_bot_template_id: 388f8188-2002-4b3e-b42a-36a2dcbe9705
                    notification_bot:
                      uid: 11171f87-0140-446d-88b1-6918726f91c8
                      name: fanhua
                      category: feishu
                      config:
                        im_notification:
                          webhook: https://open.feishu.cn/open-apis/bot/v2/hook/f5f4a6b6-c3f5-4758-9109-5522bb6d39e3
                    notification_content_template:
                      uid: 66a67031-d872-48e5-8ee1-9e9e6669fe18
                      name: 示例-macOS未授权通知
                      template_model: macos_auth
                      template_value: macOS未授权通知:系统于{{timestamp}},发现macOS设备:{{device_code}} 触达未授权提醒次数上限,无法对该设备完成数据保护,点击 {{address}} 查看设备详情。
                    is_remind: false
                    email_to_list: []
      security: []