Understanding ACTUATOR role in spring boot

By | July 12, 2018
Questions:

After recent spring boot upgrade (1.5+) I am no longer able to access /metrics endpoint in my application. To solve this, I added management.security.enabled=false and management.security.roles=ACTUATOR. This allowed me to access the endpoint and it still required credentials before viewing. This works but I don’t understand why. Am I only disabling the ACTUATOR role to access this endpoint? Is there any security risk here?

Answers:

Leave a Reply

Your email address will not be published. Required fields are marked *