diff --git a/v1/client/client.proto b/v1/client/client.proto index 29b97fb..4a89c29 100644 --- a/v1/client/client.proto +++ b/v1/client/client.proto @@ -75,6 +75,15 @@ message StopServiceLocationRequest { string pubkey = 2; } +message ManagedInterfaceData { + string interface_name = 1; + InterfaceData data = 2; +} + +message ListInterfacesResponse { + repeated ManagedInterfaceData interfaces = 1; +} + // service used by desktop clients to communicate with interface management // daemon service DesktopDaemonService { @@ -84,4 +93,5 @@ service DesktopDaemonService { rpc SaveServiceLocations(SaveServiceLocationsRequest) returns (google.protobuf.Empty); 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); }