Skip to content

Commit

Permalink
Merge pull request #176 from microsoft/user/sethbe/SecurityType
Browse files Browse the repository at this point in the history
Adding SecurityType to ProtoBuf
  • Loading branch information
SethBe authored Jun 15, 2023
2 parents 4e6e5d5 + 5e0302c commit a175882
Show file tree
Hide file tree
Showing 8 changed files with 356 additions and 297 deletions.
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ require (
github.com/kr/pretty v0.1.0 // indirect
golang.org/x/net v0.8.0 // indirect
golang.org/x/sys v0.6.0 // indirect
golang.org/x/text v0.9.0 // indirect
golang.org/x/text v0.10.0 // indirect
google.golang.org/genproto v0.0.0-20200128133413-58ce757ed39b // indirect
google.golang.org/protobuf v1.30.0 // indirect
gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15 // indirect
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,8 @@ golang.org/x/term v0.0.0-20210927222741-03fcf44c2211/go.mod h1:jbD1KX2456YbFQfuX
golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
golang.org/x/text v0.3.3/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ=
golang.org/x/text v0.3.7/go.mod h1:u+2+/6zg+i71rQMx5EYifcz6MCKuco9NR6JIITiCfzQ=
golang.org/x/text v0.9.0 h1:2sjJmO8cDvYveuX97RDLsxlyUxLl+GHoLxBiRdHllBE=
golang.org/x/text v0.9.0/go.mod h1:e1OnstbJyHTd6l/uOt8jFFHp6TRDWZR/bV3emEE/zU8=
golang.org/x/text v0.10.0 h1:UpjohKhiEgNc0CSauXmwYftY1+LlaC75SJwh0SgCX58=
golang.org/x/text v0.10.0/go.mod h1:TvPlkZtksWOMsz7fbANvkp4WM8x/WCo/om8BMLbz+aE=
golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ=
golang.org/x/tools v0.0.0-20190114222345-bf090417da8b/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ=
golang.org/x/tools v0.0.0-20190226205152-f727befe758c/go.mod h1:9Yl7xja0Znq3iFh3HoIrodX9oNMXvdceNzlUR8zjMvY=
Expand Down
225 changes: 117 additions & 108 deletions rpc/cloudagent/compute/moc_cloudagent_virtualmachine.pb.go

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,7 @@ message UefiSettings {
message SecurityConfiguration {
bool enableTPM = 1;
UefiSettings uefiSettings = 2;
SecurityType securityType = 3;
}

message VirtualMachine {
Expand Down
188 changes: 110 additions & 78 deletions rpc/common/moc_common_computecommon.pb.go

Large diffs are not rendered by default.

6 changes: 6 additions & 0 deletions rpc/common/moc_common_computecommon.proto
Original file line number Diff line number Diff line change
Expand Up @@ -154,3 +154,9 @@ enum Architecture {
extend google.protobuf.FieldOptions {
bool sensitivecompute = 50002;
}

enum SecurityType {
NOTCONFIGURED = 0;
TRUSTEDLAUNCH = 1;
CONFIDENTIALVM = 2;
}
226 changes: 118 additions & 108 deletions rpc/nodeagent/compute/moc_nodeagent_virtualmachine.pb.go

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,7 @@ message UefiSettings {
message SecurityConfiguration {
bool enableTPM = 1;
UefiSettings uefiSettings = 2;
SecurityType securityType = 3;
}

message VirtualMachine {
Expand Down

0 comments on commit a175882

Please sign in to comment.