flashduty-knowledge-base 1.2.7 → 1.2.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/en.d.ts CHANGED
@@ -1,3 +1,4 @@
1
+ /** ⬆️⬆️⬆️⬆️ Other ⬆️⬆️⬆️⬆️ */
1
2
  declare const docs: {
2
3
  CustomAlert: string;
3
4
  Email: string;
@@ -59,5 +60,6 @@ declare const docs: {
59
60
  ElastAlert2: string;
60
61
  DingtalkAlert: string;
61
62
  FeishuAlert: string;
63
+ Link: string;
62
64
  };
63
65
  export default docs;
package/dist/esm/en.js CHANGED
@@ -3267,7 +3267,7 @@ Choose this option when you need to route alerts to different channels based on
3267
3267
 
3268
3268
  </div>
3269
3269
 
3270
- `,_=`---
3270
+ `,L=`---
3271
3271
  title: "Dynatrace Alert Events"
3272
3272
  description: "Sync Dynatrace alert events to Flashduty via webhook to achieve automated alert noise reduction."
3273
3273
  date: "2024-08-20T10:00:00+08:00"
@@ -3374,7 +3374,7 @@ Choose this option when you need to route alerts to different channels based on
3374
3374
  |CUSTOM_ALERT|Info|info|
3375
3375
 
3376
3376
  </div>
3377
- `,L=`---
3377
+ `,_=`---
3378
3378
  title: "Huawei Cloud LTS Alert Events"
3379
3379
  description: "Sync Huawei Cloud Log Tank Service (LTS) alert events to Flashduty via webhook for automated alert noise reduction."
3380
3380
  date: "2024-08-20T10:00:00+08:00"
@@ -7642,4 +7642,61 @@ As shown in the image below:
7642
7642
 
7643
7643
  <img src="https://download.flashcat.cloud/flashduty/changelog/20230720/email_render.png" alt="drawing" style="display: block; margin: 0 auto;" width="500"/>
7644
7644
 
7645
- </div>`,oe={CustomAlert:n,Email:t,N9e:a,Prometheus:i,Grafana:o,Zabbix:s,UptimeKuma:r,AliyunARMS:l,AliyunCmEvent:d,AliyunCm:c,AliyunSLS:e,AWSCW:e,AzureMonitor:h,BaiDuBCM:u,HuaWeiCES:g,InfluxDB:p,OpenFalcon:m,PagerDuty:f,TencentBK:y,TencentCLS:v,TencentCm:b,TencentEb:w,OceanBase:C,Graylog:k,Skywalking:I,Sentry:S,Jiankongbao:A,AWSEventBridge:x,Dynatrace:_,HuaweiyunLTS:L,GoogleCM:F,Zilliz:q,Splunk:R,AppDynamics:T,SolarWinds:D,VolcEngineMetric:U,VolcEngineEvent:E,VolcEngineTLS:N,OpManager:P,Meraki:M,StateCloud:W,Guance:G,CustomChange:z,Jira:V,Lark:K,Dingtalk:J,Wecom:Z,Slack:Q,MicrosoftTeams:X,AlertWebhook:ee,IncidentWebhook:ne,CustomAction:te,Templates:ie,HuaweiyunAPM:O,JiraSync:ae,ZStack:Y,Keep:H,ElastAlert2:$,DingtalkAlert:j,FeishuAlert:B};module.exports=oe;
7645
+ </div>`,oe=`---
7646
+ title: "Link Integration"
7647
+ description: "Through Link integration, you can quickly access external links by obtaining key parameters from incident attributes, labels, and other information"
7648
+ date: "2025-05-19T10:00:00+08:00"
7649
+ url: "https://docs.flashcat.cloud/en/flashduty/link-integration-guide"
7650
+ ---
7651
+
7652
+ Through Link integration, you can quickly access external links by obtaining key parameters from incident attributes, labels, and other information
7653
+
7654
+ ## Configuration Guide
7655
+
7656
+ Link integration supports extracting key parameters from incident attributes, labels, and other information to enable quick navigation to external systems. Through automated parameter filling and redirection, it eliminates manual input, improving the efficiency of problem identification and resolution. This feature is applicable to incident troubleshooting, performance monitoring, and system debugging scenarios, helping optimize operations processes and enhance response speed and accuracy.
7657
+
7658
+ ### Opening Methods
7659
+
7660
+ #### 1. Pop-up Window
7661
+ Opens a window in the current incident details page, maintaining the original interface state, suitable for quick viewing or returning after operations
7662
+
7663
+ #### 2. New Tab
7664
+ Opens the link in a new browser tab, suitable for scenarios where you need to retain the current operation context while accessing external content
7665
+
7666
+ ### URL Configuration
7667
+
7668
+ When referencing content from labels, start with labels.; when referencing custom fields, start with fields.; when referencing incident attributes, reference them directly, such as .title .severity
7669
+
7670
+ #### Retrieving from Incident Labels
7671
+ Supports dynamic value retrieval through \${} syntax to construct request URLs. For example, parameter values can be automatically filled from incident labels, requiring no manual input:
7672
+
7673
+ \`\`\`
7674
+ https://cmdb.com/vm?sn=\${labels.sn}
7675
+ \`\`\`
7676
+
7677
+ In the above example, \${labels.sn} indicates that the sn label value from the incident will be dynamically injected into the URL. If the incident data contains sn=VM123456, the final request URL will be:
7678
+
7679
+ \`\`\`
7680
+ https://cmdb.com/vm?sn=VM123456
7681
+ \`\`\`
7682
+
7683
+
7684
+ #### Retrieving from Custom Fields
7685
+ Supports dynamic value retrieval through \${} syntax to construct request URLs. For example, parameter values can be automatically filled from custom fields, requiring no manual input:
7686
+
7687
+ \`\`\`
7688
+ https://cmdb.com/vm?sn=\${fields.sn}
7689
+ \`\`\`
7690
+
7691
+ In the above example, \${fields.sn} indicates that the sn custom field value will be dynamically injected into the URL. If the custom field data contains sn=VM123456, the final request URL will be:
7692
+
7693
+ \`\`\`
7694
+ https://cmdb.com/vm?sn=VM123456
7695
+ \`\`\`
7696
+
7697
+ ### Notes
7698
+
7699
+ 1. When referenced content does not exist, Link integration will still generate the corresponding link but will not be able to retrieve the value
7700
+ 2. Each channel can bind up to three Link integrations
7701
+ 3. Pay attention to reference syntax; improper variable reference formatting will result in failure to retrieve corresponding values
7702
+ `,se={CustomAlert:n,Email:t,N9e:a,Prometheus:i,Grafana:o,Zabbix:s,UptimeKuma:r,AliyunARMS:l,AliyunCmEvent:d,AliyunCm:c,AliyunSLS:e,AWSCW:e,AzureMonitor:h,BaiDuBCM:u,HuaWeiCES:g,InfluxDB:p,OpenFalcon:m,PagerDuty:f,TencentBK:y,TencentCLS:v,TencentCm:b,TencentEb:w,OceanBase:C,Graylog:k,Skywalking:I,Sentry:S,Jiankongbao:A,AWSEventBridge:x,Dynatrace:L,HuaweiyunLTS:_,GoogleCM:F,Zilliz:q,Splunk:R,AppDynamics:T,SolarWinds:D,VolcEngineMetric:U,VolcEngineEvent:E,VolcEngineTLS:N,OpManager:P,Meraki:M,StateCloud:W,Guance:G,CustomChange:z,Jira:V,Lark:K,Dingtalk:J,Wecom:Z,Slack:Q,MicrosoftTeams:X,AlertWebhook:ee,IncidentWebhook:ne,CustomAction:te,Templates:ie,HuaweiyunAPM:O,JiraSync:ae,ZStack:Y,Keep:H,ElastAlert2:$,DingtalkAlert:j,FeishuAlert:B,Link:oe};module.exports=se;
package/dist/esm/zh.js CHANGED
@@ -3605,7 +3605,7 @@ url: "https://docs.flashcat.cloud/zh/flashduty/dynatrace-integration-guide"
3605
3605
  |CUSTOM_ALERT|Info|提醒|
3606
3606
 
3607
3607
  </div>
3608
- `,I=`---
3608
+ `,L=`---
3609
3609
  title: "华为云日志服务 LTS 告警事件"
3610
3610
  description: "通过 webhook 的方式同步华为云日志服务 LTS 告警事件到 Flashduty,实现告警事件自动化降噪处理。"
3611
3611
  date: "2024-08-20T10:00:00+08:00"
@@ -3721,7 +3721,7 @@ url: "https://docs.flashcat.cloud/zh/flashduty/huaweilts-integration-guide"
3721
3721
  |Info|Info|提醒|
3722
3722
 
3723
3723
  </div>
3724
- `,L=`---
3724
+ `,I=`---
3725
3725
  title: "GoogleCloudMonitoring 告警事件"
3726
3726
  description: "通过 webhook 的方式同步 GoogleCloudMonitoring 告警事件到 Flashduty,实现告警事件自动化降噪处理"
3727
3727
  date: "2024-07-05T10:00:00+08:00"
@@ -4344,7 +4344,7 @@ url: "https://docs.flashcat.cloud/zh/flashduty/volcengine-event-integration-guid
4344
4344
  |通知|Info|提醒|
4345
4345
 
4346
4346
  </div>
4347
- `,W=`---
4347
+ `,$=`---
4348
4348
  title: "火山引擎日志服务 TLS 告警事件"
4349
4349
  description: "通过 webhook 的方式同步火山引擎日志服务 TLS 告警事件到 Flashduty,实现告警事件自动化降噪处理"
4350
4350
  date: "2024-07-05T10:00:00+08:00"
@@ -4481,7 +4481,7 @@ url: "https://docs.flashcat.cloud/zh/flashduty/volcengine-tls-integration-guide"
4481
4481
  |通知|Info|提醒|
4482
4482
 
4483
4483
  </div>
4484
- `,$=`---
4484
+ `,W=`---
4485
4485
  title: "Opmanager 告警事件"
4486
4486
  description: "通过 webhook 的方式同步 Opmanager 告警事件到 Flashduty,实现告警事件自动化降噪处理"
4487
4487
  date: "2024-07-05T10:00:00+08:00"
@@ -4780,7 +4780,7 @@ url: "https://docs.flashcat.cloud/zh/flashduty/statecloud-integration-guide"
4780
4780
 
4781
4781
 
4782
4782
  </div>
4783
- `,j=`---
4783
+ `,U=`---
4784
4784
  title: "观测云告警事件"
4785
4785
  description: "通过 webhook 的方式同步观测云告警事件到 Flashduty,实现告警事件自动化降噪处理"
4786
4786
  date: "2024-07-05T10:00:00+08:00"
@@ -4868,7 +4868,7 @@ url: "https://docs.flashcat.cloud/zh/flashduty/guance-integration-guide"
4868
4868
  | 数据断档 | Info | 提醒 |
4869
4869
 
4870
4870
  </div>
4871
- `,U=`---
4871
+ `,j=`---
4872
4872
  title: "zilliz 告警事件"
4873
4873
  description: "通过 webhook 的方式同步 zilliz 告警事件到 Flashduty,实现告警事件自动化降噪处理"
4874
4874
  date: "2024-07-05T10:00:00+08:00"
@@ -5342,7 +5342,7 @@ flashduty_env: "dev"
5342
5342
  # ------- FlashDuty ----------------
5343
5343
  \`\`\`
5344
5344
 
5345
- 5.重启 ElastAlert,等待告警触发。`,J=`---
5345
+ 5.重启 ElastAlert,等待告警触发。`,V=`---
5346
5346
  title: "钉钉告警集成"
5347
5347
  description: "在 Flashduty 生成唯一的钉钉机器人地址,通过钉钉的方式将告警的发生与恢复同步到 Flashduty"
5348
5348
  date: "2025-05-19T10:00:00+08:00"
@@ -5425,7 +5425,7 @@ url: "https://docs.flashcat.cloud/zh/flashduty/dingtalk-alert-integration-guide"
5425
5425
 
5426
5426
  当前钉钉告警集成推送到 Flashduty 的严重程度均为Warning。
5427
5427
 
5428
- `,G=`---
5428
+ `,J=`---
5429
5429
  title: "飞书告警集成"
5430
5430
  description: "在 Flashduty 生成唯一的飞书机器人地址,通过飞书的方式将告警的发生与恢复同步到 Flashduty"
5431
5431
  date: "2025-05-19T10:00:00+08:00"
@@ -5508,7 +5508,7 @@ url: "https://docs.flashcat.cloud/zh/flashduty/feishu-alert-integration-guide"
5508
5508
 
5509
5509
  当前飞书告警集成推送到 Flashduty 的严重程度均为 Warning。
5510
5510
 
5511
- `,V=`---
5511
+ `,G=`---
5512
5512
  title: "自定义变更事件集成指引"
5513
5513
  description: "通过标准协议推送自有系统变更事件到 Flashduty,大部分故障由变更导致,变更和告警事件联动有助于快速定位故障原因。"
5514
5514
  date: "2025-05-19T10:00:00+08:00"
@@ -7938,4 +7938,61 @@ msg_type 必填,值为 post
7938
7938
  <img src="https://download.flashcat.cloud/flashduty/changelog/20230720/email_render.png" alt="drawing" style="display: block; margin: 0 auto;" width="500"/>
7939
7939
 
7940
7940
  </div>
7941
- `,dn={CustomAlert:n,Email:t,N9e:e,Prometheus:a,Grafana:i,Zabbix:s,UptimeKuma:l,AliyunARMS:d,AliyunCmEvent:o,AliyunCm:r,AliyunSLS:c,AWSCW:u,AzureMonitor:h,BaiDuBCM:m,HuaWeiCES:p,InfluxDB:g,OpenFalcon:y,PagerDuty:f,TencentBK:b,TencentCLS:v,TencentCm:w,TencentEb:_,OceanBase:k,Graylog:F,Skywalking:x,Sentry:T,Jiankongbao:A,AWSEventBridge:S,Dynatrace:C,HuaweiyunLTS:I,GoogleCM:L,Splunk:D,AppDynamics:P,SolarWinds:M,VolcEngineMetric:N,VolcEngineEvent:E,VolcEngineTLS:W,OpManager:$,Meraki:R,Zilliz:U,StateCloud:z,Guance:j,CustomChange:V,Jira:K,Lark:Z,Dingtalk:X,Wecom:Y,Slack:Q,MicrosoftTeams:nn,AlertWebhook:tn,IncidentWebhook:en,CustomAction:an,Templates:ln,HuaweiyunAPM:H,JiraSync:sn,ZStack:O,Keep:q,ElastAlert2:B,DingtalkAlert:J,FeishuAlert:G};module.exports=dn;
7941
+ `,dn=`---
7942
+ title: "Link 集成"
7943
+ description: "通过 Link 集成,可直接从故障属性、标签等信息中获取访问外部链接所需的关键参数,实现快速访问"
7944
+ date: "2025-05-19T10:00:00+08:00"
7945
+ url: "https://docs.flashcat.cloud/zh/flashduty/link-integration-guide"
7946
+ ---
7947
+
7948
+ 通过 Link 集成,可直接从故障属性、标签等信息中获取访问外部链接所需的关键参数,实现快速访问
7949
+
7950
+ ## 配置说明
7951
+
7952
+ Link 集成功能支持从故障属性、标签等信息中提取关键参数,实现与外部系统的快速跳转。通过自动化填充和跳转,避免了手动输入,提高了问题定位与处理的效率。该功能适用于故障排查、性能监控和系统调试等场景,有助于优化运维流程,提升响应速度与准确性
7953
+
7954
+ ### 打开方式
7955
+
7956
+ #### 1. 弹窗
7957
+ 在故障详情的当前页面中弹出窗口,保持原有界面状态,适合快速查看或操作后返回
7958
+
7959
+ #### 2. 新标签页
7960
+ 在浏览器新标签中打开链接,适用于需要保留当前操作上下文并同时访问外部内容的场景
7961
+
7962
+ ### URL 配置
7963
+
7964
+ URL的参数引用内容为标签时以 labels. 开头;引用内容为自定义字段时,以 fields. 开头;引用内容为故障属性时,直接引用即可,如 .title、.severity 等
7965
+
7966
+ #### 故障标签中获取
7967
+ 支持通过 \${} 的方式从参数中动态取值,用于构造请求地址。例如参数值从故障标签(labels)中自动填充,无需手动输入:
7968
+
7969
+ \`\`\`
7970
+ https://cmdb.com/vm?sn=\${labels.sn}
7971
+ \`\`\`
7972
+
7973
+ 在上述示例中,\${labels.sn} 表示将故障中的 sn 标签值动态注入至 URL 中。如果故障数据中包含 sn=VM123456,则最终请求地址为:
7974
+
7975
+ \`\`\`
7976
+ https://cmdb.com/vm?sn=VM123456
7977
+ \`\`\`
7978
+
7979
+
7980
+ #### 自定义字段中获取
7981
+ 支持通过 \${} 的方式从参数中动态取值,用于构造请求地址。例如参数值从自定义字段(fields)中自动填充,无需手动输入:
7982
+
7983
+ \`\`\`
7984
+ https://cmdb.com/vm?sn=\${fields.sn}
7985
+ \`\`\`
7986
+
7987
+ 在上述示例中,\${fields.sn} 表示将故障中的 sn 自定义字段值动态注入至 URL 中。如果自定义字段数据中包含 sn=VM123456,则最终请求地址为:
7988
+
7989
+ \`\`\`
7990
+ https://cmdb.com/vm?sn=VM123456
7991
+ \`\`\`
7992
+
7993
+ ### 注意事项
7994
+
7995
+ 1. 当引用的内容不存在时,Link 集成会正常生成对应的链接,但无法获取到值
7996
+ 2. 同一个协作空间至多绑定三个 Link 集成
7997
+ 3. 注意引用语法,如未按照要求进行书写引用变量,会导致无法正常获取对应值
7998
+ `,on={CustomAlert:n,Email:t,N9e:e,Prometheus:a,Grafana:i,Zabbix:s,UptimeKuma:l,AliyunARMS:d,AliyunCmEvent:o,AliyunCm:r,AliyunSLS:c,AWSCW:u,AzureMonitor:h,BaiDuBCM:m,HuaWeiCES:p,InfluxDB:g,OpenFalcon:y,PagerDuty:f,TencentBK:b,TencentCLS:v,TencentCm:w,TencentEb:_,OceanBase:k,Graylog:F,Skywalking:x,Sentry:T,Jiankongbao:A,AWSEventBridge:S,Dynatrace:C,HuaweiyunLTS:L,GoogleCM:I,Splunk:D,AppDynamics:P,SolarWinds:M,VolcEngineMetric:N,VolcEngineEvent:E,VolcEngineTLS:$,OpManager:W,Meraki:R,Zilliz:j,StateCloud:z,Guance:U,CustomChange:G,Jira:K,Lark:Z,Dingtalk:X,Wecom:Y,Slack:Q,MicrosoftTeams:nn,AlertWebhook:tn,IncidentWebhook:en,CustomAction:an,Templates:ln,HuaweiyunAPM:H,JiraSync:sn,ZStack:O,Keep:q,ElastAlert2:B,DingtalkAlert:V,FeishuAlert:J,Link:dn};module.exports=on;
package/dist/iife/en.js CHANGED
@@ -7642,4 +7642,61 @@ By default, the system always creates new alerts for each message, but you can s
7642
7642
 
7643
7643
  Currently, all alerts pushed to Flashduty through Feishu Alert integration are set to Warning severity.
7644
7644
 
7645
+ `,Link:`---
7646
+ title: "Link Integration"
7647
+ description: "Through Link integration, you can quickly access external links by obtaining key parameters from incident attributes, labels, and other information"
7648
+ date: "2025-05-19T10:00:00+08:00"
7649
+ url: "https://docs.flashcat.cloud/en/flashduty/link-integration-guide"
7650
+ ---
7651
+
7652
+ Through Link integration, you can quickly access external links by obtaining key parameters from incident attributes, labels, and other information
7653
+
7654
+ ## Configuration Guide
7655
+
7656
+ Link integration supports extracting key parameters from incident attributes, labels, and other information to enable quick navigation to external systems. Through automated parameter filling and redirection, it eliminates manual input, improving the efficiency of problem identification and resolution. This feature is applicable to incident troubleshooting, performance monitoring, and system debugging scenarios, helping optimize operations processes and enhance response speed and accuracy.
7657
+
7658
+ ### Opening Methods
7659
+
7660
+ #### 1. Pop-up Window
7661
+ Opens a window in the current incident details page, maintaining the original interface state, suitable for quick viewing or returning after operations
7662
+
7663
+ #### 2. New Tab
7664
+ Opens the link in a new browser tab, suitable for scenarios where you need to retain the current operation context while accessing external content
7665
+
7666
+ ### URL Configuration
7667
+
7668
+ When referencing content from labels, start with labels.; when referencing custom fields, start with fields.; when referencing incident attributes, reference them directly, such as .title .severity
7669
+
7670
+ #### Retrieving from Incident Labels
7671
+ Supports dynamic value retrieval through \${} syntax to construct request URLs. For example, parameter values can be automatically filled from incident labels, requiring no manual input:
7672
+
7673
+ \`\`\`
7674
+ https://cmdb.com/vm?sn=\${labels.sn}
7675
+ \`\`\`
7676
+
7677
+ In the above example, \${labels.sn} indicates that the sn label value from the incident will be dynamically injected into the URL. If the incident data contains sn=VM123456, the final request URL will be:
7678
+
7679
+ \`\`\`
7680
+ https://cmdb.com/vm?sn=VM123456
7681
+ \`\`\`
7682
+
7683
+
7684
+ #### Retrieving from Custom Fields
7685
+ Supports dynamic value retrieval through \${} syntax to construct request URLs. For example, parameter values can be automatically filled from custom fields, requiring no manual input:
7686
+
7687
+ \`\`\`
7688
+ https://cmdb.com/vm?sn=\${fields.sn}
7689
+ \`\`\`
7690
+
7691
+ In the above example, \${fields.sn} indicates that the sn custom field value will be dynamically injected into the URL. If the custom field data contains sn=VM123456, the final request URL will be:
7692
+
7693
+ \`\`\`
7694
+ https://cmdb.com/vm?sn=VM123456
7695
+ \`\`\`
7696
+
7697
+ ### Notes
7698
+
7699
+ 1. When referenced content does not exist, Link integration will still generate the corresponding link but will not be able to retrieve the value
7700
+ 2. Each channel can bind up to three Link integrations
7701
+ 3. Pay attention to reference syntax; improper variable reference formatting will result in failure to retrieve corresponding values
7645
7702
  `};n.FlashDocsEn=u})(window);
