Skip to content

Commit cccf9e6

Browse files
committed
feat(agents): Agent model updated for Keyfactor Command 10.x.
1 parent 551bf00 commit cccf9e6

File tree

1 file changed

+19
-1
lines changed

1 file changed

+19
-1
lines changed

v2/api/agent_models.go

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
package api
22

3-
type Agent struct {
3+
type Agent9x struct {
44
AgentId string `json:"AgentId"`
55
AgentPoolId string `json:"AgentPoolId"`
66
ClientMachine string `json:"ClientMachine"`
@@ -14,3 +14,21 @@ type Agent struct {
1414
Thumbprint string `json:"Thumbprint"`
1515
LegacyThumbprint string `json:"LegacyThumbprint"`
1616
}
17+
18+
type Agent struct {
19+
AgentId string `json:"AgentId"`
20+
ClientMachine string `json:"ClientMachine"`
21+
Username string `json:"Username"`
22+
AgentPlatform int `json:"AgentPlatform"`
23+
Status int `json:"Status"`
24+
Version string `json:"Version"`
25+
LastSeen string `json:"LastSeen"`
26+
Capabilities []string `json:"Capabilities"`
27+
Blueprint string `json:"Blueprint"`
28+
Thumbprint string `json:"Thumbprint"`
29+
LegacyThumbprint string `json:"LegacyThumbprint"`
30+
AuthCertificateReenrollment string `json:"AuthCertificateReenrollment"`
31+
LastThumbprintUsed string `json:"LastThumbprintUsed"`
32+
LastErrorCode int `json:"LastErrorCode"`
33+
LastErrorMessage string `json:"LastErrorMessage"`
34+
}

0 commit comments

Comments
 (0)