Please make version available through either api or web interface
Description
Release-argus is a handy low-rent monitor that compares versions it finds in github (or at a URL) to versions found in api's or at a URL (using regex to parse out the version number).
This would be convenient for monitoring change as it comes.
This is a nice to have.
If this represents a security risk I totally understand, maybe give it a toggle in settings for user control, and/or put it behind authentication?
Thank you for this awesome software
Not possible, Headscale doesn't make this information available and I don't want to make this information available either. I might reconsider, but it is technically there on the UI at the bottom of the signed in page (intended since you are already authenticated).
thank you, I'm fine with this... how would I get release argus to do the authentication? It's capable of basic auth or custom headers. I did experiment with a few common header configurations but nothing seems to work. X-API-KEY (or X-API-TOKEN) with <api key value> didn't work and Authorization with Bearer <api key value> didn't work either (these were tried as I haven't found any documentation about how this might be achieved and these are working for other apps I'm using with this system).
I'm happy to work with the existing setup if I can get release argus to authenticate.
Thank you
This isn't released yet, but I've added a feature on main where setting server.info_secret to a value allows you to access <url>/admin/api/info with a Bearer {info_secret} Authorization header. The response may look something like this:
{
"status": "healthy",
"headplane_version": "0.6.1",
"headscale_version": "unknown",
"internal_versions": {
"node": "22.18.0",
"v8": "12.4.254.21-node.27",
"uv": "1.51.0",
"zlib": "1.3.1-470d3a2",
"openssl": "3.0.16"
}
}
Thoughts?
That looks perfect. I look forward to it.
Again, thank you for the awesome software