@Override
    public void contribute(final Info.Builder builder) {
        builder.withDetail("systemInfo", SystemUtils.getSystemInfo());
        builder.withDetail("casModules", Unchecked.supplier(loader::load).get());
        builder.withDetail("server", Map.of(
            "hostname", StringUtils.defaultIfBlank(casProperties.getHost().getName(), "N/A"),
            "host", InetAddressUtils.getCasServerHostName(),
            "name", StringUtils.defaultIfBlank(casProperties.getServer().getName(), "N/A"),
            "scope", StringUtils.defaultIfBlank(casProperties.getServer().getScope(), "N/A")
        ));
    }
This is {@link CasInfoEndpointContributor}.

@author Misagh Moayyed
@since 5.3.0
support/cas-server-support-reports-core/src/main/java/org/apereo/cas/web/report/CasInfoEndpointContributor.java