[manager]feature:[api, website] support basic auth, digest auth (#60)

This commit is contained in:
tomsun28
2022-04-04 09:15:03 +08:00
committed by GitHub
parent 6a9d65ba5d
commit 8dd2c1e47f
4 changed files with 49 additions and 2 deletions

View File

@@ -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