Skip to content

Commit

Permalink
[Improve] Unauthorized access to Spring Boot Actuator #4171 (#4173)
Browse files Browse the repository at this point in the history
  • Loading branch information
wolfboys authored Jan 17, 2025
1 parent 2050645 commit 9168dab
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
5 changes: 0 additions & 5 deletions streampark-console/streampark-console-service/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -178,11 +178,6 @@
<artifactId>spring-boot-starter-undertow</artifactId>
</dependency>

<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-actuator</artifactId>
</dependency>

<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-validation</artifactId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,8 @@ private static Properties getSpringConfig() {
config.put("springdoc.api-docs.enabled", "true");

// metrics
config.put("management.health.ldap.enabled", "false");
config.put("management.endpoints.enabled-by-default", "false");

return config;
}

Expand Down

0 comments on commit 9168dab

Please sign in to comment.