Polish " Change info endpoint to be secure and unexposed by default"

See gh-24715
This commit is contained in:
Madhura Bhave
2021-01-21 13:45:57 -08:00
parent 53c1e79810
commit d07e351eff
3 changed files with 14 additions and 9 deletions

View File

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