@ -69,7 +71,8 @@ public class EnvironmentEndpointTests extends AbstractEndpointTests<EnvironmentE
@@ -69,7 +71,8 @@ public class EnvironmentEndpointTests extends AbstractEndpointTests<EnvironmentE
System.setProperty("dbPassword","123456");
System.setProperty("apiKey","123456");
System.setProperty("mySecret","123456");
System.setProperty("vcap_services","123456");
System.setProperty("myCredentials","123456");
System.setProperty("VCAP_SERVICES","123456");
EnvironmentEndpointreport=getEndpointBean();
Map<String,Object>env=report.invoke();
assertEquals("******",
@ -79,26 +82,28 @@ public class EnvironmentEndpointTests extends AbstractEndpointTests<EnvironmentE
@@ -79,26 +82,28 @@ public class EnvironmentEndpointTests extends AbstractEndpointTests<EnvironmentE
@ -607,7 +607,7 @@ content into your application; rather pick only the properties that you need.
@@ -607,7 +607,7 @@ content into your application; rather pick only the properties that you need.
endpoints.configprops.id=configprops
endpoints.configprops.sensitive=true
endpoints.configprops.enabled=true
endpoints.configprops.keys-to-sanitize=password,secret,key # suffix or regex
endpoints.configprops.keys-to-sanitize=password,secret,key,.*credentials.*,vcap_services # suffix or regex
endpoints.dump.id=dump
endpoints.dump.sensitive=true
endpoints.dump.enabled=true
@ -615,7 +615,7 @@ content into your application; rather pick only the properties that you need.
@@ -615,7 +615,7 @@ content into your application; rather pick only the properties that you need.
endpoints.env.id=env
endpoints.env.sensitive=true
endpoints.env.enabled=true
endpoints.env.keys-to-sanitize=password,secret,key # suffix or regex
endpoints.env.keys-to-sanitize=password,secret,key,.*credentials.*,vcap_services # suffix or regex