Chaitin Tech policy/channel/{policy_id} API
策略管理/通道/policy_id 参数
策略管理/通道/policy_id 参数
openapi: 3.0.3
info:
title: APISec Management account policy/channel/{policy_id} API
version: '26.05'
description: Generated from APISec skyview APIView classes.
tags:
- name: policy/channel/{policy_id}
description: 策略管理/通道/policy_id 参数
paths:
/policy/channel/{policy_id}:
post:
summary: 修改渠道管控
deprecated: false
description: ''
tags:
- policy/channel/{policy_id}
parameters:
- name: policy_id
in: path
description: ''
required: true
example: 76ddc97b-6767-4dc8-864b-ee5653226788
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: 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:
mode:
type: string
name:
type: string
policy_group_ids:
type: array
items:
type: string
description:
type: 'null'
risk_level:
type: integer
period_category:
type: string
run_model:
type: array
items:
type: string
scope:
type: string
expression_fields:
type: array
items:
type: object
properties:
field:
type: string
value:
type: array
items:
type: string
operator:
type: string
required:
- field
- value
- operator
action:
type: string
action_template_id:
type: string
extract_file_options:
type: object
properties:
file_size:
type: integer
file_size_measure:
type: string
required:
- file_size
- file_size_measure
extract_file:
type: boolean
screenshot:
type: boolean
screen_recording:
type: boolean
notification_config:
type: array
items: {}
category:
type: string
binding_config:
type: object
properties:
source:
type: string
include:
type: object
properties:
device_ids:
type: array
items:
type: string
required:
- device_ids
exclude:
type: object
properties: {}
required:
- source
- include
- exclude
required:
- mode
- name
- policy_group_ids
- description
- risk_level
- period_category
- run_model
- scope
- expression_fields
- action
- action_template_id
- extract_file_options
- extract_file
- screenshot
- screen_recording
- notification_config
- category
- binding_config
example:
mode: advanced
name: 本地测试2222
policy_group_ids:
- a3868332-5995-4e3f-b2e3-fad34bceebd9
description: null
risk_level: 1
period_category: permanent
run_model:
- online
- offline
scope: common
expression_fields:
- field: channel
value:
- b4ea1e21-dd48-49b4-82e7-37d3f4f12ad9
- 83236626-c08c-44df-8fc8-5d54d3f9dee2
- af0a98b1-426e-4392-a753-a9f2e169b5d7
- d72885d9-e023-4293-88d2-ab485b0086d5
- f916743b-8c46-4acf-810d-fdcd60d192c7
- 86af7908-8907-4f7a-ad8a-c17e2a6a2e96
- 45eee998-91da-4f17-b296-c4b847ef0c42
- 0aaf1053-1581-47ce-81c7-469bb5d46a26
- c892c042-716c-4301-81f9-09671634c2a3
- a9b74305-2e8c-4cd6-83bf-c3ab8fdb62c5
- bcef3b8d-565c-48cb-87e6-d4ea951a1939
- ea409280-f5b4-4c02-8186-5e7a9cceb440
- 5d788e98-4eb5-4d5f-89a5-ac2f7aa805d8
- 64e6772f-c869-4f2a-beda-643d32e18539
- 140afa40-dd49-4a0c-bb27-7232c6eeb9f3
- 20eb933c-af7d-4aea-b9bb-f77a5e14eaf7
- 5d830754-cd61-4c1a-b73c-4435baa791d2
- 9c29b31f-af5f-4dcd-a6a9-e09a2600f775
- bfc31e70-0cd0-49a9-9c00-6ce34e4ec07b
- 4813b5ac-a7bc-420c-9b52-f241faf5de91
- 4d6c3e0f-c208-4af9-b057-8da04a5d1d8c
- 88ea7e6e-8f4c-4bc5-83a3-48ed576dc0ae
- 52c0b3ee-6375-4024-a539-47893d06d1e9
- 4439c520-a3fe-4468-adc2-d51a918caf78
- 7cf6a557-e1e5-4cf6-ba27-99f7523867be
- bc7ef1e7-f12a-4341-b264-e849d87d825d
- 8522b720-869c-4eb4-86ec-8d976ab987bf
- f80162de-7928-4336-8f1d-13c24142181a
- 43cf180d-855c-4af7-a103-bbd88ee6ab3b
- e65e1ade-50be-4616-83fa-cbc8aa36683d
- fe49ed38-5dfb-4b90-9cdc-aac0da96751b
- c7f89726-cd46-454e-baf3-71812507a854
- aa52214d-54a9-4158-b666-ef0192607697
- 245befab-6216-48b8-b12c-bf6db1384581
- 9ba77d96-d1b0-4d28-a367-f78daea8ed09
- 0ce9e9ec-8d4e-41b1-98ab-ec634b260b82
- def671a3-ae9f-4217-b7bd-99c8558915e5
- 17e21902-ff13-4214-b51e-e4bc3d937f0e
- 70f9e587-df36-46a1-800a-0c34651eadab
- 575f3d55-798c-4fa3-8be2-4a31295bcb52
- bf5029d5-3a5e-4c98-8d4b-bbbe3911fb67
- f0cf9c32-48e5-44fb-9438-1865738b8d27
- f7d7e2ea-520c-432a-9845-c9581572ff1a
- 4ad8000b-e92a-4113-9c88-ada31e97a999
- b92232c2-42a6-46b3-a436-2f5873b6b089
- 0afe6a57-acd5-4e4d-8428-7985e685990c
- d1330227-3884-4881-aee6-0dbe31a12cce
- 0b51b588-76e1-4d0c-9ac7-ccfe0bafa703
- 70ebdcd9-b54c-448b-b310-7cd0f2d79a11
- c3dea1cb-0c2f-4d79-9a26-ac4bc44c709b
- 7fedbeee-8658-4457-a79a-573d57d05421
- 10592a88-35a2-4501-9f37-883a7645d1b9
- ecbbc471-0c9f-4181-9d9c-56d10b74f2b8
- a77149cf-f378-45ff-8557-5749b4682fed
- 4980dd47-e8b8-4528-aa60-0fe872684a00
- cd759aa3-3b75-4cd9-b68b-1eb150537676
- a05cc0b0-c9cd-4be2-b82b-6af334fbce8f
- 3e04c3cb-69d6-4ed1-b7c1-2a82fd06187c
- a971d9a6-e2da-45e8-b661-5953fb3f5962
- c9ee67bd-a300-4892-8207-220927b18f25
- e43ea4ac-c6c9-4944-a196-b588cd298b93
- 83b806e4-6402-471f-9750-8518be7bce68
- c129e75e-2557-4ff0-bac9-090bd3f03107
- 8388b4d8-d2ec-49b9-9d21-1e061696c30e
- 58af7359-8401-438d-985a-2ece35e77035
- 93198e9f-dc00-4f2e-8ee1-c378947899d2
- d6dbc4e3-8e72-48f2-ae7a-03452656f7d4
- c1b23dc1-eda5-41f3-9c91-e3f899f3f41f
- 9f396d3e-0520-47d1-83ae-88603cb48557
- 3f4803db-a444-4853-a5a8-a386e21e9629
- 29c084e6-9ed4-4ca8-8cf7-637fbb7679d3
- f185e6de-b9b7-4114-87f9-56c0b9b1a228
- 1d413bb5-587d-4a8d-b052-76616fea65c2
- 77199118-106d-476b-8193-6aa42eac455c
- 672c79a9-dc9a-4f1d-ad43-8fbdf3cc6a5c
- f855878f-dc51-41e9-a49c-c95a3fb7fb78
operator: contains
- field: classification
value:
- 1cb5a703-8648-4ecd-af9b-bf7aa735918d
operator: contains
action: block
action_template_id: 25c50e35-443b-4512-ad98-5b526e5fe51d
extract_file_options:
file_size: 10
file_size_measure: MB
extract_file: false
screenshot: false
screen_recording: false
notification_config: []
category: channel
binding_config:
source: channel
include:
device_ids:
- ce2b4c5d-9de7-47ba-aea9-8020489f40e9
exclude: {}
responses:
'200':
description: ''
content:
application/json:
schema:
type: object
properties: {}
example: {}
security: []