package/dist/iife/zh.js CHANGED
@@ -7938,4 +7938,61 @@ url: "https://docs.flashcat.cloud/zh/flashduty/feishu-alert-integration-guide"
7938
7938
 
7939
7939
  当前飞书告警集成推送到 Flashduty 的严重程度均为 Warning。
7940
7940
 
7941
+ `,Link:`---
7942
+ title: "Link 集成"
7943
+ description: "通过 Link 集成,可直接从故障属性、标签等信息中获取访问外部链接所需的关键参数,实现快速访问"
7944
+ date: "2025-05-19T10:00:00+08:00"
7945
+ url: "https://docs.flashcat.cloud/zh/flashduty/link-integration-guide"
7946
+ ---
7947
+
7948
+ 通过 Link 集成,可直接从故障属性、标签等信息中获取访问外部链接所需的关键参数,实现快速访问
7949
+
7950
+ ## 配置说明
7951
+
7952
+ Link 集成功能支持从故障属性、标签等信息中提取关键参数,实现与外部系统的快速跳转。通过自动化填充和跳转,避免了手动输入,提高了问题定位与处理的效率。该功能适用于故障排查、性能监控和系统调试等场景,有助于优化运维流程,提升响应速度与准确性
7953
+
7954
+ ### 打开方式
7955
+
7956
+ #### 1. 弹窗
7957
+ 在故障详情的当前页面中弹出窗口,保持原有界面状态,适合快速查看或操作后返回
7958
+
7959
+ #### 2. 新标签页
7960
+ 在浏览器新标签中打开链接,适用于需要保留当前操作上下文并同时访问外部内容的场景
7961
+
7962
+ ### URL 配置
7963
+
7964
+ URL的参数引用内容为标签时以 labels. 开头;引用内容为自定义字段时,以 fields. 开头;引用内容为故障属性时,直接引用即可,如 .title、.severity 等
7965
+
7966
+ #### 故障标签中获取
7967
+ 支持通过 \${} 的方式从参数中动态取值,用于构造请求地址。例如参数值从故障标签(labels)中自动填充,无需手动输入:
7968
+
7969
+ \`\`\`
7970
+ https://cmdb.com/vm?sn=\${labels.sn}
7971
+ \`\`\`
7972
+
7973
+ 在上述示例中,\${labels.sn} 表示将故障中的 sn 标签值动态注入至 URL 中。如果故障数据中包含 sn=VM123456,则最终请求地址为:
7974
+
7975
+ \`\`\`
7976
+ https://cmdb.com/vm?sn=VM123456
7977
+ \`\`\`
7978
+
7979
+
7980
+ #### 自定义字段中获取
7981
+ 支持通过 \${} 的方式从参数中动态取值,用于构造请求地址。例如参数值从自定义字段(fields)中自动填充,无需手动输入:
7982
+
7983
+ \`\`\`
7984
+ https://cmdb.com/vm?sn=\${fields.sn}
7985
+ \`\`\`
7986
+
7987
+ 在上述示例中,\${fields.sn} 表示将故障中的 sn 自定义字段值动态注入至 URL 中。如果自定义字段数据中包含 sn=VM123456,则最终请求地址为:
7988
+
7989
+ \`\`\`
7990
+ https://cmdb.com/vm?sn=VM123456
7991
+ \`\`\`
7992
+
7993
+ ### 注意事项
7994
+
7995
+ 1. 当引用的内容不存在时,Link 集成会正常生成对应的链接,但无法获取到值
7996
+ 2. 同一个协作空间至多绑定三个 Link 集成
7997
+ 3. 注意引用语法,如未按照要求进行书写引用变量,会导致无法正常获取对应值
7941
7998
  `};n.FlashDocsZh=t})(window);
package/dist/zh.d.ts CHANGED
@@ -1,3 +1,4 @@
1
+ /** ⬆️⬆️⬆️⬆️ Other ⬆️⬆️⬆️⬆️ */
1
2
  declare const docs: {
2
3
  CustomAlert: string;
3
4
  Email: string;
@@ -59,5 +60,6 @@ declare const docs: {
59
60
  ElastAlert2: string;
60
61
  DingtalkAlert: string;
61
62
  FeishuAlert: string;
63
+ Link: string;
62
64
  };
63
65
  export default docs;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "flashduty-knowledge-base",
3
- "version": "1.2.7",
3
+ "version": "1.2.8",
4
4
  "description": "flashduty knowledge base",
5
5
  "type": "module",
6
6
  "engines": {