Skip to content
This repository was archived by the owner on Jul 27, 2023. It is now read-only.
This repository was archived by the owner on Jul 27, 2023. It is now read-only.

API ping() uses an endpoint that is secured by ACLs #421

@dekimsey

Description

@dekimsey

Issue

We were debugging an issue CONSUL_HTTP_TOKEN would cause the application not to start. We found the ping() call was hitting agent/self which requires the agent:read privilege. Our token does not have that privilege.

Solution

An ACL-less option for ping would be /status/leader or /status/peers which do not require an ACL to contact. I think this would better reflect the desired behavior of ping().

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