Skip to content

Commit

Permalink
[Doc-16555] Add note of Alert Script Plugin (#16556)
Browse files Browse the repository at this point in the history
* add Note doc of scrip alert

* mvn spotless:apply

---------

Co-authored-by: wangxj959 <wangxj959@chinaunicom.cn>
  • Loading branch information
wangxj3 and wangxj959 authored Sep 2, 2024
1 parent deddb3b commit cfe70a3
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
3 changes: 2 additions & 1 deletion docs/docs/en/guide/alert/script.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,5 @@ The following shows the `Script` configuration example:

### Note

Consider the script file access privileges with the executing tenant.
1.Consider the script file access privileges with the executing tenant.
2.Script alerts will execute the corresponding shell script. The platform will not verify the script content and whether it has been tampered with. There is a need to have a high degree of trust in this shell script and trust that users will not abuse this function.
5 changes: 3 additions & 2 deletions docs/docs/zh/guide/alert/script.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,6 @@

> 支持`Shell`脚本
**_注意:_** 请注意脚本的读写权限与执行租户的关系

**_注意:_**
1.请注意脚本的读写权限与执行租户的关系
2.脚本告警会执行对应shell脚本,平台不会校验脚本内容和是否被篡改,需要高度信任该shell脚本,并且信任用户不会滥用此功能

0 comments on commit cfe70a3

Please sign in to comment.