Skip to content

Commit 124e09a

Browse files
committed
Add rpc to request a SPIRE identifier for a given zoneid
1 parent 5d255ea commit 124e09a

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

protect/control/v1/control.proto

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,8 @@ service ControlService {
5555
rpc SetHostPowerManagementPolicy(SetHostPowerManagementPolicyRequest) returns (SetHostPowerManagementPolicyReply);
5656

5757
rpc DialNetworkSocket(stream DialNetworkSocketRequest) returns (stream DialNetworkSocketReply);
58+
59+
rpc SpireMetadata(stream SpireMetadataRequest) returns (stream SpireMetadataReply);
5860
}
5961

6062
message GetHostStatusRequest {}
@@ -118,6 +120,14 @@ message ZoneKernelEventStreamUpdate {
118120

119121
message ZoneKernelEventStreamStop {}
120122

123+
message SpireMetadataRequest {
124+
string zoneID = 1;
125+
}
126+
127+
message SpireMetadataReply {
128+
string identifier = 1;
129+
}
130+
121131
// roughly maps to libscap's `scap_threadinfo` type.
122132
message ZoneKernelThreadInfo {
123133
optional uint64 tid = 1;

0 commit comments

Comments
 (0)