[manager]feature:[api, website] support basic auth, digest auth (#60)
This commit is contained in:
@@ -26,6 +26,8 @@ configmap:
|
||||
type: 1
|
||||
- key: payload
|
||||
type: 1
|
||||
- key: authType
|
||||
type: 1
|
||||
- key: headers
|
||||
type: 3
|
||||
- key: params
|
||||
@@ -69,9 +71,11 @@ metrics:
|
||||
# 认证
|
||||
authorization:
|
||||
# 认证方式: Basic Auth, Digest Auth, Bearer Token
|
||||
type: Basic Auth
|
||||
type: ^_^authType^_^
|
||||
basicAuthUsername: ^_^username^_^
|
||||
basicAuthPassword: ^_^password^_^
|
||||
digestAuthUsername: ^_^username^_^
|
||||
digestAuthPassword: ^_^password^_^
|
||||
# 响应数据解析方式: default-系统规则,jsonPath-jsonPath脚本,website-网站可用性指标监控
|
||||
# todo xmlPath-xmlPath脚本,prometheus-Prometheus数据规则
|
||||
parseType: website
|
||||
Reference in New Issue
Block a user