From afe6a8514f4dd2e06ce9776ba5fc6469c17009fc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adam=20Ciarcin=CC=81ski?= Date: Tue, 24 Nov 2026 17:51:14 +0100 Subject: [PATCH 1/2] Auto-update --- v1/client/client.proto | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/v1/client/client.proto b/v1/client/client.proto index 7792786..bb53934 100644 --- a/v1/client/client.proto +++ b/v1/client/client.proto @@ -90,6 +90,11 @@ message ListInterfacesResponse { repeated ManagedInterfaceData interfaces = 1; } +message StartUpdateResponse { + // Version the daemon is installing. + string version = 1; +} + // service used by desktop clients to communicate with interface management // daemon service DesktopDaemonService { @@ -100,4 +105,7 @@ service DesktopDaemonService { rpc DeleteServiceLocations(DeleteServiceLocationsRequest) returns (google.protobuf.Empty); rpc GetPostureData(google.protobuf.Empty) returns (defguard.enterprise.posture.v2.DevicePostureData); rpc ListInterfaces(google.protobuf.Empty) returns (ListInterfacesResponse); + // Downloads, verifies and installs the latest client release. The daemon picks the version and + // package itself, so callers cannot choose what gets installed. + rpc StartUpdate(google.protobuf.Empty) returns (StartUpdateResponse); } From f57358211a13a6ecbdf7e718dd2e3eb73ab734bb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adam=20Ciarcin=CC=81ski?= Date: Thu, 26 Nov 2026 14:28:23 +0100 Subject: [PATCH 2/2] Simplify comment --- v1/client/client.proto | 2 -- 1 file changed, 2 deletions(-) diff --git a/v1/client/client.proto b/v1/client/client.proto index bb53934..ae2e153 100644 --- a/v1/client/client.proto +++ b/v1/client/client.proto @@ -105,7 +105,5 @@ service DesktopDaemonService { rpc DeleteServiceLocations(DeleteServiceLocationsRequest) returns (google.protobuf.Empty); rpc GetPostureData(google.protobuf.Empty) returns (defguard.enterprise.posture.v2.DevicePostureData); rpc ListInterfaces(google.protobuf.Empty) returns (ListInterfacesResponse); - // Downloads, verifies and installs the latest client release. The daemon picks the version and - // package itself, so callers cannot choose what gets installed. rpc StartUpdate(google.protobuf.Empty) returns (StartUpdateResponse); }