struct_asset.go 2.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. package aegis
  2. //Licensed under the Apache License, Version 2.0 (the "License");
  3. //you may not use this file except in compliance with the License.
  4. //You may obtain a copy of the License at
  5. //
  6. //http://www.apache.org/licenses/LICENSE-2.0
  7. //
  8. //Unless required by applicable law or agreed to in writing, software
  9. //distributed under the License is distributed on an "AS IS" BASIS,
  10. //WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  11. //See the License for the specific language governing permissions and
  12. //limitations under the License.
  13. //
  14. // Code generated by Alibaba Cloud SDK Code Generator.
  15. // Changes may cause incorrect behavior and will be lost if the code is regenerated.
  16. // Asset is a nested struct in aegis response
  17. type Asset struct {
  18. StrategyName string `json:"StrategyName" xml:"StrategyName"`
  19. VulCount int `json:"VulCount" xml:"VulCount"`
  20. Region string `json:"Region" xml:"Region"`
  21. InternetIp string `json:"InternetIp" xml:"InternetIp"`
  22. Ip string `json:"Ip" xml:"Ip"`
  23. InstanceName string `json:"InstanceName" xml:"InstanceName"`
  24. Id int `json:"Id" xml:"Id"`
  25. RegionName string `json:"RegionName" xml:"RegionName"`
  26. Uuid string `json:"Uuid" xml:"Uuid"`
  27. MachineName string `json:"MachineName" xml:"MachineName"`
  28. AllowSelected int `json:"AllowSelected" xml:"AllowSelected"`
  29. Os string `json:"Os" xml:"Os"`
  30. ProcessMethod int `json:"ProcessMethod" xml:"ProcessMethod"`
  31. Selected int `json:"Selected" xml:"Selected"`
  32. HealthCheckCount int `json:"HealthCheckCount" xml:"HealthCheckCount"`
  33. GroupId int `json:"GroupId" xml:"GroupId"`
  34. StrategyId int `json:"StrategyId" xml:"StrategyId"`
  35. SafeEventCount int `json:"SafeEventCount" xml:"SafeEventCount"`
  36. AssetType string `json:"AssetType" xml:"AssetType"`
  37. MachineIp string `json:"MachineIp" xml:"MachineIp"`
  38. ClientStatus string `json:"ClientStatus" xml:"ClientStatus"`
  39. IntranetIp string `json:"IntranetIp" xml:"IntranetIp"`
  40. SuspiciousEventCount int `json:"SuspiciousEventCount" xml:"SuspiciousEventCount"`
  41. }