diff --git a/spring-boot-project/spring-boot-docs/src/main/asciidoc/production-ready-features.adoc b/spring-boot-project/spring-boot-docs/src/main/asciidoc/production-ready-features.adoc index 890ca3a16a..4287d18b78 100644 --- a/spring-boot-project/spring-boot-docs/src/main/asciidoc/production-ready-features.adoc +++ b/spring-boot-project/spring-boot-docs/src/main/asciidoc/production-ready-features.adoc @@ -341,6 +341,21 @@ except the `env` and `beans` endpoints, use the following properties: management.endpoints.web.exposure.exclude=env,beans ---- +[NOTE] +==== +`*` has a special meaning in YAML, so be sure to add quotes if you want to include (or +exclude) all endpoints, as shown in the following example: + +[source,yaml,indent=0] +---- + management: + endpoints: + web: + exposure: + include: "*" +---- +==== + NOTE: If your application is exposed publicly, we strongly recommend that you also <>.