SpringBootActuator接口未授权多环境漏洞修复
This commit is contained in:
parent
4ce7ad39fd
commit
8e09caf346
|
|
@ -42,3 +42,9 @@ getPersonDetailData: /lbcloud-user/api/user/queryById
|
||||||
registerPhone: /lbcloud-user/api/user/registrationByPhone
|
registerPhone: /lbcloud-user/api/user/registrationByPhone
|
||||||
userBindUrl: /lbcloud-authority/api/RoleClient/bindDefaultSystemRole
|
userBindUrl: /lbcloud-authority/api/RoleClient/bindDefaultSystemRole
|
||||||
verifyPhoneCode: /lbcloud-mbroker/api/broker/simpleVerificationCode
|
verifyPhoneCode: /lbcloud-mbroker/api/broker/simpleVerificationCode
|
||||||
|
|
||||||
|
# 禁用Actuator端点的未经身份验证的访问
|
||||||
|
management:
|
||||||
|
endpoint:
|
||||||
|
env:
|
||||||
|
enabled: false
|
||||||
|
|
@ -63,6 +63,7 @@
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>com.fasterxml.jackson.core</groupId>
|
<groupId>com.fasterxml.jackson.core</groupId>
|
||||||
<artifactId>jackson-databind</artifactId>
|
<artifactId>jackson-databind</artifactId>
|
||||||
|
<version>2.13.5</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
||||||
<!-- Alibaba Fastjson -->
|
<!-- Alibaba Fastjson -->
|
||||||
|
|
|
||||||
|
|
@ -32,3 +32,9 @@ spring:
|
||||||
# 共享配置
|
# 共享配置
|
||||||
shared-configs:
|
shared-configs:
|
||||||
- application-${spring.profiles.active}.${spring.cloud.nacos.config.file-extension}
|
- application-${spring.profiles.active}.${spring.cloud.nacos.config.file-extension}
|
||||||
|
|
||||||
|
# 禁用Actuator端点的未经身份验证的访问
|
||||||
|
management:
|
||||||
|
endpoint:
|
||||||
|
env:
|
||||||
|
enabled: false
|
||||||
|
|
|
||||||
|
|
@ -67,6 +67,12 @@ tencent:
|
||||||
# API密钥
|
# API密钥
|
||||||
secretkey: OXUgeMo0yhBRTGo6sVu3yiFX4rQtAzc3
|
secretkey: OXUgeMo0yhBRTGo6sVu3yiFX4rQtAzc3
|
||||||
|
|
||||||
|
# 禁用Actuator端点的未经身份验证的访问
|
||||||
|
management:
|
||||||
|
endpoint:
|
||||||
|
env:
|
||||||
|
enabled: false
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue