Add external ID to host output (#1705)
This also fixes a bug if no hosts were returned where the job would run over and over in a loop, and some other cleanup.
This commit is contained in:
1 parent
4bf86e6394
commit
b3fd23863f
13 files changed
+147
-54
No files matched your search
@@ -28,6 +28,7 @@ type Host struct {
|
||||
Attributes map[string]interface{} `json:"attributes,omitempty"`
|
||||
IpAddresses []string `json:"ip_addresses,omitempty"`
|
||||
DnsNames []string `json:"dns_names,omitempty"`
|
||||
ExternalId string `json:"external_id,omitempty"`
|
||||
AuthorizedActions []string `json:"authorized_actions,omitempty"`
|
||||
|
||||
response *api.Response
|
||||
|
||||
Reference in new issue
Block a user