Chaitin Tech dataasset/list API

数据资产/列表

OpenAPI Specification

chaitin-dataasset-list-api-openapi.yml Raw ↑
openapi: 3.0.3
info:
  title: APISec Management account dataasset/list API
  version: '26.05'
  description: Generated from APISec skyview APIView classes.
tags:
- name: dataasset/list
  description: 数据资产/列表
paths:
  /dataasset/list:
    post:
      summary: 资产地图列表
      deprecated: false
      description: ''
      tags:
      - dataasset/list
      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:
                page:
                  type: integer
                limit:
                  type: integer
                filters:
                  type: object
                  properties:
                    bool:
                      type: object
                      properties:
                        should:
                          type: array
                          items:
                            type: object
                            properties:
                              match:
                                type: object
                                properties:
                                  md5_hash:
                                    type: string
                                required:
                                - md5_hash
                        minimum_should_match:
                          type: integer
                      required:
                      - should
                      - minimum_should_match
                  required:
                  - bool
              required:
              - page
              - limit
              - filters
            example:
              page: 1
              limit: 5
              filters:
                bool:
                  should:
                  - match:
                      md5_hash: e38fc56028b9e7958cf3b3e514f03d04
                  minimum_should_match: 1
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                type: object
                properties:
                  code:
                    type: integer
                  msg:
                    type: string
                  data:
                    type: object
                    properties:
                      index:
                        type: array
                        items:
                          type: string
                      page:
                        type: integer
                      limit:
                        type: integer
                      search_total:
                        type: integer
                      total:
                        type: integer
                      search_after:
                        type: array
                        items:
                          type: integer
                      results:
                        type: array
                        items:
                          type: object
                          properties:
                            meta_original:
                              type: array
                              items:
                                type: object
                                properties:
                                  process_name:
                                    type: string
                                required:
                                - process_name
                            device_code:
                              type: string
                            device_id:
                              type: string
                            staff_name:
                              type: string
                            hostname:
                              type: string
                            company_id:
                              type: string
                            audit_method:
                              type: string
                            status:
                              type: string
                            ip_address:
                              type: string
                            is_password_protected:
                              type: boolean
                            content_summary_list:
                              type: array
                              items: {}
                            is_hidden:
                              type: boolean
                            file_type_categories:
                              type: array
                              items:
                                type: string
                            os_name:
                              type: string
                            file_type:
                              type: string
                            filepath:
                              type: string
                            md5_hash:
                              type: string
                            mac:
                              type: string
                            filename:
                              type: string
                            is_compressed:
                              type: boolean
                            time:
                              type: integer
                            filesize:
                              type: integer
                            staff_code:
                              type: string
                            console_user:
                              type: string
                            staff_id:
                              type: string
                            os_friendly_name:
                              type: string
                            event_id:
                              type: string
                            file_updated_time:
                              type: integer
                            file_created_time:
                              type: integer
                            agent_version:
                              type: string
                            expand:
                              type: object
                              properties:
                                rule_version:
                                  type: object
                                  properties:
                                    cond_ticket:
                                      type: string
                                    cond_version:
                                      type: integer
                                    dc_ticket:
                                      type: string
                                    dc_version:
                                      type: integer
                                    filetype_version:
                                      type: integer
                                    policy_ticket:
                                      type: string
                                    policy_version:
                                      type: integer
                                  required:
                                  - cond_ticket
                                  - cond_version
                                  - dc_ticket
                                  - dc_version
                                  - filetype_version
                                  - policy_ticket
                                  - policy_version
                              required:
                              - rule_version
                            classifications:
                              type: array
                              items:
                                type: object
                                properties:
                                  uid:
                                    type: string
                                  name:
                                    type: string
                                  data_level:
                                    type: integer
                                  data_level_name:
                                    type: string
                                required:
                                - uid
                                - name
                                - data_level
                                - data_level_name
                            file_description:
                              type: string
                            metasource:
                              type: array
                              items:
                                type: object
                                properties:
                                  category:
                                    type: string
                                  original:
                                    type: object
                                    properties:
                                      process_name:
                                        type: string
                                    required:
                                    - process_name
                                  version:
                                    type: integer
                                  source:
                                    type: array
                                    items:
                                      type: object
                                      properties:
                                        display_name:
                                          type: string
                                        name:
                                          type: string
                                      required:
                                      - display_name
                                      - name
                                required:
                                - category
                                - original
                                - version
                                - source
                            file_suffix:
                              type: string
                            '@timestamp':
                              type: integer
                            timestamp:
                              type: string
                            created_timestamp:
                              type: string
                            file_created_timestamp:
                              type: string
                            file_updated_timestamp:
                              type: string
                            task_id:
                              type: string
                            task_instance_id:
                              type: string
                            scan_version:
                              type: integer
                            has_cls:
                              type: boolean
                            cl_ids:
                              type: array
                              items:
                                type: string
                            cl_names:
                              type: array
                              items:
                                type: string
                            data_levels:
                              type: array
                              items:
                                type: integer
                            data_level_names:
                              type: array
                              items:
                                type: string
                            cl_id:
                              type: string
                            cl_name:
                              type: string
                            data_level:
                              type: integer
                            data_level_name:
                              type: string
                            category:
                              type: string
                            staff_email:
                              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
                            task_name:
                              type: string
                            uid:
                              type: string
                            _type:
                              type: string
                            _index:
                              type: string
                            inner_hits:
                              type: array
                              items:
                                type: object
                                properties:
                                  meta_original:
                                    type: array
                                    items:
                                      type: object
                                      properties:
                                        process_name:
                                          type: string
                                      required:
                                      - process_name
                                  device_code:
                                    type: string
                                  device_id:
                                    type: string
                                  staff_name:
                                    type: string
                                  file_analyse:
                                    type: array
                                    items:
                                      type: object
                                      properties:
                                        md5_hash:
                                          type: string
                                        filename:
                                          type: string
                                        summary:
                                          type: string
                                        context_shot:
                                          type: array
                                          items:
                                            type: string
                                        header_footer:
                                          type: string
                                      required:
                                      - filename
                                      - summary
                                      - header_footer
                                      - md5_hash
                                      - context_shot
                                  hostname:
                                    type: string
                                  company_id:
                                    type: string
                                  audit_method:
                                    type: string
                                  status:
                                    type: string
                                  ip_address:
                                    type: string
                                  is_password_protected:
                                    type: boolean
                                  content_summary_list:
                                    type: array
                                    items: {}
                                  is_hidden:
                                    type: boolean
                                  file_type_categories:
                                    type: array
                                    items:
                                      type: string
                                  os_name:
                                    type: string
                                  file_type:
                                    type: string
                                  filepath:
                                    type: string
                                  md5_hash:
                                    type: string
                                  mac:
                                    type: string
                                  filename:
                                    type: string
                                  is_compressed:
                                    type: boolean
                                  time:
                                    type: integer
                                  filesize:
                                    type: integer
                                  staff_code:
                                    type: string
                                  console_user:
                                    type: string
                                  staff_id:
                                    type: string
                                  os_friendly_name:
                                    type: string
                                  event_id:
                                    type: string
                                  file_updated_time:
                                    type: integer
                                  file_created_time:
                                    type: integer
                                  agent_version:
                                    type: string
                                  expand:
                                    type: object
                                    properties:
                                      rule_version:
                                        type: object
                                        properties:
                                          cond_ticket:
                                            type: string
                                          cond_version:
                                            type: integer
                                          dc_ticket:
                                            type: string
                                          dc_version:
                                            type: integer
                                          filetype_version:
                                            type: integer
                                          policy_ticket:
                                            type: string
                                          policy_version:
                                            type: integer
                                        required:
                                        - cond_ticket
                                        - cond_version
                                        - dc_ticket
                                        - dc_version
                                        - filetype_version
                                        - policy_ticket
                                        - policy_version
                                      evidence_info:
                                        type: object
                                        properties:
                                          file:
                                            type: string
                                          screen_recording:
                                            type: 'null'
                                          screenshot:
                                            type: 'null'
                                        required:
                                        - file
                                        - screen_recording
                                        - screenshot
                                    required:
                                    - rule_version
                                  classifications:
                                    type: array
                                    items:
                                      type: object
                                      properties:
                                        data_level_name:
                                          type: string
                                        uid:
                                          type: string
                                        data_level:
                                          type: integer
                                        name:
                                          type: string
                                      required:
                                      - data_level_name
                                      - uid
                                      - data_level
                                      - name
                                  file_description:
                                    type: string
                                  metasource:
                                    type: array
                                    items:
                                      type: object
                                      properties:
                                        category:
                                          type: string
                                        original:
                                          type: object
                                          properties:
                                            process_name:
                                              type: string
                                          required:
                                          - process_name
                                        version:
                                          type: integer
                                        source:
                                          type: array
                                          items:
                                            type: object
                                            properties:
                                              display_name:
                                                type: string
                                              name:
                                                type: string
                                            required:
                                            - name
                                            - display_name
                                      required:
                                      - original
                                      - category
                                      - source
                                      - version
                                  file_suffix:
                                    type: string
                                  '@timestamp':
                                    type: integer
                                  timestamp:
                                    type: string
                                  created_timestamp:
                                    type: string
                                  file_created_timestamp:
                                    type: string
                                  file_updated_timestamp:
                                    type: string
                                  task_id:
                                    type: string
                                  task_instance_id:
                                    type: string
                                  scan_version:
                                    type: integer
                                  has_cls:
                                    type: boolean
                                  cl_ids:
                                    type: array
                                    items:
                                      type: string
                                  cl_names:
                                    type: array
                                    items:
                                      type: string
                                  data_levels:
                                    type: array
                                    items:
                                      type: integer
                                  data_level_names:
                                    type: array
                                    items:
                                      type: string
                                  cl_id:
                                    type: string
                                  cl_name:
                                    type: string
                                  data_level:
                                    type: integer
                                  data_level_name:
                                    type: string
                                  category:
                                    type: string
                                  staff_email:
                                    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
                                  task_name:
                                    type: string
                                  uid:
                                    type: string
                                  _type:
                                    type: string
                                  _index:
                                    type: string
                                  channel:
                                    type: string
                                  action:
                                    type: string
                                  app_info:
                                    type: object
                                    properties: {}
                                  simhash:
                                    type: integer
                                  file_policies:
                                    type: array
                                    items:
                                      type: object
                                      properties:
                                        file_created_timestamp:
                                          type: string
                                        file_updated_timestamp:
                                          type: string
                                        file_type_categories:
                                          type: array
                                          items:
                                            type: string
                                        md5_hash:
                                          type: string
                                        policy_id:
                                          type: string
                                        is_hidden:
                                          type: boolean
                                        policy_name:
                                          type: string
                                        filesize:
                                          type: integer
                                        policy_group_id:
                                          type: string
                                        policy_group_name:
                                          type: string
                                        classifications:
                                          type: array
                                          items:
                                            type: object
                                            properties:
                                              uid:
                                                type: string
                                              name:
                                                type: string
                                              data_level_name:
                                                type: string
                                              data_level:
                                                type: integer
                                        risk_level:
                                          type: integer
                                        filename:
                                          type: string
                                        filepath:
                                          type: string
                                        is_compressed:
                                          type: boolean
                                        file_type:
                                          type: string
                                        file_suffix:
                                          type: string
                                        file_updated_time:
                                          type: integer
                                        file_description:
                                          type: string
                                        is_password_protected:
                                          type: boolean
                                        action:
                                          type: string
                                        risk_name:
                                          type: string
                                        file_created_time:
                                          type: integer
                                  extract_file:
                                    type: boolean
                                  risk_name:
                                    type: string
                                  policy_id:
                                    type: string
                                  policy_group_id:
                                    type: string
                                  channel_name:
                                    type: string
                                  policy_name:
                                    type: string
                                  policy

# --- truncated at 32 KB (3458 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/chaitin/refs/heads/main/openapi/chaitin-dataasset-list-api-openapi.yml