Polish " Change info endpoint to be secure and unexposed by default"
See gh-24715
This commit is contained in:
@@ -50,11 +50,6 @@ class SampleSecureWebFluxApplicationTests {
|
||||
.isOk();
|
||||
}
|
||||
|
||||
@Test
|
||||
void infoInsecureByDefault() {
|
||||
this.webClient.get().uri("/actuator/info").accept(MediaType.APPLICATION_JSON).exchange().expectStatus().isOk();
|
||||
}
|
||||
|
||||
@Test
|
||||
void otherActuatorsSecureByDefault() {
|
||||
this.webClient.get().uri("/actuator/env").accept(MediaType.APPLICATION_JSON).exchange().expectStatus()
|
||||
|
||||
Reference in New Issue
Block a user