Commit bc47b715 authored by Stephane Nicoll's avatar Stephane Nicoll

Add a note about the use of `*` with YAML

Closes gh-12361
parent 96f17da4
...@@ -341,6 +341,21 @@ except the `env` and `beans` endpoints, use the following properties: ...@@ -341,6 +341,21 @@ except the `env` and `beans` endpoints, use the following properties:
management.endpoints.web.exposure.exclude=env,beans 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 NOTE: If your application is exposed publicly, we strongly recommend that you also
<<production-ready-endpoints-security, secure your endpoints>>. <<production-ready-endpoints-security, secure your endpoints>>.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment