Chaitin Tech policy/externaldevice/dbc780f7-4099-48e2-8db4-5fe000c2022a API

策略管理/外设/指定资源

OpenAPI Specification

chaitin-policy-externaldevice-dbc780f7-4099-48e2-8db4-5fe000c2022a-api-openapi.yml Raw ↑
openapi: 3.0.3
info:
  title: APISec Management account policy/externaldevice/dbc780f7-4099-48e2-8db4-5fe000c2022a API
  version: '26.05'
  description: Generated from APISec skyview APIView classes.
tags:
- name: policy/externaldevice/dbc780f7-4099-48e2-8db4-5fe000c2022a
  description: 策略管理/外设/指定资源
paths:
  /policy/externaldevice/dbc780f7-4099-48e2-8db4-5fe000c2022a:
    post:
      summary: 管控策略极速模式更新
      deprecated: false
      description: ''
      tags:
      - policy/externaldevice/dbc780f7-4099-48e2-8db4-5fe000c2022a
      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:
                period_category:
                  type: string
                access:
                  type: object
                  properties:
                    external_disk:
                      type: string
                  required:
                  - external_disk
                action:
                  type: string
                action_template:
                  type: object
                  properties:
                    label:
                      type: string
                    value:
                      type: string
                  required:
                  - label
                  - value
                binding_config:
                  type: object
                  properties:
                    source:
                      type: string
                    include:
                      type: object
                      properties: {}
                    exclude:
                      type: object
                      properties: {}
                  required:
                  - source
                  - include
                  - exclude
                action_template_id:
                  type: string
              required:
              - period_category
              - access
              - action
              - action_template
              - binding_config
              - action_template_id
            example:
              period_category: permanent
              access:
                external_disk: allow
              action: warning
              action_template:
                label: 默认外设策略处置动作
                value: 780d52fa-fe30-4d6d-9033-6848e90795b1
              binding_config:
                source: external_device
                include: {}
                exclude: {}
              action_template_id: 780d52fa-fe30-4d6d-9033-6848e90795b1
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                type: object
                properties: {}
              example: {}
      security: []