Documentation ¶
Index ¶
- type AddGroupRequest
- type AddGroupRequestBody
- type AddGroupResponse
- type AuthorizeDomainsRequest
- type AuthorizeDomainsRequestBody
- type AuthorizeDomainsRequestBodyAuthMode
- type AuthorizeDomainsRequestBodyAuthModeEnum
- type AuthorizeDomainsResponse
- type AuthorizeDomainsResponseInfoCode
- type AuthorizeDomainsResponseInfoCodeEnum
- type BatchCreateHostsRequest
- type BatchCreateHostsRequestBody
- type BatchCreateHostsResponse
- type BatchStartHostTasksRequest
- type BatchStartHostTasksRequestBody
- type BatchStartHostTasksRequestBodyAction
- type BatchStartHostTasksRequestBodyActionEnum
- type BatchStartHostTasksResponse
- type BatchStartHostTasksResponseBodyResults
- type BusinessRiskItem
- type BusinessRiskItemRiskStatus
- type BusinessRiskItemRiskStatusEnum
- type BusinessRiskItemRiskType
- type BusinessRiskItemRiskTypeEnum
- type CancelTasksRequest
- type CancelTasksRequestBody
- type CancelTasksRequestBodyAction
- type CancelTasksRequestBodyActionEnum
- type CancelTasksResponse
- type CancelTasksResponseInfoCode
- type CancelTasksResponseInfoCodeEnum
- type CancelTasksResponseTaskStatus
- type CancelTasksResponseTaskStatusEnum
- type CreateDomainsRequest
- type CreateDomainsRequestBody
- type CreateDomainsResponse
- type CreateDomainsResponseInfoCode
- type CreateDomainsResponseInfoCodeEnum
- type CreateTasksRequest
- type CreateTasksRequestBody
- type CreateTasksRequestBodyTaskPeriod
- type CreateTasksRequestBodyTaskPeriodEnum
- type CreateTasksRequestBodyTaskType
- type CreateTasksRequestBodyTaskTypeEnum
- type CreateTasksResponse
- type CreateTasksResponseInfoCode
- type CreateTasksResponseInfoCodeEnum
- type CreateTasksResponseTaskStatus
- type CreateTasksResponseTaskStatusEnum
- type DeleteDomainsRequest
- type DeleteDomainsResponse
- type DeleteDomainsResponseInfoCode
- type DeleteDomainsResponseInfoCodeEnum
- type DeleteGroupRequest
- type DeleteGroupResponse
- type DeleteHostRequest
- type DeleteHostResponse
- type DomainItem
- type DomainItemAuthStatus
- type DomainItemAuthStatusEnum
- type DomainItemProtocolType
- type DomainItemProtocolTypeEnum
- type DomainSettings
- type DownloadTaskReportRequest
- type DownloadTaskReportResponse
- type ExecuteGenerateReportRequest
- type ExecuteGenerateReportRequestBody
- type ExecuteGenerateReportResponse
- type ExecuteGenerateReportResponseInfoCode
- type ExecuteGenerateReportResponseInfoCodeEnum
- type Group
- type HgHost
- type HgHostAuthStatus
- type HgHostAuthStatusEnum
- type HostItem
- type HostItemOsType
- type HostItemOsTypeEnum
- type HostItemWithId
- type HostItemWithIdOsType
- type HostItemWithIdOsTypeEnum
- type HostVulnItem
- type HostVulnItemComponentList
- type HostVulnItemCveList
- type HostVulnItemSeverity
- type HostVulnItemSeverityEnum
- type ListBusinessRisksRequest
- type ListBusinessRisksResponse
- type ListDomainsRequest
- type ListDomainsRequestAuthStatus
- type ListDomainsRequestAuthStatusEnum
- type ListDomainsResponse
- type ListGroupsRequest
- type ListGroupsResponse
- type ListHostResultsRequest
- type ListHostResultsResponse
- type ListHostsRequest
- type ListHostsResponse
- type ListPortResultsRequest
- type ListPortResultsResponse
- type ListTaskHistoriesRequest
- type ListTaskHistoriesResponse
- type OperateInfoResponseBody
- type OperateInfoResponseBodyInfoCode
- type OperateInfoResponseBodyInfoCodeEnum
- type PortItem
- type PortItemProtocol
- type PortItemProtocolEnum
- type PortItemStatus
- type PortItemStatusEnum
- type ScanInfoDetail
- type ShowDomainSettingsRequest
- type ShowDomainSettingsResponse
- type ShowReportStatusRequest
- type ShowReportStatusResponse
- type ShowReportStatusResponseReportStatus
- type ShowReportStatusResponseReportStatusEnum
- type ShowResultsRequest
- type ShowResultsResponse
- type ShowTasksRequest
- type ShowTasksResponse
- type ShowTasksResponseBody
- type ShowTasksResponseBodySafeLevel
- type ShowTasksResponseBodySafeLevelEnum
- type ShowTasksResponseBodyScheduleStatus
- type ShowTasksResponseBodyScheduleStatusEnum
- type ShowTasksResponseBodyTaskStatus
- type ShowTasksResponseBodyTaskStatusEnum
- type ShowTasksResponseBodyTaskType
- type ShowTasksResponseBodyTaskTypeEnum
- type ShowTasksResponseSafeLevel
- type ShowTasksResponseSafeLevelEnum
- type ShowTasksResponseScheduleStatus
- type ShowTasksResponseScheduleStatusEnum
- type ShowTasksResponseTaskStatus
- type ShowTasksResponseTaskStatusEnum
- type ShowTasksResponseTaskType
- type ShowTasksResponseTaskTypeEnum
- type TaskInfos
- type TaskInfosTaskType
- type TaskInfosTaskTypeEnum
- type TaskSettings
- type TaskSettingsTaskConfig
- type TaskSettingsTaskConfigScanMode
- type TaskSettingsTaskConfigScanModeEnum
- type TaskSettingsTaskPeriod
- type TaskSettingsTaskPeriodEnum
- type UpdateDomainSettingsRequest
- type UpdateDomainSettingsRequestBody
- type UpdateDomainSettingsResponse
- type UpdateDomainSettingsResponseBody
- type UpdateDomainSettingsResponseInfoCode
- type UpdateDomainSettingsResponseInfoCodeEnum
- type UpdateFalsePositiveRequest
- type UpdateFalsePositiveRequestBody
- type UpdateFalsePositiveRequestBodyVulnStatus
- type UpdateFalsePositiveRequestBodyVulnStatusEnum
- type UpdateFalsePositiveResponse
- type UpdateFalsePositiveResponseInfoCode
- type UpdateFalsePositiveResponseInfoCodeEnum
- type VulnItem
- type VulnItemSeverity
- type VulnItemSeverityEnum
- type VulnItemVulnStatus
- type VulnItemVulnStatusEnum
- type VulnsLevel
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AddGroupRequest ¶ added in v0.1.96
type AddGroupRequest struct {
Body *AddGroupRequestBody `json:"body,omitempty"`
}
AddGroupRequest Request Object
func (AddGroupRequest) String ¶ added in v0.1.96
func (o AddGroupRequest) String() string
type AddGroupRequestBody ¶ added in v0.1.96
type AddGroupRequestBody struct { // 群组名称 Name *string `json:"name,omitempty"` }
func (AddGroupRequestBody) String ¶ added in v0.1.96
func (o AddGroupRequestBody) String() string
type AddGroupResponse ¶ added in v0.1.96
type AddGroupResponse struct { // 群组ID Id *string `json:"id,omitempty"` // 群组名称 Name *string `json:"name,omitempty"` HttpStatusCode int `json:"-"` }
AddGroupResponse Response Object
func (AddGroupResponse) String ¶ added in v0.1.96
func (o AddGroupResponse) String() string
type AuthorizeDomainsRequest ¶
type AuthorizeDomainsRequest struct {
Body *AuthorizeDomainsRequestBody `json:"body,omitempty"`
}
AuthorizeDomainsRequest Request Object
func (AuthorizeDomainsRequest) String ¶
func (o AuthorizeDomainsRequest) String() string
type AuthorizeDomainsRequestBody ¶
type AuthorizeDomainsRequestBody struct { // 网站域名 DomainName string `json:"domain_name"` // 认证方式: * file - 文件认证 * auto - 一键认证 * free - 免认证,选择此项默认已阅读并了解下述使用要求 使用须知: 1、您的账号已完成实名认证,且非受限账号。 2、您确认您已获得对扫描对象进行扫描的相关合法权利。 3、您确认您的扫描行为有合法合理目的,且符合适用的法律法规要求,不得利用本服务从事任何黑灰产等非法活动。 4、若您违反上述承诺,我们有权立即终止您对本服务的使用,并要求您对我们及相关第三方因此遭受的损失进行赔偿。 AuthMode *AuthorizeDomainsRequestBodyAuthMode `json:"auth_mode,omitempty"` }
func (AuthorizeDomainsRequestBody) String ¶
func (o AuthorizeDomainsRequestBody) String() string
type AuthorizeDomainsRequestBodyAuthMode ¶
type AuthorizeDomainsRequestBodyAuthMode struct {
// contains filtered or unexported fields
}
func (AuthorizeDomainsRequestBodyAuthMode) MarshalJSON ¶
func (c AuthorizeDomainsRequestBodyAuthMode) MarshalJSON() ([]byte, error)
func (*AuthorizeDomainsRequestBodyAuthMode) UnmarshalJSON ¶
func (c *AuthorizeDomainsRequestBodyAuthMode) UnmarshalJSON(b []byte) error
func (AuthorizeDomainsRequestBodyAuthMode) Value ¶
func (c AuthorizeDomainsRequestBodyAuthMode) Value() string
type AuthorizeDomainsRequestBodyAuthModeEnum ¶
type AuthorizeDomainsRequestBodyAuthModeEnum struct { FILE AuthorizeDomainsRequestBodyAuthMode AUTO AuthorizeDomainsRequestBodyAuthMode FREE AuthorizeDomainsRequestBodyAuthMode }
func GetAuthorizeDomainsRequestBodyAuthModeEnum ¶
func GetAuthorizeDomainsRequestBodyAuthModeEnum() AuthorizeDomainsRequestBodyAuthModeEnum
type AuthorizeDomainsResponse ¶
type AuthorizeDomainsResponse struct { // 状态码: * success - 成功 * failure - 失败 InfoCode *AuthorizeDomainsResponseInfoCode `json:"info_code,omitempty"` // 返回的提示信息 InfoDescription *string `json:"info_description,omitempty"` // 网站域名认证使用须知 UsageNotice *string `json:"usage_notice,omitempty"` HttpStatusCode int `json:"-"` }
AuthorizeDomainsResponse Response Object
func (AuthorizeDomainsResponse) String ¶
func (o AuthorizeDomainsResponse) String() string
type AuthorizeDomainsResponseInfoCode ¶
type AuthorizeDomainsResponseInfoCode struct {
// contains filtered or unexported fields
}
func (AuthorizeDomainsResponseInfoCode) MarshalJSON ¶
func (c AuthorizeDomainsResponseInfoCode) MarshalJSON() ([]byte, error)
func (*AuthorizeDomainsResponseInfoCode) UnmarshalJSON ¶
func (c *AuthorizeDomainsResponseInfoCode) UnmarshalJSON(b []byte) error
func (AuthorizeDomainsResponseInfoCode) Value ¶
func (c AuthorizeDomainsResponseInfoCode) Value() string
type AuthorizeDomainsResponseInfoCodeEnum ¶
type AuthorizeDomainsResponseInfoCodeEnum struct { SUCCESS AuthorizeDomainsResponseInfoCode FAILURE AuthorizeDomainsResponseInfoCode }
func GetAuthorizeDomainsResponseInfoCodeEnum ¶
func GetAuthorizeDomainsResponseInfoCodeEnum() AuthorizeDomainsResponseInfoCodeEnum
type BatchCreateHostsRequest ¶ added in v0.1.96
type BatchCreateHostsRequest struct {
Body *BatchCreateHostsRequestBody `json:"body,omitempty"`
}
BatchCreateHostsRequest Request Object
func (BatchCreateHostsRequest) String ¶ added in v0.1.96
func (o BatchCreateHostsRequest) String() string
type BatchCreateHostsRequestBody ¶ added in v0.1.96
type BatchCreateHostsRequestBody struct { // 主机资产列表 Hosts []HostItem `json:"hosts"` }
func (BatchCreateHostsRequestBody) String ¶ added in v0.1.96
func (o BatchCreateHostsRequestBody) String() string
type BatchCreateHostsResponse ¶ added in v0.1.96
type BatchCreateHostsResponse struct { // 创建的主机列表 Items *[]HostItemWithId `json:"items,omitempty"` // 主机总数 Total *int32 `json:"total,omitempty"` HttpStatusCode int `json:"-"` }
BatchCreateHostsResponse Response Object
func (BatchCreateHostsResponse) String ¶ added in v0.1.96
func (o BatchCreateHostsResponse) String() string
type BatchStartHostTasksRequest ¶ added in v0.1.96
type BatchStartHostTasksRequest struct {
Body *BatchStartHostTasksRequestBody `json:"body,omitempty"`
}
BatchStartHostTasksRequest Request Object
func (BatchStartHostTasksRequest) String ¶ added in v0.1.96
func (o BatchStartHostTasksRequest) String() string
type BatchStartHostTasksRequestBody ¶ added in v0.1.96
type BatchStartHostTasksRequestBody struct { // 主机ID列表 Hosts *[]string `json:"hosts,omitempty"` // 对扫描任务的操作: * start - 启动 * cancel - 取消 Action *BatchStartHostTasksRequestBodyAction `json:"action,omitempty"` }
func (BatchStartHostTasksRequestBody) String ¶ added in v0.1.96
func (o BatchStartHostTasksRequestBody) String() string
type BatchStartHostTasksRequestBodyAction ¶ added in v0.1.96
type BatchStartHostTasksRequestBodyAction struct {
// contains filtered or unexported fields
}
func (BatchStartHostTasksRequestBodyAction) MarshalJSON ¶ added in v0.1.96
func (c BatchStartHostTasksRequestBodyAction) MarshalJSON() ([]byte, error)
func (*BatchStartHostTasksRequestBodyAction) UnmarshalJSON ¶ added in v0.1.96
func (c *BatchStartHostTasksRequestBodyAction) UnmarshalJSON(b []byte) error
func (BatchStartHostTasksRequestBodyAction) Value ¶ added in v0.1.96
func (c BatchStartHostTasksRequestBodyAction) Value() string
type BatchStartHostTasksRequestBodyActionEnum ¶ added in v0.1.96
type BatchStartHostTasksRequestBodyActionEnum struct { START BatchStartHostTasksRequestBodyAction CANCEL BatchStartHostTasksRequestBodyAction }
func GetBatchStartHostTasksRequestBodyActionEnum ¶ added in v0.1.96
func GetBatchStartHostTasksRequestBodyActionEnum() BatchStartHostTasksRequestBodyActionEnum
type BatchStartHostTasksResponse ¶ added in v0.1.96
type BatchStartHostTasksResponse struct { // 扫描任务ID对应主机id列表 Results *[]BatchStartHostTasksResponseBodyResults `json:"results,omitempty"` HttpStatusCode int `json:"-"` }
BatchStartHostTasksResponse Response Object
func (BatchStartHostTasksResponse) String ¶ added in v0.1.96
func (o BatchStartHostTasksResponse) String() string
type BatchStartHostTasksResponseBodyResults ¶ added in v0.1.96
type BatchStartHostTasksResponseBodyResults struct { // 扫描ID ScanId *string `json:"scan_id,omitempty"` // 主机ID HostId *string `json:"host_id,omitempty"` }
func (BatchStartHostTasksResponseBodyResults) String ¶ added in v0.1.96
func (o BatchStartHostTasksResponseBodyResults) String() string
type BusinessRiskItem ¶
type BusinessRiskItem struct { // 业务风险ID RiskId *string `json:"risk_id,omitempty"` // 有风险的URL RiskUrl *string `json:"risk_url,omitempty"` // 业务风险类型: * text - 不合规文字 * image - 不合规图片 * dead_link - 不合规链接(死链) * dark_link - 不合规链接(暗链) * business_risk - 业务风险 RiskType *BusinessRiskItemRiskType `json:"risk_type,omitempty"` // 业务风险发现时间 FindTime *string `json:"find_time,omitempty"` // 业务风险内容 RiskContent *string `json:"risk_content,omitempty"` // 漏洞状态: * repairing - 未修复 * repaired - 已修复 * false_report - 误报,已忽略 RiskStatus *BusinessRiskItemRiskStatus `json:"risk_status,omitempty"` }
func (BusinessRiskItem) String ¶
func (o BusinessRiskItem) String() string
type BusinessRiskItemRiskStatus ¶
type BusinessRiskItemRiskStatus struct {
// contains filtered or unexported fields
}
func (BusinessRiskItemRiskStatus) MarshalJSON ¶
func (c BusinessRiskItemRiskStatus) MarshalJSON() ([]byte, error)
func (*BusinessRiskItemRiskStatus) UnmarshalJSON ¶
func (c *BusinessRiskItemRiskStatus) UnmarshalJSON(b []byte) error
func (BusinessRiskItemRiskStatus) Value ¶
func (c BusinessRiskItemRiskStatus) Value() string
type BusinessRiskItemRiskStatusEnum ¶
type BusinessRiskItemRiskStatusEnum struct { REPAIRING BusinessRiskItemRiskStatus REPAIRED BusinessRiskItemRiskStatus FALSE_REPORT BusinessRiskItemRiskStatus }
func GetBusinessRiskItemRiskStatusEnum ¶
func GetBusinessRiskItemRiskStatusEnum() BusinessRiskItemRiskStatusEnum
type BusinessRiskItemRiskType ¶
type BusinessRiskItemRiskType struct {
// contains filtered or unexported fields
}
func (BusinessRiskItemRiskType) MarshalJSON ¶
func (c BusinessRiskItemRiskType) MarshalJSON() ([]byte, error)
func (*BusinessRiskItemRiskType) UnmarshalJSON ¶
func (c *BusinessRiskItemRiskType) UnmarshalJSON(b []byte) error
func (BusinessRiskItemRiskType) Value ¶
func (c BusinessRiskItemRiskType) Value() string
type BusinessRiskItemRiskTypeEnum ¶
type BusinessRiskItemRiskTypeEnum struct { TEXT BusinessRiskItemRiskType IMAGE BusinessRiskItemRiskType DEAD_LINK BusinessRiskItemRiskType DARK_LINK BusinessRiskItemRiskType BUSINESS_RISK BusinessRiskItemRiskType }
func GetBusinessRiskItemRiskTypeEnum ¶
func GetBusinessRiskItemRiskTypeEnum() BusinessRiskItemRiskTypeEnum
type CancelTasksRequest ¶
type CancelTasksRequest struct {
Body *CancelTasksRequestBody `json:"body,omitempty"`
}
CancelTasksRequest Request Object
func (CancelTasksRequest) String ¶
func (o CancelTasksRequest) String() string
type CancelTasksRequestBody ¶
type CancelTasksRequestBody struct { // 任务ID TaskId string `json:"task_id"` // 对扫描任务的操作: * cancel - 取消扫描任务 * restart - 重启扫描任务 Action CancelTasksRequestBodyAction `json:"action"` }
func (CancelTasksRequestBody) String ¶
func (o CancelTasksRequestBody) String() string
type CancelTasksRequestBodyAction ¶
type CancelTasksRequestBodyAction struct {
// contains filtered or unexported fields
}
func (CancelTasksRequestBodyAction) MarshalJSON ¶
func (c CancelTasksRequestBodyAction) MarshalJSON() ([]byte, error)
func (*CancelTasksRequestBodyAction) UnmarshalJSON ¶
func (c *CancelTasksRequestBodyAction) UnmarshalJSON(b []byte) error
func (CancelTasksRequestBodyAction) Value ¶
func (c CancelTasksRequestBodyAction) Value() string
type CancelTasksRequestBodyActionEnum ¶
type CancelTasksRequestBodyActionEnum struct { CANCEL CancelTasksRequestBodyAction RESTART CancelTasksRequestBodyAction }
func GetCancelTasksRequestBodyActionEnum ¶
func GetCancelTasksRequestBodyActionEnum() CancelTasksRequestBodyActionEnum
type CancelTasksResponse ¶
type CancelTasksResponse struct { // 状态码: * success - 成功 * failure - 失败 InfoCode *CancelTasksResponseInfoCode `json:"info_code,omitempty"` // 返回的提示信息 InfoDescription *string `json:"info_description,omitempty"` // 任务ID TaskId *string `json:"task_id,omitempty"` // 任务状态: * running - 正在运行 * success - 成功 * canceled - 已取消 * waiting - 正在等待 * ready - 已就绪,排队中 * failure - 失败 TaskStatus *CancelTasksResponseTaskStatus `json:"task_status,omitempty"` HttpStatusCode int `json:"-"` }
CancelTasksResponse Response Object
func (CancelTasksResponse) String ¶
func (o CancelTasksResponse) String() string
type CancelTasksResponseInfoCode ¶
type CancelTasksResponseInfoCode struct {
// contains filtered or unexported fields
}
func (CancelTasksResponseInfoCode) MarshalJSON ¶
func (c CancelTasksResponseInfoCode) MarshalJSON() ([]byte, error)
func (*CancelTasksResponseInfoCode) UnmarshalJSON ¶
func (c *CancelTasksResponseInfoCode) UnmarshalJSON(b []byte) error
func (CancelTasksResponseInfoCode) Value ¶
func (c CancelTasksResponseInfoCode) Value() string
type CancelTasksResponseInfoCodeEnum ¶
type CancelTasksResponseInfoCodeEnum struct { SUCCESS CancelTasksResponseInfoCode FAILURE CancelTasksResponseInfoCode }
func GetCancelTasksResponseInfoCodeEnum ¶
func GetCancelTasksResponseInfoCodeEnum() CancelTasksResponseInfoCodeEnum
type CancelTasksResponseTaskStatus ¶
type CancelTasksResponseTaskStatus struct {
// contains filtered or unexported fields
}
func (CancelTasksResponseTaskStatus) MarshalJSON ¶
func (c CancelTasksResponseTaskStatus) MarshalJSON() ([]byte, error)
func (*CancelTasksResponseTaskStatus) UnmarshalJSON ¶
func (c *CancelTasksResponseTaskStatus) UnmarshalJSON(b []byte) error
func (CancelTasksResponseTaskStatus) Value ¶
func (c CancelTasksResponseTaskStatus) Value() string
type CancelTasksResponseTaskStatusEnum ¶
type CancelTasksResponseTaskStatusEnum struct { RUNNING CancelTasksResponseTaskStatus SUCCESS CancelTasksResponseTaskStatus CANCELED CancelTasksResponseTaskStatus WAITING CancelTasksResponseTaskStatus READY CancelTasksResponseTaskStatus FAILURE CancelTasksResponseTaskStatus }
func GetCancelTasksResponseTaskStatusEnum ¶
func GetCancelTasksResponseTaskStatusEnum() CancelTasksResponseTaskStatusEnum
type CreateDomainsRequest ¶
type CreateDomainsRequest struct {
Body *CreateDomainsRequestBody `json:"body,omitempty"`
}
CreateDomainsRequest Request Object
func (CreateDomainsRequest) String ¶
func (o CreateDomainsRequest) String() string
type CreateDomainsRequestBody ¶
type CreateDomainsRequestBody struct { // 网站域名 DomainName string `json:"domain_name"` // 网站域名的别名 Alias string `json:"alias"` }
func (CreateDomainsRequestBody) String ¶
func (o CreateDomainsRequestBody) String() string
type CreateDomainsResponse ¶
type CreateDomainsResponse struct { // 状态码: * success - 成功 * failure - 失败 InfoCode *CreateDomainsResponseInfoCode `json:"info_code,omitempty"` // 返回的提示信息 InfoDescription *string `json:"info_description,omitempty"` // 网站域名ID DomainId *string `json:"domain_id,omitempty"` HttpStatusCode int `json:"-"` }
CreateDomainsResponse Response Object
func (CreateDomainsResponse) String ¶
func (o CreateDomainsResponse) String() string
type CreateDomainsResponseInfoCode ¶
type CreateDomainsResponseInfoCode struct {
// contains filtered or unexported fields
}
func (CreateDomainsResponseInfoCode) MarshalJSON ¶
func (c CreateDomainsResponseInfoCode) MarshalJSON() ([]byte, error)
func (*CreateDomainsResponseInfoCode) UnmarshalJSON ¶
func (c *CreateDomainsResponseInfoCode) UnmarshalJSON(b []byte) error
func (CreateDomainsResponseInfoCode) Value ¶
func (c CreateDomainsResponseInfoCode) Value() string
type CreateDomainsResponseInfoCodeEnum ¶
type CreateDomainsResponseInfoCodeEnum struct { SUCCESS CreateDomainsResponseInfoCode FAILURE CreateDomainsResponseInfoCode }
func GetCreateDomainsResponseInfoCodeEnum ¶
func GetCreateDomainsResponseInfoCodeEnum() CreateDomainsResponseInfoCodeEnum
type CreateTasksRequest ¶
type CreateTasksRequest struct { // 是否将本次扫描升级为专业版规格(¥99.00/次) Upgrade *bool `json:"upgrade,omitempty"` Body *CreateTasksRequestBody `json:"body,omitempty"` }
CreateTasksRequest Request Object
func (CreateTasksRequest) String ¶
func (o CreateTasksRequest) String() string
type CreateTasksRequestBody ¶
type CreateTasksRequestBody struct { // 任务名称 TaskName string `json:"task_name"` // 待扫描的目标网址 Url string `json:"url"` // 扫描任务类型: * normal - 普通任务 * monitor - 监测任务 TaskType *CreateTasksRequestBodyTaskType `json:"task_type,omitempty"` // 普通任务的定时启动时间 Timer *string `json:"timer,omitempty"` // 监测任务的定时触发时间 TriggerTime *string `json:"trigger_time,omitempty"` // 监测任务的定时触发周期: * everyday - 每日 * threedays - 每三天 * everyweek - 每星期 * everymonth - 每月 TaskPeriod *CreateTasksRequestBodyTaskPeriod `json:"task_period,omitempty"` TaskConfig *TaskSettingsTaskConfig `json:"task_config,omitempty"` }
func (CreateTasksRequestBody) String ¶
func (o CreateTasksRequestBody) String() string
type CreateTasksRequestBodyTaskPeriod ¶
type CreateTasksRequestBodyTaskPeriod struct {
// contains filtered or unexported fields
}
func (CreateTasksRequestBodyTaskPeriod) MarshalJSON ¶
func (c CreateTasksRequestBodyTaskPeriod) MarshalJSON() ([]byte, error)
func (*CreateTasksRequestBodyTaskPeriod) UnmarshalJSON ¶
func (c *CreateTasksRequestBodyTaskPeriod) UnmarshalJSON(b []byte) error
func (CreateTasksRequestBodyTaskPeriod) Value ¶
func (c CreateTasksRequestBodyTaskPeriod) Value() string
type CreateTasksRequestBodyTaskPeriodEnum ¶
type CreateTasksRequestBodyTaskPeriodEnum struct { EVERYDAY CreateTasksRequestBodyTaskPeriod THREEDAYS CreateTasksRequestBodyTaskPeriod EVERYWEEK CreateTasksRequestBodyTaskPeriod EVERYMONTH CreateTasksRequestBodyTaskPeriod }
func GetCreateTasksRequestBodyTaskPeriodEnum ¶
func GetCreateTasksRequestBodyTaskPeriodEnum() CreateTasksRequestBodyTaskPeriodEnum
type CreateTasksRequestBodyTaskType ¶
type CreateTasksRequestBodyTaskType struct {
// contains filtered or unexported fields
}
func (CreateTasksRequestBodyTaskType) MarshalJSON ¶
func (c CreateTasksRequestBodyTaskType) MarshalJSON() ([]byte, error)
func (*CreateTasksRequestBodyTaskType) UnmarshalJSON ¶
func (c *CreateTasksRequestBodyTaskType) UnmarshalJSON(b []byte) error
func (CreateTasksRequestBodyTaskType) Value ¶
func (c CreateTasksRequestBodyTaskType) Value() string
type CreateTasksRequestBodyTaskTypeEnum ¶
type CreateTasksRequestBodyTaskTypeEnum struct { NORMAL CreateTasksRequestBodyTaskType MONITOR CreateTasksRequestBodyTaskType }
func GetCreateTasksRequestBodyTaskTypeEnum ¶
func GetCreateTasksRequestBodyTaskTypeEnum() CreateTasksRequestBodyTaskTypeEnum
type CreateTasksResponse ¶
type CreateTasksResponse struct { // 状态码: * success - 成功 * failure - 失败 InfoCode *CreateTasksResponseInfoCode `json:"info_code,omitempty"` // 返回的提示信息 InfoDescription *string `json:"info_description,omitempty"` // 任务ID TaskId *string `json:"task_id,omitempty"` // 任务状态: * running - 正在运行 * success - 成功 * canceled - 已取消 * waiting - 正在等待 * ready - 已就绪,排队中 * failure - 失败 TaskStatus *CreateTasksResponseTaskStatus `json:"task_status,omitempty"` HttpStatusCode int `json:"-"` }
CreateTasksResponse Response Object
func (CreateTasksResponse) String ¶
func (o CreateTasksResponse) String() string
type CreateTasksResponseInfoCode ¶
type CreateTasksResponseInfoCode struct {
// contains filtered or unexported fields
}
func (CreateTasksResponseInfoCode) MarshalJSON ¶
func (c CreateTasksResponseInfoCode) MarshalJSON() ([]byte, error)
func (*CreateTasksResponseInfoCode) UnmarshalJSON ¶
func (c *CreateTasksResponseInfoCode) UnmarshalJSON(b []byte) error
func (CreateTasksResponseInfoCode) Value ¶
func (c CreateTasksResponseInfoCode) Value() string
type CreateTasksResponseInfoCodeEnum ¶
type CreateTasksResponseInfoCodeEnum struct { SUCCESS CreateTasksResponseInfoCode FAILURE CreateTasksResponseInfoCode }
func GetCreateTasksResponseInfoCodeEnum ¶
func GetCreateTasksResponseInfoCodeEnum() CreateTasksResponseInfoCodeEnum
type CreateTasksResponseTaskStatus ¶
type CreateTasksResponseTaskStatus struct {
// contains filtered or unexported fields
}
func (CreateTasksResponseTaskStatus) MarshalJSON ¶
func (c CreateTasksResponseTaskStatus) MarshalJSON() ([]byte, error)
func (*CreateTasksResponseTaskStatus) UnmarshalJSON ¶
func (c *CreateTasksResponseTaskStatus) UnmarshalJSON(b []byte) error
func (CreateTasksResponseTaskStatus) Value ¶
func (c CreateTasksResponseTaskStatus) Value() string
type CreateTasksResponseTaskStatusEnum ¶
type CreateTasksResponseTaskStatusEnum struct { RUNNING CreateTasksResponseTaskStatus SUCCESS CreateTasksResponseTaskStatus CANCELED CreateTasksResponseTaskStatus WAITING CreateTasksResponseTaskStatus READY CreateTasksResponseTaskStatus FAILURE CreateTasksResponseTaskStatus }
func GetCreateTasksResponseTaskStatusEnum ¶
func GetCreateTasksResponseTaskStatusEnum() CreateTasksResponseTaskStatusEnum
type DeleteDomainsRequest ¶
type DeleteDomainsRequest struct { // 网站域名 DomainName string `json:"domain_name"` }
DeleteDomainsRequest Request Object
func (DeleteDomainsRequest) String ¶
func (o DeleteDomainsRequest) String() string
type DeleteDomainsResponse ¶
type DeleteDomainsResponse struct { // 状态码: * success - 成功 * failure - 失败 InfoCode *DeleteDomainsResponseInfoCode `json:"info_code,omitempty"` // 返回的提示信息 InfoDescription *string `json:"info_description,omitempty"` HttpStatusCode int `json:"-"` }
DeleteDomainsResponse Response Object
func (DeleteDomainsResponse) String ¶
func (o DeleteDomainsResponse) String() string
type DeleteDomainsResponseInfoCode ¶
type DeleteDomainsResponseInfoCode struct {
// contains filtered or unexported fields
}
func (DeleteDomainsResponseInfoCode) MarshalJSON ¶
func (c DeleteDomainsResponseInfoCode) MarshalJSON() ([]byte, error)
func (*DeleteDomainsResponseInfoCode) UnmarshalJSON ¶
func (c *DeleteDomainsResponseInfoCode) UnmarshalJSON(b []byte) error
func (DeleteDomainsResponseInfoCode) Value ¶
func (c DeleteDomainsResponseInfoCode) Value() string
type DeleteDomainsResponseInfoCodeEnum ¶
type DeleteDomainsResponseInfoCodeEnum struct { SUCCESS DeleteDomainsResponseInfoCode FAILURE DeleteDomainsResponseInfoCode }
func GetDeleteDomainsResponseInfoCodeEnum ¶
func GetDeleteDomainsResponseInfoCodeEnum() DeleteDomainsResponseInfoCodeEnum
type DeleteGroupRequest ¶ added in v0.1.96
type DeleteGroupRequest struct { // group_id GroupId string `json:"group_id"` }
DeleteGroupRequest Request Object
func (DeleteGroupRequest) String ¶ added in v0.1.96
func (o DeleteGroupRequest) String() string
type DeleteGroupResponse ¶ added in v0.1.96
type DeleteGroupResponse struct {
HttpStatusCode int `json:"-"`
}
DeleteGroupResponse Response Object
func (DeleteGroupResponse) String ¶ added in v0.1.96
func (o DeleteGroupResponse) String() string
type DeleteHostRequest ¶ added in v0.1.96
type DeleteHostRequest struct { // 主机资产id HostId string `json:"host_id"` }
DeleteHostRequest Request Object
func (DeleteHostRequest) String ¶ added in v0.1.96
func (o DeleteHostRequest) String() string
type DeleteHostResponse ¶ added in v0.1.96
type DeleteHostResponse struct {
HttpStatusCode int `json:"-"`
}
DeleteHostResponse Response Object
func (DeleteHostResponse) String ¶ added in v0.1.96
func (o DeleteHostResponse) String() string
type DomainItem ¶
type DomainItem struct { // 高危漏洞数 High *int32 `json:"high,omitempty"` // 中危漏洞数 Middle *int32 `json:"middle,omitempty"` // 低危漏洞数 Low *int32 `json:"low,omitempty"` // 提示危漏洞数 Hint *int32 `json:"hint,omitempty"` // 网站域名ID DomainId *string `json:"domain_id,omitempty"` // 一级域名ID TopLevelDomainId *string `json:"top_level_domain_id,omitempty"` // 网站域名 DomainName *string `json:"domain_name,omitempty"` // 网站域名的别名 Alias *string `json:"alias,omitempty"` // 创建网站域名资产的时间 CreateTime *string `json:"create_time,omitempty"` // 网站域名的认证状态: * unauth - 未认证 * auth - 已认证 * invalid - 认证文件无效 * manual - 人工认证 * skip - 免认证 AuthStatus *DomainItemAuthStatus `json:"auth_status,omitempty"` // 协议类型: * http:// - HTTP * https:// - HTTPS ProtocolType *DomainItemProtocolType `json:"protocol_type,omitempty"` }
func (DomainItem) String ¶
func (o DomainItem) String() string
type DomainItemAuthStatus ¶
type DomainItemAuthStatus struct {
// contains filtered or unexported fields
}
func (DomainItemAuthStatus) MarshalJSON ¶
func (c DomainItemAuthStatus) MarshalJSON() ([]byte, error)
func (*DomainItemAuthStatus) UnmarshalJSON ¶
func (c *DomainItemAuthStatus) UnmarshalJSON(b []byte) error
func (DomainItemAuthStatus) Value ¶
func (c DomainItemAuthStatus) Value() string
type DomainItemAuthStatusEnum ¶
type DomainItemAuthStatusEnum struct { UNAUTH DomainItemAuthStatus AUTH DomainItemAuthStatus INVALID DomainItemAuthStatus MANUAL DomainItemAuthStatus SKIP DomainItemAuthStatus }
func GetDomainItemAuthStatusEnum ¶
func GetDomainItemAuthStatusEnum() DomainItemAuthStatusEnum
type DomainItemProtocolType ¶
type DomainItemProtocolType struct {
// contains filtered or unexported fields
}
func (DomainItemProtocolType) MarshalJSON ¶
func (c DomainItemProtocolType) MarshalJSON() ([]byte, error)
func (*DomainItemProtocolType) UnmarshalJSON ¶
func (c *DomainItemProtocolType) UnmarshalJSON(b []byte) error
func (DomainItemProtocolType) Value ¶
func (c DomainItemProtocolType) Value() string
type DomainItemProtocolTypeEnum ¶
type DomainItemProtocolTypeEnum struct { HTTP_ DomainItemProtocolType HTTPS_ DomainItemProtocolType }
func GetDomainItemProtocolTypeEnum ¶
func GetDomainItemProtocolTypeEnum() DomainItemProtocolTypeEnum
type DomainSettings ¶
type DomainSettings struct { // 网站域名ID DomainId *string `json:"domain_id,omitempty"` // 网站需要登录时,设置登录页面 LoginUrl *string `json:"login_url,omitempty"` // 网站需要登录时,设置登录用户名 LoginUsername *string `json:"login_username,omitempty"` // 网站需要登录时,设置登录密码 LoginPassword *string `json:"login_password,omitempty"` // 网站需要登录时,设置登录cookie LoginCookies *string `json:"login_cookies,omitempty"` // 设置用于验证登录是否成功的网址 VerifyUrl *string `json:"verify_url,omitempty"` // 设置自定义HTTP请求头 HttpHeaders map[string]string `json:"http_headers,omitempty"` }
func (DomainSettings) String ¶
func (o DomainSettings) String() string
type DownloadTaskReportRequest ¶
type DownloadTaskReportRequest struct { // 任务ID TaskId string `json:"task_id"` }
DownloadTaskReportRequest Request Object
func (DownloadTaskReportRequest) String ¶
func (o DownloadTaskReportRequest) String() string
type DownloadTaskReportResponse ¶
type DownloadTaskReportResponse struct { HttpStatusCode int `json:"-"` Body io.ReadCloser `json:"-" type:"stream"` }
DownloadTaskReportResponse Response Object
func (DownloadTaskReportResponse) Consume ¶
func (o DownloadTaskReportResponse) Consume(writer io.Writer) (int64, error)
func (DownloadTaskReportResponse) String ¶
func (o DownloadTaskReportResponse) String() string
type ExecuteGenerateReportRequest ¶
type ExecuteGenerateReportRequest struct {
Body *ExecuteGenerateReportRequestBody `json:"body,omitempty"`
}
ExecuteGenerateReportRequest Request Object
func (ExecuteGenerateReportRequest) String ¶
func (o ExecuteGenerateReportRequest) String() string
type ExecuteGenerateReportRequestBody ¶
type ExecuteGenerateReportRequestBody struct { // 任务ID TaskId string `json:"task_id"` }
func (ExecuteGenerateReportRequestBody) String ¶
func (o ExecuteGenerateReportRequestBody) String() string
type ExecuteGenerateReportResponse ¶
type ExecuteGenerateReportResponse struct { // 状态码: * success - 成功 * failure - 失败 InfoCode *ExecuteGenerateReportResponseInfoCode `json:"info_code,omitempty"` // 返回的提示信息 InfoDescription *string `json:"info_description,omitempty"` HttpStatusCode int `json:"-"` }
ExecuteGenerateReportResponse Response Object
func (ExecuteGenerateReportResponse) String ¶
func (o ExecuteGenerateReportResponse) String() string
type ExecuteGenerateReportResponseInfoCode ¶
type ExecuteGenerateReportResponseInfoCode struct {
// contains filtered or unexported fields
}
func (ExecuteGenerateReportResponseInfoCode) MarshalJSON ¶
func (c ExecuteGenerateReportResponseInfoCode) MarshalJSON() ([]byte, error)
func (*ExecuteGenerateReportResponseInfoCode) UnmarshalJSON ¶
func (c *ExecuteGenerateReportResponseInfoCode) UnmarshalJSON(b []byte) error
func (ExecuteGenerateReportResponseInfoCode) Value ¶
func (c ExecuteGenerateReportResponseInfoCode) Value() string
type ExecuteGenerateReportResponseInfoCodeEnum ¶
type ExecuteGenerateReportResponseInfoCodeEnum struct { SUCCESS ExecuteGenerateReportResponseInfoCode FAILURE ExecuteGenerateReportResponseInfoCode }
func GetExecuteGenerateReportResponseInfoCodeEnum ¶
func GetExecuteGenerateReportResponseInfoCodeEnum() ExecuteGenerateReportResponseInfoCodeEnum
type Group ¶ added in v0.1.96
type Group struct { // 群组ID Id *string `json:"id,omitempty"` // 群组名称 Name *string `json:"name,omitempty"` }
Group 群组信息
type HgHost ¶ added in v0.1.96
type HgHost struct { // 主机授权状态: * -1 未知 * 0 连接成功 * 1 不可达 * 2 登录失败 AuthStatus *HgHostAuthStatus `json:"auth_status,omitempty"` // 主机组id GroupId *string `json:"group_id,omitempty"` // 主机id Id *string `json:"id,omitempty"` // 主机ip Ip *string `json:"ip,omitempty"` // 跳板机id JumperServerId *string `json:"jumper_server_id,omitempty"` // 最后一次扫描的id LastScanId *string `json:"last_scan_id,omitempty"` LastScanInfo *ScanInfoDetail `json:"last_scan_info,omitempty"` // 主机名 Name *string `json:"name,omitempty"` // 主机操作系统类型 OsType *string `json:"os_type,omitempty"` // smb_credential_id SmbCredentialId *string `json:"smb_credential_id,omitempty"` // ssh授权id SshCredentialId *string `json:"ssh_credential_id,omitempty"` }
type HgHostAuthStatus ¶ added in v0.1.96
type HgHostAuthStatus struct {
// contains filtered or unexported fields
}
func (HgHostAuthStatus) MarshalJSON ¶ added in v0.1.96
func (c HgHostAuthStatus) MarshalJSON() ([]byte, error)
func (*HgHostAuthStatus) UnmarshalJSON ¶ added in v0.1.96
func (c *HgHostAuthStatus) UnmarshalJSON(b []byte) error
func (HgHostAuthStatus) Value ¶ added in v0.1.96
func (c HgHostAuthStatus) Value() int32
type HgHostAuthStatusEnum ¶ added in v0.1.96
type HgHostAuthStatusEnum struct { E_MINUS_1 HgHostAuthStatus E_0 HgHostAuthStatus E_1 HgHostAuthStatus E_2 HgHostAuthStatus }
func GetHgHostAuthStatusEnum ¶ added in v0.1.96
func GetHgHostAuthStatusEnum() HgHostAuthStatusEnum
type HostItem ¶ added in v0.1.96
type HostItem struct { // 主机IP Ip string `json:"ip"` // 主机名称 Name string `json:"name"` // 操作系统类型: * linux * windows OsType HostItemOsType `json:"os_type"` // 主机组id GroupId *string `json:"group_id,omitempty"` // linux主机ssh授权登录信息ID SshCredentialId *string `json:"ssh_credential_id,omitempty"` // linux跳板机信息ID JumperServerId *string `json:"jumper_server_id,omitempty"` // windows主机smb授权登录信息ID SmbCredentialId *string `json:"smb_credential_id,omitempty"` }
type HostItemOsType ¶ added in v0.1.96
type HostItemOsType struct {
// contains filtered or unexported fields
}
func (HostItemOsType) MarshalJSON ¶ added in v0.1.96
func (c HostItemOsType) MarshalJSON() ([]byte, error)
func (*HostItemOsType) UnmarshalJSON ¶ added in v0.1.96
func (c *HostItemOsType) UnmarshalJSON(b []byte) error
func (HostItemOsType) Value ¶ added in v0.1.96
func (c HostItemOsType) Value() string
type HostItemOsTypeEnum ¶ added in v0.1.96
type HostItemOsTypeEnum struct { LINUX HostItemOsType WINDOWS HostItemOsType }
func GetHostItemOsTypeEnum ¶ added in v0.1.96
func GetHostItemOsTypeEnum() HostItemOsTypeEnum
type HostItemWithId ¶ added in v0.1.96
type HostItemWithId struct { // 主机IP Ip string `json:"ip"` // 主机名称 Name string `json:"name"` // 操作系统类型: * linux * windows OsType HostItemWithIdOsType `json:"os_type"` // 主机组id GroupId *string `json:"group_id,omitempty"` // linux主机ssh授权登录信息ID SshCredentialId *string `json:"ssh_credential_id,omitempty"` // linux跳板机信息ID JumperServerId *string `json:"jumper_server_id,omitempty"` // windows主机smb授权登录信息ID SmbCredentialId *string `json:"smb_credential_id,omitempty"` // 主机ID Id *string `json:"id,omitempty"` }
func (HostItemWithId) String ¶ added in v0.1.96
func (o HostItemWithId) String() string
type HostItemWithIdOsType ¶ added in v0.1.96
type HostItemWithIdOsType struct {
// contains filtered or unexported fields
}
func (HostItemWithIdOsType) MarshalJSON ¶ added in v0.1.96
func (c HostItemWithIdOsType) MarshalJSON() ([]byte, error)
func (*HostItemWithIdOsType) UnmarshalJSON ¶ added in v0.1.96
func (c *HostItemWithIdOsType) UnmarshalJSON(b []byte) error
func (HostItemWithIdOsType) Value ¶ added in v0.1.96
func (c HostItemWithIdOsType) Value() string
type HostItemWithIdOsTypeEnum ¶ added in v0.1.96
type HostItemWithIdOsTypeEnum struct { LINUX HostItemWithIdOsType WINDOWS HostItemWithIdOsType }
func GetHostItemWithIdOsTypeEnum ¶ added in v0.1.96
func GetHostItemWithIdOsTypeEnum() HostItemWithIdOsTypeEnum
type HostVulnItem ¶ added in v0.1.96
type HostVulnItem struct { // 漏洞类型 Type *string `json:"type,omitempty"` // 扫描端口号 Port *string `json:"port,omitempty"` // 漏洞标题 Title *string `json:"title,omitempty"` // 漏洞公告ID SaId *string `json:"sa_id,omitempty"` // 漏洞ID VulnId *string `json:"vuln_id,omitempty"` // 漏洞风险等级: * high - 高风险 * medium - 中风险 * low - 低风险 * hint - 提示 Severity *HostVulnItemSeverity `json:"severity,omitempty"` // 漏洞摘要 Topic *string `json:"topic,omitempty"` // 漏洞描述 Description *string `json:"description,omitempty"` // 漏洞提示建议 Solution *string `json:"solution,omitempty"` // 漏洞修复建议 FixAdvisory *string `json:"fix_advisory,omitempty"` // 漏洞修复指令 FixCmd *string `json:"fix_cmd,omitempty"` // CVE漏洞列表 CveList *[]HostVulnItemCveList `json:"cve_list,omitempty"` // 参考信息链接列表 RefLinkList *[]string `json:"ref_link_list,omitempty"` // 内容列表 ComponentList *[]HostVulnItemComponentList `json:"component_list,omitempty"` // 检查结果 VulDetectResult *string `json:"vul_detect_result,omitempty"` // CVSS分数信息 CvssScore *string `json:"cvss_score,omitempty"` // CVSS版本信息 CvssVersion *string `json:"cvss_version,omitempty"` // CVSS向量信息 CvssVector *string `json:"cvss_vector,omitempty"` // 是否误报 IsIgnore *bool `json:"is_ignore,omitempty"` }
func (HostVulnItem) String ¶ added in v0.1.96
func (o HostVulnItem) String() string
type HostVulnItemComponentList ¶ added in v0.1.96
type HostVulnItemComponentList struct { // 内容名称 ComponentName *string `json:"componentName,omitempty"` // 安装版本 ComponentInstallVersion *string `json:"componentInstallVersion,omitempty"` // 已经修复版本 ComponentFixedVersion *string `json:"componentFixedVersion,omitempty"` }
func (HostVulnItemComponentList) String ¶ added in v0.1.96
func (o HostVulnItemComponentList) String() string
type HostVulnItemCveList ¶ added in v0.1.96
type HostVulnItemCveList struct { // CVE漏洞ID Id *string `json:"id,omitempty"` // CVE漏洞链接 Link *string `json:"link,omitempty"` }
func (HostVulnItemCveList) String ¶ added in v0.1.96
func (o HostVulnItemCveList) String() string
type HostVulnItemSeverity ¶ added in v0.1.96
type HostVulnItemSeverity struct {
// contains filtered or unexported fields
}
func (HostVulnItemSeverity) MarshalJSON ¶ added in v0.1.96
func (c HostVulnItemSeverity) MarshalJSON() ([]byte, error)
func (*HostVulnItemSeverity) UnmarshalJSON ¶ added in v0.1.96
func (c *HostVulnItemSeverity) UnmarshalJSON(b []byte) error
func (HostVulnItemSeverity) Value ¶ added in v0.1.96
func (c HostVulnItemSeverity) Value() string
type HostVulnItemSeverityEnum ¶ added in v0.1.96
type HostVulnItemSeverityEnum struct { HIGH HostVulnItemSeverity MEDIUM HostVulnItemSeverity LOW HostVulnItemSeverity HINT HostVulnItemSeverity }
func GetHostVulnItemSeverityEnum ¶ added in v0.1.96
func GetHostVulnItemSeverityEnum() HostVulnItemSeverityEnum
type ListBusinessRisksRequest ¶
type ListBusinessRisksRequest struct { // 任务ID TaskId string `json:"task_id"` // 分页查询,偏移量,表示从此偏移量开始查询 Offset *int32 `json:"offset,omitempty"` // 分页查询,每页显示的条目数量 Limit *int32 `json:"limit,omitempty"` }
ListBusinessRisksRequest Request Object
func (ListBusinessRisksRequest) String ¶
func (o ListBusinessRisksRequest) String() string
type ListBusinessRisksResponse ¶
type ListBusinessRisksResponse struct { // 业务风险总数 Total *int32 `json:"total,omitempty"` // 业务风险列表 Data *[]BusinessRiskItem `json:"data,omitempty"` HttpStatusCode int `json:"-"` }
ListBusinessRisksResponse Response Object
func (ListBusinessRisksResponse) String ¶
func (o ListBusinessRisksResponse) String() string
type ListDomainsRequest ¶
type ListDomainsRequest struct { // 网站域名ID DomainId *string `json:"domain_id,omitempty"` // 网站域名的认证状态: * unauth - 未认证 * auth - 已认证 * invalid - 认证文件无效 * manual - 人工认证 * skip - 免认证 AuthStatus *ListDomainsRequestAuthStatus `json:"auth_status,omitempty"` // 分页查询,偏移量,表示从此偏移量开始查询 Offset *int32 `json:"offset,omitempty"` // 分页查询,每页显示的条目数量 Limit *int32 `json:"limit,omitempty"` }
ListDomainsRequest Request Object
func (ListDomainsRequest) String ¶
func (o ListDomainsRequest) String() string
type ListDomainsRequestAuthStatus ¶
type ListDomainsRequestAuthStatus struct {
// contains filtered or unexported fields
}
func (ListDomainsRequestAuthStatus) MarshalJSON ¶
func (c ListDomainsRequestAuthStatus) MarshalJSON() ([]byte, error)
func (*ListDomainsRequestAuthStatus) UnmarshalJSON ¶
func (c *ListDomainsRequestAuthStatus) UnmarshalJSON(b []byte) error
func (ListDomainsRequestAuthStatus) Value ¶
func (c ListDomainsRequestAuthStatus) Value() string
type ListDomainsRequestAuthStatusEnum ¶
type ListDomainsRequestAuthStatusEnum struct { UNAUTH ListDomainsRequestAuthStatus AUTH ListDomainsRequestAuthStatus INVALID ListDomainsRequestAuthStatus MANUAL ListDomainsRequestAuthStatus SKIP ListDomainsRequestAuthStatus }
func GetListDomainsRequestAuthStatusEnum ¶
func GetListDomainsRequestAuthStatusEnum() ListDomainsRequestAuthStatusEnum
type ListDomainsResponse ¶
type ListDomainsResponse struct { // 网站域名总数 Total *int32 `json:"total,omitempty"` // 网站一级域名总数 TopLevelDomainNum *int32 `json:"top_level_domain_num,omitempty"` // 网站域名列表 Domains *[]DomainItem `json:"domains,omitempty"` HttpStatusCode int `json:"-"` }
ListDomainsResponse Response Object
func (ListDomainsResponse) String ¶
func (o ListDomainsResponse) String() string
type ListGroupsRequest ¶ added in v0.1.96
type ListGroupsRequest struct { // 分页查询,偏移量,表示从此偏移量开始查询 Offset *int32 `json:"offset,omitempty"` // 分页查询,每页显示的条目数量 Limit *int32 `json:"limit,omitempty"` }
ListGroupsRequest Request Object
func (ListGroupsRequest) String ¶ added in v0.1.96
func (o ListGroupsRequest) String() string
type ListGroupsResponse ¶ added in v0.1.96
type ListGroupsResponse struct { // 群组总数 Total *int32 `json:"total,omitempty"` // 群组列表 Items *[]Group `json:"items,omitempty"` HttpStatusCode int `json:"-"` }
ListGroupsResponse Response Object
func (ListGroupsResponse) String ¶ added in v0.1.96
func (o ListGroupsResponse) String() string
type ListHostResultsRequest ¶ added in v0.1.96
type ListHostResultsRequest struct { // 主机ID HostId string `json:"host_id"` // 扫描ID ScanId string `json:"scan_id"` // 分页查询,偏移量,表示从此偏移量开始查询 Offset *int32 `json:"offset,omitempty"` // 分页查询,每页显示的条目数量 Limit *int32 `json:"limit,omitempty"` }
ListHostResultsRequest Request Object
func (ListHostResultsRequest) String ¶ added in v0.1.96
func (o ListHostResultsRequest) String() string
type ListHostResultsResponse ¶ added in v0.1.96
type ListHostResultsResponse struct { // 主机漏洞总数 Total *int32 `json:"total,omitempty"` // 主机漏洞信息列表 Items *[]HostVulnItem `json:"items,omitempty"` HttpStatusCode int `json:"-"` }
ListHostResultsResponse Response Object
func (ListHostResultsResponse) String ¶ added in v0.1.96
func (o ListHostResultsResponse) String() string
type ListHostsRequest ¶ added in v0.1.96
type ListHostsRequest struct { // 主机组id GroupId *string `json:"group_id,omitempty"` // 分页查询,偏移量,表示从此偏移量开始查询 Offset *int32 `json:"offset,omitempty"` // 分页查询,每页显示的条目数量 Limit *int32 `json:"limit,omitempty"` }
ListHostsRequest Request Object
func (ListHostsRequest) String ¶ added in v0.1.96
func (o ListHostsRequest) String() string
type ListHostsResponse ¶ added in v0.1.96
type ListHostsResponse struct { // 主机列表 Items *[]HgHost `json:"items,omitempty"` // 主机总数 Total *int32 `json:"total,omitempty"` HttpStatusCode int `json:"-"` }
ListHostsResponse Response Object
func (ListHostsResponse) String ¶ added in v0.1.96
func (o ListHostsResponse) String() string
type ListPortResultsRequest ¶
type ListPortResultsRequest struct { // 任务ID TaskId string `json:"task_id"` // 分页查询,偏移量,表示从此偏移量开始查询 Offset *int32 `json:"offset,omitempty"` // 分页查询,每页显示的条目数量 Limit *int32 `json:"limit,omitempty"` }
ListPortResultsRequest Request Object
func (ListPortResultsRequest) String ¶
func (o ListPortResultsRequest) String() string
type ListPortResultsResponse ¶
type ListPortResultsResponse struct { // 端口总数 Total *int32 `json:"total,omitempty"` // 端口信息列表 Data *[]PortItem `json:"data,omitempty"` HttpStatusCode int `json:"-"` }
ListPortResultsResponse Response Object
func (ListPortResultsResponse) String ¶
func (o ListPortResultsResponse) String() string
type ListTaskHistoriesRequest ¶
type ListTaskHistoriesRequest struct { // 网站域名ID DomainId string `json:"domain_id"` // 分页查询,偏移量,表示从此偏移量开始查询 Offset *int32 `json:"offset,omitempty"` // 分页查询,每页显示的条目数量 Limit *int32 `json:"limit,omitempty"` }
ListTaskHistoriesRequest Request Object
func (ListTaskHistoriesRequest) String ¶
func (o ListTaskHistoriesRequest) String() string
type ListTaskHistoriesResponse ¶
type ListTaskHistoriesResponse struct { // 网站历史扫描任务总数 Total *int32 `json:"total,omitempty"` // 网站历史扫描任务列表 Data *[]ShowTasksResponseBody `json:"data,omitempty"` HttpStatusCode int `json:"-"` }
ListTaskHistoriesResponse Response Object
func (ListTaskHistoriesResponse) String ¶
func (o ListTaskHistoriesResponse) String() string
type OperateInfoResponseBody ¶
type OperateInfoResponseBody struct { // 状态码: * success - 成功 * failure - 失败 InfoCode *OperateInfoResponseBodyInfoCode `json:"info_code,omitempty"` // 返回的提示信息 InfoDescription *string `json:"info_description,omitempty"` }
func (OperateInfoResponseBody) String ¶
func (o OperateInfoResponseBody) String() string
type OperateInfoResponseBodyInfoCode ¶
type OperateInfoResponseBodyInfoCode struct {
// contains filtered or unexported fields
}
func (OperateInfoResponseBodyInfoCode) MarshalJSON ¶
func (c OperateInfoResponseBodyInfoCode) MarshalJSON() ([]byte, error)
func (*OperateInfoResponseBodyInfoCode) UnmarshalJSON ¶
func (c *OperateInfoResponseBodyInfoCode) UnmarshalJSON(b []byte) error
func (OperateInfoResponseBodyInfoCode) Value ¶
func (c OperateInfoResponseBodyInfoCode) Value() string
type OperateInfoResponseBodyInfoCodeEnum ¶
type OperateInfoResponseBodyInfoCodeEnum struct { SUCCESS OperateInfoResponseBodyInfoCode FAILURE OperateInfoResponseBodyInfoCode }
func GetOperateInfoResponseBodyInfoCodeEnum ¶
func GetOperateInfoResponseBodyInfoCodeEnum() OperateInfoResponseBodyInfoCodeEnum
type PortItem ¶
type PortItem struct { // 端口号 Port *int32 `json:"port,omitempty"` // 服务 Service *string `json:"service,omitempty"` // 端口协议: * TCP * UDP Protocol *PortItemProtocol `json:"protocol,omitempty"` // 端口状态: * filtered - 过滤的 * open - 开放 Status *PortItemStatus `json:"status,omitempty"` }
type PortItemProtocol ¶
type PortItemProtocol struct {
// contains filtered or unexported fields
}
func (PortItemProtocol) MarshalJSON ¶
func (c PortItemProtocol) MarshalJSON() ([]byte, error)
func (*PortItemProtocol) UnmarshalJSON ¶
func (c *PortItemProtocol) UnmarshalJSON(b []byte) error
func (PortItemProtocol) Value ¶
func (c PortItemProtocol) Value() string
type PortItemProtocolEnum ¶
type PortItemProtocolEnum struct { TCP PortItemProtocol UDP PortItemProtocol }
func GetPortItemProtocolEnum ¶
func GetPortItemProtocolEnum() PortItemProtocolEnum
type PortItemStatus ¶
type PortItemStatus struct {
// contains filtered or unexported fields
}
func (PortItemStatus) MarshalJSON ¶
func (c PortItemStatus) MarshalJSON() ([]byte, error)
func (*PortItemStatus) UnmarshalJSON ¶
func (c *PortItemStatus) UnmarshalJSON(b []byte) error
func (PortItemStatus) Value ¶
func (c PortItemStatus) Value() string
type PortItemStatusEnum ¶
type PortItemStatusEnum struct { FILTERED PortItemStatus OPEN PortItemStatus }
func GetPortItemStatusEnum ¶
func GetPortItemStatusEnum() PortItemStatusEnum
type ScanInfoDetail ¶ added in v0.1.96
type ScanInfoDetail struct { // 扫描任务创建时间 CreateTime *int64 `json:"create_time,omitempty"` // 弱密码检查 EnableWeakPasswd *bool `json:"enable_weak_passwd,omitempty"` // 扫描任务结束时间 EndTime *int64 `json:"end_time,omitempty"` // 任务进度 Progress *int32 `json:"progress,omitempty"` // 任务描述 Reason *string `json:"reason,omitempty"` // 扫描任务状态: * 0 运行中 * 1 已完成 * 2 手动取消 * 3 等待中 * 4 扫描失败 * 5 等待定时调度 Status *int32 `json:"status,omitempty"` }
func (ScanInfoDetail) String ¶ added in v0.1.96
func (o ScanInfoDetail) String() string
type ShowDomainSettingsRequest ¶
type ShowDomainSettingsRequest struct { // 网站域名ID DomainId string `json:"domain_id"` }
ShowDomainSettingsRequest Request Object
func (ShowDomainSettingsRequest) String ¶
func (o ShowDomainSettingsRequest) String() string
type ShowDomainSettingsResponse ¶
type ShowDomainSettingsResponse struct { // 网站域名ID DomainId *string `json:"domain_id,omitempty"` // 网站需要登录时,设置登录页面 LoginUrl *string `json:"login_url,omitempty"` // 网站需要登录时,设置登录用户名 LoginUsername *string `json:"login_username,omitempty"` // 网站需要登录时,设置登录密码 LoginPassword *string `json:"login_password,omitempty"` // 网站需要登录时,设置登录cookie LoginCookies *string `json:"login_cookies,omitempty"` // 设置用于验证登录是否成功的网址 VerifyUrl *string `json:"verify_url,omitempty"` // 设置自定义HTTP请求头 HttpHeaders map[string]string `json:"http_headers,omitempty"` // 网站域名 DomainName *string `json:"domain_name,omitempty"` HttpStatusCode int `json:"-"` }
ShowDomainSettingsResponse Response Object
func (ShowDomainSettingsResponse) String ¶
func (o ShowDomainSettingsResponse) String() string
type ShowReportStatusRequest ¶
type ShowReportStatusRequest struct { // 任务ID TaskId string `json:"task_id"` }
ShowReportStatusRequest Request Object
func (ShowReportStatusRequest) String ¶
func (o ShowReportStatusRequest) String() string
type ShowReportStatusResponse ¶
type ShowReportStatusResponse struct { // 任务ID TaskId *string `json:"task_id,omitempty"` // PDF报告生成状态: * ungenerated - 未生成 * generating - 生成中 * generated - 已生成 * failed - 生成失败 ReportStatus *ShowReportStatusResponseReportStatus `json:"report_status,omitempty"` HttpStatusCode int `json:"-"` }
ShowReportStatusResponse Response Object
func (ShowReportStatusResponse) String ¶
func (o ShowReportStatusResponse) String() string
type ShowReportStatusResponseReportStatus ¶
type ShowReportStatusResponseReportStatus struct {
// contains filtered or unexported fields
}
func (ShowReportStatusResponseReportStatus) MarshalJSON ¶
func (c ShowReportStatusResponseReportStatus) MarshalJSON() ([]byte, error)
func (*ShowReportStatusResponseReportStatus) UnmarshalJSON ¶
func (c *ShowReportStatusResponseReportStatus) UnmarshalJSON(b []byte) error
func (ShowReportStatusResponseReportStatus) Value ¶
func (c ShowReportStatusResponseReportStatus) Value() string
type ShowReportStatusResponseReportStatusEnum ¶
type ShowReportStatusResponseReportStatusEnum struct { UNGENERATED ShowReportStatusResponseReportStatus GENERATING ShowReportStatusResponseReportStatus GENERATED ShowReportStatusResponseReportStatus FAILED ShowReportStatusResponseReportStatus }
func GetShowReportStatusResponseReportStatusEnum ¶
func GetShowReportStatusResponseReportStatusEnum() ShowReportStatusResponseReportStatusEnum
type ShowResultsRequest ¶
type ShowResultsRequest struct { // 任务ID TaskId string `json:"task_id"` // 分页查询,偏移量,表示从此偏移量开始查询 Offset *int32 `json:"offset,omitempty"` // 分页查询,每页显示的条目数量 Limit *int32 `json:"limit,omitempty"` }
ShowResultsRequest Request Object
func (ShowResultsRequest) String ¶
func (o ShowResultsRequest) String() string
type ShowResultsResponse ¶
type ShowResultsResponse struct { // 网站漏洞总数 Total *int32 `json:"total,omitempty"` // 网站漏洞信息列表 Data *[]VulnItem `json:"data,omitempty"` Statistics *VulnsLevel `json:"statistics,omitempty"` HttpStatusCode int `json:"-"` }
ShowResultsResponse Response Object
func (ShowResultsResponse) String ¶
func (o ShowResultsResponse) String() string
type ShowTasksRequest ¶
type ShowTasksRequest struct { // 任务ID TaskId string `json:"task_id"` }
ShowTasksRequest Request Object
func (ShowTasksRequest) String ¶
func (o ShowTasksRequest) String() string
type ShowTasksResponse ¶
type ShowTasksResponse struct { // 任务名称 TaskName string `json:"task_name"` // 待扫描的目标网址 Url string `json:"url"` // 扫描任务类型: * normal - 普通任务 * monitor - 监测任务 TaskType *ShowTasksResponseTaskType `json:"task_type,omitempty"` // 任务ID TaskId *string `json:"task_id,omitempty"` // 网站域名 DomainName *string `json:"domain_name,omitempty"` TaskSettings *TaskSettings `json:"task_settings,omitempty"` // 创建任务的时间 CreateTime *string `json:"create_time,omitempty"` // 任务启动的时间 StartTime *string `json:"start_time,omitempty"` // 任务结束的时间 EndTime *string `json:"end_time,omitempty"` // 任务状态: * running - 正在运行 * success - 成功 * canceled - 已取消 * waiting - 正在等待 * ready - 已就绪,排队中 * failure - 失败 TaskStatus *ShowTasksResponseTaskStatus `json:"task_status,omitempty"` // 监测任务状态: * running - 正在运行 * waiting - 正在等待 * finished - 已完成 ScheduleStatus *ShowTasksResponseScheduleStatus `json:"schedule_status,omitempty"` // 任务进度 Progress *int32 `json:"progress,omitempty"` // 任务状态描述 Reason *string `json:"reason,omitempty"` // 包总数 PackNum *int64 `json:"pack_num,omitempty"` // 安全分数 Score *int32 `json:"score,omitempty"` // 安全等级: * safety - 安全 * average - 中风险 * highrisk - 高风险 SafeLevel *ShowTasksResponseSafeLevel `json:"safe_level,omitempty"` Statistics *VulnsLevel `json:"statistics,omitempty"` HttpStatusCode int `json:"-"` }
ShowTasksResponse Response Object
func (ShowTasksResponse) String ¶
func (o ShowTasksResponse) String() string
type ShowTasksResponseBody ¶
type ShowTasksResponseBody struct { // 任务名称 TaskName string `json:"task_name"` // 待扫描的目标网址 Url string `json:"url"` // 扫描任务类型: * normal - 普通任务 * monitor - 监测任务 TaskType *ShowTasksResponseBodyTaskType `json:"task_type,omitempty"` // 任务ID TaskId *string `json:"task_id,omitempty"` // 网站域名 DomainName *string `json:"domain_name,omitempty"` TaskSettings *TaskSettings `json:"task_settings,omitempty"` // 创建任务的时间 CreateTime *string `json:"create_time,omitempty"` // 任务启动的时间 StartTime *string `json:"start_time,omitempty"` // 任务结束的时间 EndTime *string `json:"end_time,omitempty"` // 任务状态: * running - 正在运行 * success - 成功 * canceled - 已取消 * waiting - 正在等待 * ready - 已就绪,排队中 * failure - 失败 TaskStatus *ShowTasksResponseBodyTaskStatus `json:"task_status,omitempty"` // 监测任务状态: * running - 正在运行 * waiting - 正在等待 * finished - 已完成 ScheduleStatus *ShowTasksResponseBodyScheduleStatus `json:"schedule_status,omitempty"` // 任务进度 Progress *int32 `json:"progress,omitempty"` // 任务状态描述 Reason *string `json:"reason,omitempty"` // 包总数 PackNum *int64 `json:"pack_num,omitempty"` // 安全分数 Score *int32 `json:"score,omitempty"` // 安全等级: * safety - 安全 * average - 中风险 * highrisk - 高风险 SafeLevel *ShowTasksResponseBodySafeLevel `json:"safe_level,omitempty"` Statistics *VulnsLevel `json:"statistics,omitempty"` }
func (ShowTasksResponseBody) String ¶
func (o ShowTasksResponseBody) String() string
type ShowTasksResponseBodySafeLevel ¶
type ShowTasksResponseBodySafeLevel struct {
// contains filtered or unexported fields
}
func (ShowTasksResponseBodySafeLevel) MarshalJSON ¶
func (c ShowTasksResponseBodySafeLevel) MarshalJSON() ([]byte, error)
func (*ShowTasksResponseBodySafeLevel) UnmarshalJSON ¶
func (c *ShowTasksResponseBodySafeLevel) UnmarshalJSON(b []byte) error
func (ShowTasksResponseBodySafeLevel) Value ¶
func (c ShowTasksResponseBodySafeLevel) Value() string
type ShowTasksResponseBodySafeLevelEnum ¶
type ShowTasksResponseBodySafeLevelEnum struct { SAFETY ShowTasksResponseBodySafeLevel AVERAGE ShowTasksResponseBodySafeLevel HIGHRISK ShowTasksResponseBodySafeLevel }
func GetShowTasksResponseBodySafeLevelEnum ¶
func GetShowTasksResponseBodySafeLevelEnum() ShowTasksResponseBodySafeLevelEnum
type ShowTasksResponseBodyScheduleStatus ¶
type ShowTasksResponseBodyScheduleStatus struct {
// contains filtered or unexported fields
}
func (ShowTasksResponseBodyScheduleStatus) MarshalJSON ¶
func (c ShowTasksResponseBodyScheduleStatus) MarshalJSON() ([]byte, error)
func (*ShowTasksResponseBodyScheduleStatus) UnmarshalJSON ¶
func (c *ShowTasksResponseBodyScheduleStatus) UnmarshalJSON(b []byte) error
func (ShowTasksResponseBodyScheduleStatus) Value ¶
func (c ShowTasksResponseBodyScheduleStatus) Value() string
type ShowTasksResponseBodyScheduleStatusEnum ¶
type ShowTasksResponseBodyScheduleStatusEnum struct { RUNNING ShowTasksResponseBodyScheduleStatus WAITING ShowTasksResponseBodyScheduleStatus FINISHED ShowTasksResponseBodyScheduleStatus }
func GetShowTasksResponseBodyScheduleStatusEnum ¶
func GetShowTasksResponseBodyScheduleStatusEnum() ShowTasksResponseBodyScheduleStatusEnum
type ShowTasksResponseBodyTaskStatus ¶
type ShowTasksResponseBodyTaskStatus struct {
// contains filtered or unexported fields
}
func (ShowTasksResponseBodyTaskStatus) MarshalJSON ¶
func (c ShowTasksResponseBodyTaskStatus) MarshalJSON() ([]byte, error)
func (*ShowTasksResponseBodyTaskStatus) UnmarshalJSON ¶
func (c *ShowTasksResponseBodyTaskStatus) UnmarshalJSON(b []byte) error
func (ShowTasksResponseBodyTaskStatus) Value ¶
func (c ShowTasksResponseBodyTaskStatus) Value() string
type ShowTasksResponseBodyTaskStatusEnum ¶
type ShowTasksResponseBodyTaskStatusEnum struct { RUNNING ShowTasksResponseBodyTaskStatus SUCCESS ShowTasksResponseBodyTaskStatus CANCELED ShowTasksResponseBodyTaskStatus WAITING ShowTasksResponseBodyTaskStatus READY ShowTasksResponseBodyTaskStatus FAILURE ShowTasksResponseBodyTaskStatus }
func GetShowTasksResponseBodyTaskStatusEnum ¶
func GetShowTasksResponseBodyTaskStatusEnum() ShowTasksResponseBodyTaskStatusEnum
type ShowTasksResponseBodyTaskType ¶
type ShowTasksResponseBodyTaskType struct {
// contains filtered or unexported fields
}
func (ShowTasksResponseBodyTaskType) MarshalJSON ¶
func (c ShowTasksResponseBodyTaskType) MarshalJSON() ([]byte, error)
func (*ShowTasksResponseBodyTaskType) UnmarshalJSON ¶
func (c *ShowTasksResponseBodyTaskType) UnmarshalJSON(b []byte) error
func (ShowTasksResponseBodyTaskType) Value ¶
func (c ShowTasksResponseBodyTaskType) Value() string
type ShowTasksResponseBodyTaskTypeEnum ¶
type ShowTasksResponseBodyTaskTypeEnum struct { NORMAL ShowTasksResponseBodyTaskType MONITOR ShowTasksResponseBodyTaskType }
func GetShowTasksResponseBodyTaskTypeEnum ¶
func GetShowTasksResponseBodyTaskTypeEnum() ShowTasksResponseBodyTaskTypeEnum
type ShowTasksResponseSafeLevel ¶
type ShowTasksResponseSafeLevel struct {
// contains filtered or unexported fields
}
func (ShowTasksResponseSafeLevel) MarshalJSON ¶
func (c ShowTasksResponseSafeLevel) MarshalJSON() ([]byte, error)
func (*ShowTasksResponseSafeLevel) UnmarshalJSON ¶
func (c *ShowTasksResponseSafeLevel) UnmarshalJSON(b []byte) error
func (ShowTasksResponseSafeLevel) Value ¶
func (c ShowTasksResponseSafeLevel) Value() string
type ShowTasksResponseSafeLevelEnum ¶
type ShowTasksResponseSafeLevelEnum struct { SAFETY ShowTasksResponseSafeLevel AVERAGE ShowTasksResponseSafeLevel HIGHRISK ShowTasksResponseSafeLevel }
func GetShowTasksResponseSafeLevelEnum ¶
func GetShowTasksResponseSafeLevelEnum() ShowTasksResponseSafeLevelEnum
type ShowTasksResponseScheduleStatus ¶
type ShowTasksResponseScheduleStatus struct {
// contains filtered or unexported fields
}
func (ShowTasksResponseScheduleStatus) MarshalJSON ¶
func (c ShowTasksResponseScheduleStatus) MarshalJSON() ([]byte, error)
func (*ShowTasksResponseScheduleStatus) UnmarshalJSON ¶
func (c *ShowTasksResponseScheduleStatus) UnmarshalJSON(b []byte) error
func (ShowTasksResponseScheduleStatus) Value ¶
func (c ShowTasksResponseScheduleStatus) Value() string
type ShowTasksResponseScheduleStatusEnum ¶
type ShowTasksResponseScheduleStatusEnum struct { RUNNING ShowTasksResponseScheduleStatus WAITING ShowTasksResponseScheduleStatus FINISHED ShowTasksResponseScheduleStatus }
func GetShowTasksResponseScheduleStatusEnum ¶
func GetShowTasksResponseScheduleStatusEnum() ShowTasksResponseScheduleStatusEnum
type ShowTasksResponseTaskStatus ¶
type ShowTasksResponseTaskStatus struct {
// contains filtered or unexported fields
}
func (ShowTasksResponseTaskStatus) MarshalJSON ¶
func (c ShowTasksResponseTaskStatus) MarshalJSON() ([]byte, error)
func (*ShowTasksResponseTaskStatus) UnmarshalJSON ¶
func (c *ShowTasksResponseTaskStatus) UnmarshalJSON(b []byte) error
func (ShowTasksResponseTaskStatus) Value ¶
func (c ShowTasksResponseTaskStatus) Value() string
type ShowTasksResponseTaskStatusEnum ¶
type ShowTasksResponseTaskStatusEnum struct { RUNNING ShowTasksResponseTaskStatus SUCCESS ShowTasksResponseTaskStatus CANCELED ShowTasksResponseTaskStatus WAITING ShowTasksResponseTaskStatus READY ShowTasksResponseTaskStatus FAILURE ShowTasksResponseTaskStatus }
func GetShowTasksResponseTaskStatusEnum ¶
func GetShowTasksResponseTaskStatusEnum() ShowTasksResponseTaskStatusEnum
type ShowTasksResponseTaskType ¶
type ShowTasksResponseTaskType struct {
// contains filtered or unexported fields
}
func (ShowTasksResponseTaskType) MarshalJSON ¶
func (c ShowTasksResponseTaskType) MarshalJSON() ([]byte, error)
func (*ShowTasksResponseTaskType) UnmarshalJSON ¶
func (c *ShowTasksResponseTaskType) UnmarshalJSON(b []byte) error
func (ShowTasksResponseTaskType) Value ¶
func (c ShowTasksResponseTaskType) Value() string
type ShowTasksResponseTaskTypeEnum ¶
type ShowTasksResponseTaskTypeEnum struct { NORMAL ShowTasksResponseTaskType MONITOR ShowTasksResponseTaskType }
func GetShowTasksResponseTaskTypeEnum ¶
func GetShowTasksResponseTaskTypeEnum() ShowTasksResponseTaskTypeEnum
type TaskInfos ¶
type TaskInfos struct { // 任务名称 TaskName string `json:"task_name"` // 待扫描的目标网址 Url string `json:"url"` // 扫描任务类型: * normal - 普通任务 * monitor - 监测任务 TaskType *TaskInfosTaskType `json:"task_type,omitempty"` }
type TaskInfosTaskType ¶
type TaskInfosTaskType struct {
// contains filtered or unexported fields
}
func (TaskInfosTaskType) MarshalJSON ¶
func (c TaskInfosTaskType) MarshalJSON() ([]byte, error)
func (*TaskInfosTaskType) UnmarshalJSON ¶
func (c *TaskInfosTaskType) UnmarshalJSON(b []byte) error
func (TaskInfosTaskType) Value ¶
func (c TaskInfosTaskType) Value() string
type TaskInfosTaskTypeEnum ¶
type TaskInfosTaskTypeEnum struct { NORMAL TaskInfosTaskType MONITOR TaskInfosTaskType }
func GetTaskInfosTaskTypeEnum ¶
func GetTaskInfosTaskTypeEnum() TaskInfosTaskTypeEnum
type TaskSettings ¶
type TaskSettings struct { // 普通任务的定时启动时间 Timer *string `json:"timer,omitempty"` // 监测任务的定时触发时间 TriggerTime *string `json:"trigger_time,omitempty"` // 监测任务的定时触发周期: * everyday - 每日 * threedays - 每三天 * everyweek - 每星期 * everymonth - 每月 TaskPeriod *TaskSettingsTaskPeriod `json:"task_period,omitempty"` TaskConfig *TaskSettingsTaskConfig `json:"task_config,omitempty"` }
func (TaskSettings) String ¶
func (o TaskSettings) String() string
type TaskSettingsTaskConfig ¶
type TaskSettingsTaskConfig struct { // 扫描模式: * fast - 快速扫描 * normal - 标准扫描 * deep - 深度扫描 ScanMode *TaskSettingsTaskConfigScanMode `json:"scan_mode,omitempty"` // 是否进行端口扫描 PortScan *bool `json:"port_scan,omitempty"` // 是否进行弱密码扫描 WeakPwdScan *bool `json:"weak_pwd_scan,omitempty"` // 是否进行CVE漏洞扫描 CveCheck *bool `json:"cve_check,omitempty"` // 是否进行网站内容合规文字检测 TextCheck *bool `json:"text_check,omitempty"` // 是否进行网站内容合规图片检测 PictureCheck *bool `json:"picture_check,omitempty"` // 是否进行网站挂马检测 MaliciousCode *bool `json:"malicious_code,omitempty"` // 是否进行链接健康检测(死链、暗链、恶意外链) MaliciousLink *bool `json:"malicious_link,omitempty"` }
TaskSettingsTaskConfig 扫描任务配置
func (TaskSettingsTaskConfig) String ¶
func (o TaskSettingsTaskConfig) String() string
type TaskSettingsTaskConfigScanMode ¶
type TaskSettingsTaskConfigScanMode struct {
// contains filtered or unexported fields
}
func (TaskSettingsTaskConfigScanMode) MarshalJSON ¶
func (c TaskSettingsTaskConfigScanMode) MarshalJSON() ([]byte, error)
func (*TaskSettingsTaskConfigScanMode) UnmarshalJSON ¶
func (c *TaskSettingsTaskConfigScanMode) UnmarshalJSON(b []byte) error
func (TaskSettingsTaskConfigScanMode) Value ¶
func (c TaskSettingsTaskConfigScanMode) Value() string
type TaskSettingsTaskConfigScanModeEnum ¶
type TaskSettingsTaskConfigScanModeEnum struct { FAST TaskSettingsTaskConfigScanMode NORMAL TaskSettingsTaskConfigScanMode DEEP TaskSettingsTaskConfigScanMode }
func GetTaskSettingsTaskConfigScanModeEnum ¶
func GetTaskSettingsTaskConfigScanModeEnum() TaskSettingsTaskConfigScanModeEnum
type TaskSettingsTaskPeriod ¶
type TaskSettingsTaskPeriod struct {
// contains filtered or unexported fields
}
func (TaskSettingsTaskPeriod) MarshalJSON ¶
func (c TaskSettingsTaskPeriod) MarshalJSON() ([]byte, error)
func (*TaskSettingsTaskPeriod) UnmarshalJSON ¶
func (c *TaskSettingsTaskPeriod) UnmarshalJSON(b []byte) error
func (TaskSettingsTaskPeriod) Value ¶
func (c TaskSettingsTaskPeriod) Value() string
type TaskSettingsTaskPeriodEnum ¶
type TaskSettingsTaskPeriodEnum struct { EVERYDAY TaskSettingsTaskPeriod THREEDAYS TaskSettingsTaskPeriod EVERYWEEK TaskSettingsTaskPeriod EVERYMONTH TaskSettingsTaskPeriod }
func GetTaskSettingsTaskPeriodEnum ¶
func GetTaskSettingsTaskPeriodEnum() TaskSettingsTaskPeriodEnum
type UpdateDomainSettingsRequest ¶
type UpdateDomainSettingsRequest struct {
Body *UpdateDomainSettingsRequestBody `json:"body,omitempty"`
}
UpdateDomainSettingsRequest Request Object
func (UpdateDomainSettingsRequest) String ¶
func (o UpdateDomainSettingsRequest) String() string
type UpdateDomainSettingsRequestBody ¶
type UpdateDomainSettingsRequestBody struct { // 网站域名ID DomainId *string `json:"domain_id,omitempty"` // 网站需要登录时,设置登录页面 LoginUrl *string `json:"login_url,omitempty"` // 网站需要登录时,设置登录用户名 LoginUsername *string `json:"login_username,omitempty"` // 网站需要登录时,设置登录密码 LoginPassword *string `json:"login_password,omitempty"` // 网站需要登录时,设置登录cookie LoginCookies *string `json:"login_cookies,omitempty"` // 设置用于验证登录是否成功的网址 VerifyUrl *string `json:"verify_url,omitempty"` // 设置自定义HTTP请求头 HttpHeaders map[string]string `json:"http_headers,omitempty"` }
func (UpdateDomainSettingsRequestBody) String ¶
func (o UpdateDomainSettingsRequestBody) String() string
type UpdateDomainSettingsResponse ¶
type UpdateDomainSettingsResponse struct { // 状态码: * success - 成功 * failure - 失败 InfoCode *UpdateDomainSettingsResponseInfoCode `json:"info_code,omitempty"` // 返回的提示信息 InfoDescription *string `json:"info_description,omitempty"` HttpStatusCode int `json:"-"` }
UpdateDomainSettingsResponse Response Object
func (UpdateDomainSettingsResponse) String ¶
func (o UpdateDomainSettingsResponse) String() string
type UpdateDomainSettingsResponseBody ¶
type UpdateDomainSettingsResponseBody struct { // 网站域名ID DomainId *string `json:"domain_id,omitempty"` // 网站需要登录时,设置登录页面 LoginUrl *string `json:"login_url,omitempty"` // 网站需要登录时,设置登录用户名 LoginUsername *string `json:"login_username,omitempty"` // 网站需要登录时,设置登录密码 LoginPassword *string `json:"login_password,omitempty"` // 网站需要登录时,设置登录cookie LoginCookies *string `json:"login_cookies,omitempty"` // 设置用于验证登录是否成功的网址 VerifyUrl *string `json:"verify_url,omitempty"` // 设置自定义HTTP请求头 HttpHeaders map[string]string `json:"http_headers,omitempty"` // 网站域名 DomainName *string `json:"domain_name,omitempty"` }
func (UpdateDomainSettingsResponseBody) String ¶
func (o UpdateDomainSettingsResponseBody) String() string
type UpdateDomainSettingsResponseInfoCode ¶
type UpdateDomainSettingsResponseInfoCode struct {
// contains filtered or unexported fields
}
func (UpdateDomainSettingsResponseInfoCode) MarshalJSON ¶
func (c UpdateDomainSettingsResponseInfoCode) MarshalJSON() ([]byte, error)
func (*UpdateDomainSettingsResponseInfoCode) UnmarshalJSON ¶
func (c *UpdateDomainSettingsResponseInfoCode) UnmarshalJSON(b []byte) error
func (UpdateDomainSettingsResponseInfoCode) Value ¶
func (c UpdateDomainSettingsResponseInfoCode) Value() string
type UpdateDomainSettingsResponseInfoCodeEnum ¶
type UpdateDomainSettingsResponseInfoCodeEnum struct { SUCCESS UpdateDomainSettingsResponseInfoCode FAILURE UpdateDomainSettingsResponseInfoCode }
func GetUpdateDomainSettingsResponseInfoCodeEnum ¶
func GetUpdateDomainSettingsResponseInfoCodeEnum() UpdateDomainSettingsResponseInfoCodeEnum
type UpdateFalsePositiveRequest ¶
type UpdateFalsePositiveRequest struct {
Body *UpdateFalsePositiveRequestBody `json:"body,omitempty"`
}
UpdateFalsePositiveRequest Request Object
func (UpdateFalsePositiveRequest) String ¶
func (o UpdateFalsePositiveRequest) String() string
type UpdateFalsePositiveRequestBody ¶
type UpdateFalsePositiveRequestBody struct { // 漏洞ID VulnId string `json:"vuln_id"` // 误报确认人 Provider *string `json:"provider,omitempty"` // 误报确认理由 Reason *string `json:"reason,omitempty"` // 对漏洞的操作: * false_report - 更新漏洞状态为误报,并忽略 * repairing - 更新漏洞状态未修复 VulnStatus *UpdateFalsePositiveRequestBodyVulnStatus `json:"vuln_status,omitempty"` }
func (UpdateFalsePositiveRequestBody) String ¶
func (o UpdateFalsePositiveRequestBody) String() string
type UpdateFalsePositiveRequestBodyVulnStatus ¶
type UpdateFalsePositiveRequestBodyVulnStatus struct {
// contains filtered or unexported fields
}
func (UpdateFalsePositiveRequestBodyVulnStatus) MarshalJSON ¶
func (c UpdateFalsePositiveRequestBodyVulnStatus) MarshalJSON() ([]byte, error)
func (*UpdateFalsePositiveRequestBodyVulnStatus) UnmarshalJSON ¶
func (c *UpdateFalsePositiveRequestBodyVulnStatus) UnmarshalJSON(b []byte) error
func (UpdateFalsePositiveRequestBodyVulnStatus) Value ¶
func (c UpdateFalsePositiveRequestBodyVulnStatus) Value() string
type UpdateFalsePositiveRequestBodyVulnStatusEnum ¶
type UpdateFalsePositiveRequestBodyVulnStatusEnum struct { FALSE_REPORT UpdateFalsePositiveRequestBodyVulnStatus REPAIRING UpdateFalsePositiveRequestBodyVulnStatus }
func GetUpdateFalsePositiveRequestBodyVulnStatusEnum ¶
func GetUpdateFalsePositiveRequestBodyVulnStatusEnum() UpdateFalsePositiveRequestBodyVulnStatusEnum
type UpdateFalsePositiveResponse ¶
type UpdateFalsePositiveResponse struct { // 状态码: * success - 成功 * failure - 失败 InfoCode *UpdateFalsePositiveResponseInfoCode `json:"info_code,omitempty"` // 返回的提示信息 InfoDescription *string `json:"info_description,omitempty"` HttpStatusCode int `json:"-"` }
UpdateFalsePositiveResponse Response Object
func (UpdateFalsePositiveResponse) String ¶
func (o UpdateFalsePositiveResponse) String() string
type UpdateFalsePositiveResponseInfoCode ¶
type UpdateFalsePositiveResponseInfoCode struct {
// contains filtered or unexported fields
}
func (UpdateFalsePositiveResponseInfoCode) MarshalJSON ¶
func (c UpdateFalsePositiveResponseInfoCode) MarshalJSON() ([]byte, error)
func (*UpdateFalsePositiveResponseInfoCode) UnmarshalJSON ¶
func (c *UpdateFalsePositiveResponseInfoCode) UnmarshalJSON(b []byte) error
func (UpdateFalsePositiveResponseInfoCode) Value ¶
func (c UpdateFalsePositiveResponseInfoCode) Value() string
type UpdateFalsePositiveResponseInfoCodeEnum ¶
type UpdateFalsePositiveResponseInfoCodeEnum struct { SUCCESS UpdateFalsePositiveResponseInfoCode FAILURE UpdateFalsePositiveResponseInfoCode }
func GetUpdateFalsePositiveResponseInfoCodeEnum ¶
func GetUpdateFalsePositiveResponseInfoCodeEnum() UpdateFalsePositiveResponseInfoCodeEnum
type VulnItem ¶
type VulnItem struct { // 漏洞ID VulnId *string `json:"vuln_id,omitempty"` // 网站域名ID DomainId *string `json:"domain_id,omitempty"` // 目标网址 Url *string `json:"url,omitempty"` // 漏洞风险等级: * high - 高风险 * middle - 中风险 * low - 低风险 * hint - 提示 Severity *VulnItemSeverity `json:"severity,omitempty"` // 漏洞状态: * repairing - 未修复 * repaired - 已修复 * false_report - 误报,已忽略 VulnStatus *VulnItemVulnStatus `json:"vuln_status,omitempty"` // 漏洞类别 VulnClass *string `json:"vuln_class,omitempty"` // 漏洞名称 VulnType *string `json:"vuln_type,omitempty"` // 漏洞描述 Description *string `json:"description,omitempty"` // 修复建议 Advice *string `json:"advice,omitempty"` // 命中详情 HitDetails *string `json:"hit_details,omitempty"` // 请求详情 Request *string `json:"request,omitempty"` // 响应详情 Response *string `json:"response,omitempty"` // 漏洞确认人 Provider *string `json:"provider,omitempty"` // 漏洞忽略理由 Reason *string `json:"reason,omitempty"` // 漏洞发现时间 FindTime *string `json:"find_time,omitempty"` }
type VulnItemSeverity ¶
type VulnItemSeverity struct {
// contains filtered or unexported fields
}
func (VulnItemSeverity) MarshalJSON ¶
func (c VulnItemSeverity) MarshalJSON() ([]byte, error)
func (*VulnItemSeverity) UnmarshalJSON ¶
func (c *VulnItemSeverity) UnmarshalJSON(b []byte) error
func (VulnItemSeverity) Value ¶
func (c VulnItemSeverity) Value() string
type VulnItemSeverityEnum ¶
type VulnItemSeverityEnum struct { HIGH VulnItemSeverity MIDDLE VulnItemSeverity LOW VulnItemSeverity HINT VulnItemSeverity }
func GetVulnItemSeverityEnum ¶
func GetVulnItemSeverityEnum() VulnItemSeverityEnum
type VulnItemVulnStatus ¶
type VulnItemVulnStatus struct {
// contains filtered or unexported fields
}
func (VulnItemVulnStatus) MarshalJSON ¶
func (c VulnItemVulnStatus) MarshalJSON() ([]byte, error)
func (*VulnItemVulnStatus) UnmarshalJSON ¶
func (c *VulnItemVulnStatus) UnmarshalJSON(b []byte) error
func (VulnItemVulnStatus) Value ¶
func (c VulnItemVulnStatus) Value() string
type VulnItemVulnStatusEnum ¶
type VulnItemVulnStatusEnum struct { REPAIRING VulnItemVulnStatus REPAIRED VulnItemVulnStatus FALSE_REPORT VulnItemVulnStatus }
func GetVulnItemVulnStatusEnum ¶
func GetVulnItemVulnStatusEnum() VulnItemVulnStatusEnum
type VulnsLevel ¶
type VulnsLevel struct { // 高危漏洞数 High *int32 `json:"high,omitempty"` // 中危漏洞数 Middle *int32 `json:"middle,omitempty"` // 低危漏洞数 Low *int32 `json:"low,omitempty"` // 提示危漏洞数 Hint *int32 `json:"hint,omitempty"` }
func (VulnsLevel) String ¶
func (o VulnsLevel) String() string
Source Files ¶
- model_add_group_request.go
- model_add_group_request_body.go
- model_add_group_response.go
- model_authorize_domains_request.go
- model_authorize_domains_request_body.go
- model_authorize_domains_response.go
- model_batch_create_hosts_request.go
- model_batch_create_hosts_request_body.go
- model_batch_create_hosts_response.go
- model_batch_start_host_tasks_request.go
- model_batch_start_host_tasks_request_body.go
- model_batch_start_host_tasks_response.go
- model_batch_start_host_tasks_response_body_results.go
- model_business_risk_item.go
- model_cancel_tasks_request.go
- model_cancel_tasks_request_body.go
- model_cancel_tasks_response.go
- model_create_domains_request.go
- model_create_domains_request_body.go
- model_create_domains_response.go
- model_create_tasks_request.go
- model_create_tasks_request_body.go
- model_create_tasks_response.go
- model_delete_domains_request.go
- model_delete_domains_response.go
- model_delete_group_request.go
- model_delete_group_response.go
- model_delete_host_request.go
- model_delete_host_response.go
- model_domain_item.go
- model_domain_settings.go
- model_download_task_report_request.go
- model_download_task_report_response.go
- model_execute_generate_report_request.go
- model_execute_generate_report_request_body.go
- model_execute_generate_report_response.go
- model_group.go
- model_hg_host.go
- model_host_item.go
- model_host_item_with_id.go
- model_host_vuln_item.go
- model_host_vuln_item_component_list.go
- model_host_vuln_item_cve_list.go
- model_list_business_risks_request.go
- model_list_business_risks_response.go
- model_list_domains_request.go
- model_list_domains_response.go
- model_list_groups_request.go
- model_list_groups_response.go
- model_list_host_results_request.go
- model_list_host_results_response.go
- model_list_hosts_request.go
- model_list_hosts_response.go
- model_list_port_results_request.go
- model_list_port_results_response.go
- model_list_task_histories_request.go
- model_list_task_histories_response.go
- model_operate_info_response_body.go
- model_port_item.go
- model_scan_info_detail.go
- model_show_domain_settings_request.go
- model_show_domain_settings_response.go
- model_show_report_status_request.go
- model_show_report_status_response.go
- model_show_results_request.go
- model_show_results_response.go
- model_show_tasks_request.go
- model_show_tasks_response.go
- model_show_tasks_response_body.go
- model_task_infos.go
- model_task_settings.go
- model_task_settings_task_config.go
- model_update_domain_settings_request.go
- model_update_domain_settings_request_body.go
- model_update_domain_settings_response.go
- model_update_domain_settings_response_body.go
- model_update_false_positive_request.go
- model_update_false_positive_request_body.go
- model_update_false_positive_response.go
- model_vuln_item.go
- model_vulns_level.go