Skip to content

Unable to disable the env endpoint. #601

@sukrit007

Description

@sukrit007

I am using Spring Boot v 1.0.0.RC5 with spring-boot-starter-actuator enabled and with application.properties:

endpoints.env.enabled=false
server.port=8090

When I start the my application, it listens on port 8090, however, the env endpoint is still active
curl http://loclahost:8090/env

{"profiles":[],"servletContextInitParams":{}, ....}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions