Chaitin Tech policy/realtime_monitor/{policy_id}/detail API
策略管理/实时监控/policy_id 参数/详情
策略管理/实时监控/policy_id 参数/详情
openapi: 3.0.3
info:
title: APISec Management account policy/realtime_monitor/{policy_id}/detail API
version: '26.05'
description: Generated from APISec skyview APIView classes.
tags:
- name: policy/realtime_monitor/{policy_id}/detail
description: 策略管理/实时监控/policy_id 参数/详情
paths:
/policy/realtime_monitor/{policy_id}/detail:
post:
summary: 实时监控详情
deprecated: false
description: ''
tags:
- policy/realtime_monitor/{policy_id}/detail
parameters:
- name: policy_id
in: path
description: ''
required: true
example: string
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:
update_by:
type: object
properties:
uid:
type: string
name:
type: string
username:
type: string
email:
type: string
required:
- uid
- name
- username
- email
category:
type: string
action_template_id:
type: 'null'
update_time:
type: string
storage_time_options:
type: object
properties: {}
code:
type: string
name:
type: string
status:
type: string
id:
type: integer
expand:
type: object
properties: {}
expression_relation:
type: 'null'
monitor_mode:
type: string
period_category:
type: string
storage_time:
type: string
run_model:
type: array
items: {}
action:
type: string
company_id:
type: string
expression:
type: 'null'
description:
type: string
expression_fields:
type: array
items: {}
mode:
type: string
uid:
type: string
create_time:
type: string
create_by:
type: object
properties:
uid:
type: string
name:
type: string
username:
type: string
email:
type: string
required:
- uid
- name
- username
- email
period_options:
type: object
properties:
period_value:
type: array
items:
type: string
period_tz_offset:
type: integer
required:
- period_value
- period_tz_offset
source:
type: string
monitor_mode_options:
type: object
properties: {}
scope:
type: string
binding_config:
type: object
properties:
include:
type: object
properties:
devices:
type: array
items:
type: object
properties:
uid:
type: string
name:
type: string
code:
type: string
device_tags:
type: array
items: {}
staffs:
type: array
items: {}
staff_tags:
type: array
items: {}
depts:
type: array
items: {}
required:
- devices
- device_tags
- staffs
- staff_tags
- depts
exclude:
type: object
properties:
depts:
type: array
items: {}
staffs:
type: array
items: {}
staff_tags:
type: array
items: {}
devices:
type: array
items: {}
device_tags:
type: array
items: {}
required:
- depts
- staffs
- staff_tags
- devices
- device_tags
required:
- include
- exclude
required:
- update_by
- category
- action_template_id
- update_time
- storage_time_options
- code
- name
- status
- id
- expand
- expression_relation
- monitor_mode
- period_category
- storage_time
- run_model
- action
- company_id
- expression
- description
- expression_fields
- mode
- uid
- create_time
- create_by
- period_options
- source
- monitor_mode_options
- scope
- binding_config
required:
- code
- msg
- data
example:
code: 0
msg: 正常
data:
update_by:
uid: fc1d36eb-98ce-486c-83e7-4f041e22d164
name: xuxingwangusername
username: xuxingwang
email: xingwang.xu@cyberserval.cn
category: realtime_monitor
action_template_id: null
update_time: '2025-03-19T03:10:43.810430Z'
storage_time_options: {}
code: 4cfe0eef32322b55
name: 任务名称
status: deactivated
id: 1
expand: {}
expression_relation: null
monitor_mode: general
period_category: period
storage_time: permanent
run_model: []
action: notify
company_id: eeff7c64-5070-4582-8b93-fbcc57db7771
expression: null
description: 任务描述
expression_fields: []
mode: advanced
uid: 4fa992b0-c34e-475a-92e5-66a9198f7e3b
create_time: '2025-03-19T03:10:43.810409Z'
create_by:
uid: fc1d36eb-98ce-486c-83e7-4f041e22d164
name: xuxingwangusername
username: xuxingwang
email: xingwang.xu@cyberserval.cn
period_options:
period_value:
- '2025-03-19 00:00:00'
- '2025-03-20 23:59:59'
period_tz_offset: 28800
source: added
monitor_mode_options: {}
scope: common
binding_config:
include:
devices:
- uid: d1247921-d4fd-4f6c-9f62-504684f8f288
name: DNAME89c81639591b3814
code: PC-000002
device_tags: []
staffs: []
staff_tags: []
depts: []
exclude:
depts: []
staffs: []
staff_tags: []
devices: []
device_tags: []
security: []