Skip to content

Restrict exposed Actuator endpoints for improved security #11

Description

@patnelly

Hello , a'm paul

I noticed that the application configuration exposes all Spring Boot Actuator endpoints:

management.endpoints.web.exposure.include=*

Exposing all endpoints may unintentionally reveal sensitive internal information such as environment variables, metrics, logs, or bean configurations, especially in production environments.

I would like to propose limiting exposed endpoints to only the necessary ones (e.g., health and info) to improve security and follow Spring Boot best practices.

Please let me know if I can proceed with this improvement. Thank you!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions