Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Retrieve health check definition #7330

Closed
dani-e-l opened this issue Feb 21, 2020 · 2 comments
Closed

Retrieve health check definition #7330

dani-e-l opened this issue Feb 21, 2020 · 2 comments
Labels
theme/health-checks Health Check functionality type/enhancement Proposed improvement or new feature

Comments

@dani-e-l
Copy link

Feature Description

There is no possibility to get health definition.

https://discuss.hashicorp.com/t/is-there-a-way-to-retrieve-a-health-check-definition-with-the-api/6107

Use Case(s)

We would like to use consul as a single point of truth about services.
We save there health check definition.
Unfortunately there is no possibility to retrievie this definition.

There is possibillity to get service definition but not health check definition. I do not understand why....

Please add such feature. It should be quite easy but usefull.

@pierresouchay
Copy link
Contributor

I think it is a duplicate of #1680

There are security reasons why you don't want to do that (for instance, you might have a password in your checks settings).
In our infrastructure, we handle this using the "notes" attributes which is properly retrieved, thus allowing us to get this information.

For an HTTP check, you can put the same value as in your HTTP field (but hiding the possible user/passwords), so it is available from your UIs as information, but not for an attacker

@danielehc danielehc added theme/health-checks Health Check functionality type/enhancement Proposed improvement or new feature labels Apr 17, 2020
@jsosulska
Copy link
Contributor

Hello,

As there has been no movement on this topic, and it is a duplicate as @pierresouchay pointed out, I'll be closing this issue. Please follow #1680 and 👍 if this is something you are looking for.

Happy Coding!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
theme/health-checks Health Check functionality type/enhancement Proposed improvement or new feature
Projects
None yet
Development

No branches or pull requests

4 participants