mirror of
https://github.com/certd/certd.git
synced 2026-04-24 20:57:26 +08:00
feat: 【破坏性更新】插件改为metadata加载模式,plugin-cert、plugin-lib包部分代码转移到certd-server中,影响自定义插件,需要修改相关import引用
ssh、aliyun、tencent、qiniu、oss等 access和client需要转移import
This commit is contained in:
@@ -0,0 +1,36 @@
|
||||
name: baotawaf
|
||||
title: 宝塔云WAF授权
|
||||
desc: 用于连接和管理宝塔云WAF服务的授权配置
|
||||
icon: svg:icon-bt
|
||||
input:
|
||||
panelUrl:
|
||||
title: 在宝塔WAF URL
|
||||
component:
|
||||
placeholder: http://192.168.42.237:41896
|
||||
helper: 在宝塔WAF的URL地址,不要带安全入口,例如:http://192.168.42.237:41896
|
||||
required: true
|
||||
apiSecret:
|
||||
title: WAF API 密钥
|
||||
component:
|
||||
placeholder: 请输入WAF API接口密钥
|
||||
helper: |-
|
||||
在宝塔WAF设置页面 - API接口中获取的API密钥。
|
||||
必须添加IP白名单,请确保已将CertD服务器IP加入白名单
|
||||
required: true
|
||||
encrypt: true
|
||||
skipSslVerify:
|
||||
title: 忽略SSL证书校验
|
||||
value: false
|
||||
component:
|
||||
name: a-switch
|
||||
vModel: checked
|
||||
helper: 如果面板使用的是自签名SSL证书,则需要开启此选项
|
||||
testRequest:
|
||||
title: 测试
|
||||
component:
|
||||
name: api-test
|
||||
action: onTestRequest
|
||||
helper: 点击测试WAF请求
|
||||
pluginType: access
|
||||
type: builtIn
|
||||
scriptFilePath: ../../../plugins/plugin-plus/baota/waf-access.js
|
||||
Reference in New Issue
Block a user