Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Event ¶ added in v0.0.53
type Event struct { HostId *string `json:"host_id,omitempty"` HostName *string `json:"host_name,omitempty"` EventType *string `json:"event_type,omitempty"` OccurTime *int64 `json:"occur_time,omitempty"` HandleTime *int64 `json:"handle_time,omitempty"` HandleStatus *string `json:"handle_status,omitempty"` HandleMethod *string `json:"handle_method,omitempty"` AppendInfo *interface{} `json:"append_info,omitempty"` }
type Host ¶
type Host struct { AgentId *string `json:"agent_id,omitempty"` HostId *string `json:"host_id,omitempty"` HostName *string `json:"host_name,omitempty"` HostIp *string `json:"host_ip,omitempty"` PublicIp *string `json:"public_ip,omitempty"` EnterpriseProjectName *string `json:"enterprise_project_name,omitempty"` GroupName *string `json:"group_name,omitempty"` ExpireTime *int64 `json:"expire_time,omitempty"` PolicyGroupName *string `json:"policy_group_name,omitempty"` HostStatus *string `json:"host_status,omitempty"` AgentStatus *string `json:"agent_status,omitempty"` Version *string `json:"version,omitempty"` ProtectStatus *string `json:"protect_status,omitempty"` OsImage *string `json:"os_image,omitempty"` OsType *string `json:"os_type,omitempty"` OsBit *string `json:"os_bit,omitempty"` DetectResult *string `json:"detect_result,omitempty"` RiskPortNum *int32 `json:"risk_port_num,omitempty"` RiskVulNum *int32 `json:"risk_vul_num,omitempty"` RiskIntrusionNum *int32 `json:"risk_intrusion_num,omitempty"` RiskBaselineNum *int32 `json:"risk_baseline_num,omitempty"` ChargingMode *string `json:"charging_mode,omitempty"` ResourceId *string `json:"resource_id,omitempty"` }
type ListEventsRequest ¶ added in v0.0.53
type ListEventsRequest struct { BeginTime string `json:"begin_time"` EndTime string `json:"end_time"` HostName *string `json:"host_name,omitempty"` EventTypes []string `json:"event_types"` HandleStatus *string `json:"handle_status,omitempty"` Limit *int32 `json:"limit,omitempty"` Offset *int32 `json:"offset,omitempty"` }
Request Object
func (ListEventsRequest) String ¶ added in v0.0.53
func (o ListEventsRequest) String() string
type ListEventsResponse ¶ added in v0.0.53
type ListEventsResponse struct { TotalNum *int32 `json:"total_num,omitempty"` DataList *[]Event `json:"data_list,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListEventsResponse) String ¶ added in v0.0.53
func (o ListEventsResponse) String() string
type ListHostsRequest ¶
type ListHostsRequest struct { Version *string `json:"version,omitempty"` AgentStatus *string `json:"agent_status,omitempty"` HostStatus *string `json:"host_status,omitempty"` ProtectStatus *string `json:"protect_status,omitempty"` DetectResult *string `json:"detect_result,omitempty"` HostName *string `json:"host_name,omitempty"` HostIp *string `json:"host_ip,omitempty"` PublicIp *string `json:"public_ip,omitempty"` OsType *string `json:"os_type,omitempty"` ChargingMode *string `json:"charging_mode,omitempty"` Limit *int32 `json:"limit,omitempty"` Offset *int32 `json:"offset,omitempty"` }
Request Object
func (ListHostsRequest) String ¶
func (o ListHostsRequest) String() string
type ListHostsResponse ¶
type ListHostsResponse struct { TotalNum *int32 `json:"total_num,omitempty"` DataList *[]Host `json:"data_list,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListHostsResponse) String ¶
func (o ListHostsResponse) String() string
Click to show internal directories.
Click to hide internal directories.