Chaitin Tech policylog/browserplugin/{log_id}/detail API

日志中心/浏览器插件/log_id 参数/详情

OpenAPI Specification

chaitin-policylog-browserplugin-log-id-detail-api-openapi.yml Raw ↑
openapi: 3.0.3
info:
  title: APISec Management account policylog/browserplugin/{log_id}/detail API
  version: '26.05'
  description: Generated from APISec skyview APIView classes.
tags:
- name: policylog/browserplugin/{log_id}/detail
  description: 日志中心/浏览器插件/log_id 参数/详情
paths:
  /policylog/browserplugin/{log_id}/detail:
    post:
      summary: 浏览器插件日志详情
      deprecated: false
      description: ''
      tags:
      - policylog/browserplugin/{log_id}/detail
      parameters:
      - name: log_id
        in: path
        description: ''
        required: true
        example: EcBQt5UBZcl0n2phMZkA
        schema:
          type: string
      - 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:
                      uid:
                        type: string
                      plugin_desc:
                        type: string
                      browser_plugin_policies:
                        type: array
                        items:
                          type: array
                          items:
                            type: object
                            properties:
                              policy_name:
                                type: string
                              policy_id:
                                type: string
                              action:
                                type: string
                      publisher:
                        type: string
                      device_code:
                        type: string
                      plugin_status:
                        type: string
                      browser_name:
                        type: string
                      ip_address:
                        type: string
                      hostname:
                        type: string
                      install_path:
                        type: string
                      os_name:
                        type: string
                      agent_version:
                        type: string
                      plugin_source:
                        type: string
                      action:
                        type: string
                      time:
                        type: integer
                      bundle_id:
                        type: string
                      plugin_name:
                        type: string
                      process_name:
                        type: string
                      is_blocked:
                        type: boolean
                      plugin_version:
                        type: string
                      browser_desc:
                        type: string
                      console_user:
                        type: string
                      is_default:
                        type: boolean
                      plugin_id:
                        type: string
                      device_id:
                        type: string
                      mac:
                        type: string
                      company_id:
                        type: string
                      event_id:
                        type: string
                      os_friendly_name:
                        type: string
                      status:
                        type: string
                      '@timestamp':
                        type: integer
                      timestamp:
                        type: string
                      created_timestamp:
                        type: string
                      permission:
                        type: array
                        items:
                          type: object
                          properties:
                            name:
                              type: string
                            is_sensitive:
                              type: boolean
                          required:
                          - name
                          - is_sensitive
                      staff_id:
                        type: string
                      staff_name:
                        type: string
                      staff_email:
                        type: string
                      staff_code:
                        type: string
                      staff_number:
                        type: string
                      staff_tag_ids:
                        type: array
                        items: {}
                      staff_tags:
                        type: array
                        items: {}
                      dept_ids:
                        type: array
                        items:
                          type: string
                      dept_names:
                        type: array
                        items:
                          type: string
                      dept_paths:
                        type: array
                        items:
                          type: string
                      display_name:
                        type: string
                      category:
                        type: string
                      action_display_name:
                        type: string
                    required:
                    - uid
                    - plugin_desc
                    - browser_plugin_policies
                    - publisher
                    - device_code
                    - plugin_status
                    - browser_name
                    - ip_address
                    - hostname
                    - install_path
                    - os_name
                    - agent_version
                    - plugin_source
                    - action
                    - time
                    - bundle_id
                    - plugin_name
                    - process_name
                    - is_blocked
                    - plugin_version
                    - browser_desc
                    - console_user
                    - is_default
                    - plugin_id
                    - device_id
                    - mac
                    - company_id
                    - event_id
                    - os_friendly_name
                    - status
                    - '@timestamp'
                    - timestamp
                    - created_timestamp
                    - permission
                    - staff_id
                    - staff_name
                    - staff_email
                    - staff_code
                    - staff_number
                    - staff_tag_ids
                    - staff_tags
                    - dept_ids
                    - dept_names
                    - dept_paths
                    - display_name
                    - category
                    - action_display_name
                required:
                - code
                - msg
                - data
              example:
                code: 0
                msg: 正常
                data:
                  uid: EcBQt5UBZcl0n2phMZkA
                  plugin_desc: plugin desc
                  browser_plugin_policies:
                  - - policy_name: huQQ音乐
                      policy_id: b1c3b4f1-865d-4e54-9188-0d804cd9d8b0
                      action: block
                  publisher: Microsoft Corporation
                  device_code: PC-000041
                  plugin_status: activate
                  browser_name: Microsoft Edge
                  ip_address: 192.168.96.168
                  hostname: ''
                  install_path: c:\program files (x86)\microsoft\edge\application
                  os_name: Windows
                  agent_version: 1.6.26
                  plugin_source: external
                  action: block
                  time: 1742536928882
                  bundle_id: aaa
                  plugin_name: plugin1
                  process_name: msedge.exe
                  is_blocked: true
                  plugin_version: plugin version
                  browser_desc: browser_desc
                  console_user: happy@DESKTOP-3QQ22QN
                  is_default: true
                  plugin_id: plugin1 id
                  device_id: b6b80bb2-d8b3-4d04-acd4-490ed606421d
                  mac: ''
                  company_id: eeff7c64-5070-4582-8b93-fbcc57db7771
                  event_id: 6CF02629-B4B8-4838-8E39-7B38C093D0DB
                  os_friendly_name: Windows 10 Professional (10.0.19045)
                  status: created
                  '@timestamp': 1742536928882
                  timestamp: '2025-03-21T14:02:08+08:00'
                  created_timestamp: '2025-03-21T14:07:13+08:00'
                  permission:
                  - name: clipboardRead
                    is_sensitive: true
                  - name: audio
                    is_sensitive: false
                  staff_id: 9c830d69-fe2f-4a75-b17d-94dfa9dda958
                  staff_name: hyj
                  staff_email: 2196900073@qq.com
                  staff_code: 80e9854fdd406dc0
                  staff_number: 5a8bbec2c949dfd2
                  staff_tag_ids: []
                  staff_tags: []
                  dept_ids:
                  - 5073b0bd-d80b-450f-ac72-22ffc074f29f
                  dept_names:
                  - default
                  dept_paths:
                  - default
                  display_name: Edge
                  category: browser_plugin
                  action_display_name: 阻断运行
      security: []