title: springboot 2.3.0 actuator liveness/readiness check returns wrong response
body: <p>I am trying to test liveness/readiness locally using spring boot 2.3.0. When I expose API, it does return the right status, but not the right response. Based on <a href="https://spring.io/blog/2020/03/25/liveness-and-readiness-probes-with-spring-boot" rel="nofollow noreferrer">https://spring.io/blog/2020/03/25/liveness-and-readiness-probes-with-spring-boot</a>, I am expecting components, diskSpace and etc when I expose <code>/actuator/health</code>, but I am getting:</p>
  <pre><code>{
      &quot;status&quot;: &quot;UP&quot;,
      &quot;groups&quot;: [
          &quot;liveness&quot;,
          &quot;readiness&quot;
      ]
  }
  </code></pre>
  <p>I am pretty sure my pom.xml is right since it returns right status. I think it has something to do with configuration. Here is my local setup for configuration (application.properties):</p>
  <pre><code>spring.datasource.driverClassName=com.microsoft.sqlserver.jdbc.SQLServerDriver
  spring.datasource.url=jdbc:sqlserver://myurl.net;database
  spring.datasource.username=username
  spring.datasource.password=password
  
  management.health.probes.enabled=true
  management.endpoint.health.group.readiness.include=readinessProbe,db
  </code></pre>
  <p>Am I missing something? Even if I call /actuator/health/liveness, all I am getting is</p>
  <pre><code>{
      &quot;status&quot;: &quot;UP&quot;
  }
  </code></pre>
  <p>&quot;status&quot; does show the right value (UP or DOWN), but components are missing.</p>