|
@@ -17,34 +17,50 @@ package jarvis
|
|
|
|
|
|
|
|
// Data is a nested struct in jarvis response
|
|
// Data is a nested struct in jarvis response
|
|
|
type Data struct {
|
|
type Data struct {
|
|
|
- GmtExpire string `json:"GmtExpire" xml:"GmtExpire"`
|
|
|
|
|
- TacticsName string `json:"TacticsName" xml:"TacticsName"`
|
|
|
|
|
- SrcPort int `json:"SrcPort" xml:"SrcPort"`
|
|
|
|
|
- RiskType string `json:"RiskType" xml:"RiskType"`
|
|
|
|
|
- FeedBack int `json:"FeedBack" xml:"FeedBack"`
|
|
|
|
|
- Reason string `json:"Reason" xml:"Reason"`
|
|
|
|
|
- GmtCreate string `json:"GmtCreate" xml:"GmtCreate"`
|
|
|
|
|
- RegionId string `json:"RegionId" xml:"RegionId"`
|
|
|
|
|
- RiskInstance string `json:"RiskInstance" xml:"RiskInstance"`
|
|
|
|
|
- IgnoreTime string `json:"IgnoreTime" xml:"IgnoreTime"`
|
|
|
|
|
- DstIP string `json:"DstIP" xml:"DstIP"`
|
|
|
|
|
- Product string `json:"Product" xml:"Product"`
|
|
|
|
|
- Protocol string `json:"Protocol" xml:"Protocol"`
|
|
|
|
|
- PunishCount int `json:"PunishCount" xml:"PunishCount"`
|
|
|
|
|
- UpdateTime string `json:"UpdateTime" xml:"UpdateTime"`
|
|
|
|
|
- SrcIP string `json:"SrcIP" xml:"SrcIP"`
|
|
|
|
|
- DstPort int `json:"DstPort" xml:"DstPort"`
|
|
|
|
|
- AutoConfig int `json:"AutoConfig" xml:"AutoConfig"`
|
|
|
|
|
- PunishType string `json:"PunishType" xml:"PunishType"`
|
|
|
|
|
- GroupId int `json:"GroupId" xml:"GroupId"`
|
|
|
|
|
- PunishResult string `json:"PunishResult" xml:"PunishResult"`
|
|
|
|
|
- RiskDescribe string `json:"RiskDescribe" xml:"RiskDescribe"`
|
|
|
|
|
- RiskId int `json:"RiskId" xml:"RiskId"`
|
|
|
|
|
- Status string `json:"Status" xml:"Status"`
|
|
|
|
|
- GmtRealExpire string `json:"GmtRealExpire" xml:"GmtRealExpire"`
|
|
|
|
|
- SrcUid string `json:"SrcUid" xml:"SrcUid"`
|
|
|
|
|
- InstanceList []string `json:"InstanceList" xml:"InstanceList"`
|
|
|
|
|
- Items []Item `json:"Items" xml:"Items"`
|
|
|
|
|
- RdsWhitelistRisk []RdsWhitelistRiskItem `json:"RdsWhitelistRisk" xml:"RdsWhitelistRisk"`
|
|
|
|
|
- EcsSecGroupRisk []EcsSecGroupRiskItem `json:"EcsSecGroupRisk" xml:"EcsSecGroupRisk"`
|
|
|
|
|
|
|
+ Region string `json:"Region" xml:"Region"`
|
|
|
|
|
+ GmtExpire string `json:"GmtExpire" xml:"GmtExpire"`
|
|
|
|
|
+ IP string `json:"IP" xml:"IP"`
|
|
|
|
|
+ CreateTime string `json:"CreateTime" xml:"CreateTime"`
|
|
|
|
|
+ TacticsName string `json:"TacticsName" xml:"TacticsName"`
|
|
|
|
|
+ SrcIp string `json:"SrcIp" xml:"SrcIp"`
|
|
|
|
|
+ SrcPort int `json:"SrcPort" xml:"SrcPort"`
|
|
|
|
|
+ RiskType string `json:"RiskType" xml:"RiskType"`
|
|
|
|
|
+ State int `json:"State" xml:"State"`
|
|
|
|
|
+ VendorAliuid int `json:"VendorAliuid" xml:"VendorAliuid"`
|
|
|
|
|
+ FeedBack int `json:"FeedBack" xml:"FeedBack"`
|
|
|
|
|
+ Reason string `json:"Reason" xml:"Reason"`
|
|
|
|
|
+ GmtCreate string `json:"GmtCreate" xml:"GmtCreate"`
|
|
|
|
|
+ RegionId string `json:"RegionId" xml:"RegionId"`
|
|
|
|
|
+ IpSeg string `json:"IpSeg" xml:"IpSeg"`
|
|
|
|
|
+ RiskInstance string `json:"RiskInstance" xml:"RiskInstance"`
|
|
|
|
|
+ InsProduct string `json:"InsProduct" xml:"InsProduct"`
|
|
|
|
|
+ InstanceId string `json:"InstanceId" xml:"InstanceId"`
|
|
|
|
|
+ IgnoreTime string `json:"IgnoreTime" xml:"IgnoreTime"`
|
|
|
|
|
+ DstIP string `json:"DstIP" xml:"DstIP"`
|
|
|
|
|
+ SubscriptionState int `json:"SubscriptionState" xml:"SubscriptionState"`
|
|
|
|
|
+ Id int `json:"Id" xml:"Id"`
|
|
|
|
|
+ Product string `json:"Product" xml:"Product"`
|
|
|
|
|
+ Protocol string `json:"Protocol" xml:"Protocol"`
|
|
|
|
|
+ PunishCount int `json:"PunishCount" xml:"PunishCount"`
|
|
|
|
|
+ UpdateTime string `json:"UpdateTime" xml:"UpdateTime"`
|
|
|
|
|
+ SafetyFactor string `json:"SafetyFactor" xml:"SafetyFactor"`
|
|
|
|
|
+ InstanceName string `json:"InstanceName" xml:"InstanceName"`
|
|
|
|
|
+ SrcIP string `json:"SrcIP" xml:"SrcIP"`
|
|
|
|
|
+ DstPort int `json:"DstPort" xml:"DstPort"`
|
|
|
|
|
+ AutoConfig int `json:"AutoConfig" xml:"AutoConfig"`
|
|
|
|
|
+ PunishType string `json:"PunishType" xml:"PunishType"`
|
|
|
|
|
+ GroupId int `json:"GroupId" xml:"GroupId"`
|
|
|
|
|
+ PunishResult string `json:"PunishResult" xml:"PunishResult"`
|
|
|
|
|
+ RiskDescribe string `json:"RiskDescribe" xml:"RiskDescribe"`
|
|
|
|
|
+ VendorName string `json:"VendorName" xml:"VendorName"`
|
|
|
|
|
+ Status string `json:"Status" xml:"Status"`
|
|
|
|
|
+ GmtRealExpire string `json:"GmtRealExpire" xml:"GmtRealExpire"`
|
|
|
|
|
+ RiskId int `json:"RiskId" xml:"RiskId"`
|
|
|
|
|
+ SrcUid string `json:"SrcUid" xml:"SrcUid"`
|
|
|
|
|
+ ItemSign string `json:"ItemSign" xml:"ItemSign"`
|
|
|
|
|
+ DstIp string `json:"DstIp" xml:"DstIp"`
|
|
|
|
|
+ InstanceList []string `json:"InstanceList" xml:"InstanceList"`
|
|
|
|
|
+ Items []Item `json:"Items" xml:"Items"`
|
|
|
|
|
+ RdsWhitelistRisk []RdsWhitelistRiskItem `json:"RdsWhitelistRisk" xml:"RdsWhitelistRisk"`
|
|
|
|
|
+ EcsSecGroupRisk []EcsSecGroupRiskItem `json:"EcsSecGroupRisk" xml:"EcsSecGroupRisk"`
|
|
|
}
|
|
}
|