Documentation ¶
Index ¶
- type AuthorizeDomainsRequest
- type AuthorizeDomainsRequestBody
- type AuthorizeDomainsRequestBodyAuthMode
- type AuthorizeDomainsRequestBodyAuthModeEnum
- type AuthorizeDomainsResponse
- type AuthorizeDomainsResponseInfoCode
- type AuthorizeDomainsResponseInfoCodeEnum
- 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 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 ListBusinessRisksRequest
- type ListBusinessRisksResponse
- type ListDomainsRequest
- type ListDomainsRequestAuthStatus
- type ListDomainsRequestAuthStatusEnum
- type ListDomainsResponse
- 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 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 AuthorizeDomainsRequest ¶ added in v0.0.74
type AuthorizeDomainsRequest struct {
Body *AuthorizeDomainsRequestBody `json:"body,omitempty"`
}
Request Object
func (AuthorizeDomainsRequest) String ¶ added in v0.0.74
func (o AuthorizeDomainsRequest) String() string
type AuthorizeDomainsRequestBody ¶ added in v0.0.74
type AuthorizeDomainsRequestBody struct { // 域名 DomainName string `json:"domain_name"` // 认证方式: * file - 文件认证 * auto - 一键认证 * free - 免认证,选择此项默认已阅读并了解下述使用要求 使用须知: 1、您的账号已完成实名认证,且非受限账号。 2、您确认您已获得对扫描对象进行扫描的相关合法权利。 3、您确认您的扫描行为有合法合理目的,且符合适用的法律法规要求,不得利用本服务从事任何黑灰产等非法活动。 4、若您违反上述承诺,我们有权立即终止您对本服务的使用,并要求您对我们及相关第三方因此遭受的损失进行赔偿。 AuthMode *AuthorizeDomainsRequestBodyAuthMode `json:"auth_mode,omitempty"` }
func (AuthorizeDomainsRequestBody) String ¶ added in v0.0.74
func (o AuthorizeDomainsRequestBody) String() string
type AuthorizeDomainsRequestBodyAuthMode ¶ added in v0.0.74
type AuthorizeDomainsRequestBodyAuthMode struct {
// contains filtered or unexported fields
}
func (AuthorizeDomainsRequestBodyAuthMode) MarshalJSON ¶ added in v0.0.74
func (c AuthorizeDomainsRequestBodyAuthMode) MarshalJSON() ([]byte, error)
func (*AuthorizeDomainsRequestBodyAuthMode) UnmarshalJSON ¶ added in v0.0.74
func (c *AuthorizeDomainsRequestBodyAuthMode) UnmarshalJSON(b []byte) error
func (AuthorizeDomainsRequestBodyAuthMode) Value ¶ added in v0.0.90
func (c AuthorizeDomainsRequestBodyAuthMode) Value() string
type AuthorizeDomainsRequestBodyAuthModeEnum ¶ added in v0.0.74
type AuthorizeDomainsRequestBodyAuthModeEnum struct { FILE AuthorizeDomainsRequestBodyAuthMode AUTO AuthorizeDomainsRequestBodyAuthMode FREE AuthorizeDomainsRequestBodyAuthMode }
func GetAuthorizeDomainsRequestBodyAuthModeEnum ¶ added in v0.0.74
func GetAuthorizeDomainsRequestBodyAuthModeEnum() AuthorizeDomainsRequestBodyAuthModeEnum
type AuthorizeDomainsResponse ¶ added in v0.0.74
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:"-"` }
Response Object
func (AuthorizeDomainsResponse) String ¶ added in v0.0.74
func (o AuthorizeDomainsResponse) String() string
type AuthorizeDomainsResponseInfoCode ¶ added in v0.0.74
type AuthorizeDomainsResponseInfoCode struct {
// contains filtered or unexported fields
}
func (AuthorizeDomainsResponseInfoCode) MarshalJSON ¶ added in v0.0.74
func (c AuthorizeDomainsResponseInfoCode) MarshalJSON() ([]byte, error)
func (*AuthorizeDomainsResponseInfoCode) UnmarshalJSON ¶ added in v0.0.74
func (c *AuthorizeDomainsResponseInfoCode) UnmarshalJSON(b []byte) error
func (AuthorizeDomainsResponseInfoCode) Value ¶ added in v0.0.90
func (c AuthorizeDomainsResponseInfoCode) Value() string
type AuthorizeDomainsResponseInfoCodeEnum ¶ added in v0.0.74
type AuthorizeDomainsResponseInfoCodeEnum struct { SUCCESS AuthorizeDomainsResponseInfoCode FAILURE AuthorizeDomainsResponseInfoCode }
func GetAuthorizeDomainsResponseInfoCodeEnum ¶ added in v0.0.74
func GetAuthorizeDomainsResponseInfoCodeEnum() AuthorizeDomainsResponseInfoCodeEnum
type BusinessRiskItem ¶ added in v0.0.81
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 ¶ added in v0.0.81
func (o BusinessRiskItem) String() string
type BusinessRiskItemRiskStatus ¶ added in v0.0.81
type BusinessRiskItemRiskStatus struct {
// contains filtered or unexported fields
}
func (BusinessRiskItemRiskStatus) MarshalJSON ¶ added in v0.0.81
func (c BusinessRiskItemRiskStatus) MarshalJSON() ([]byte, error)
func (*BusinessRiskItemRiskStatus) UnmarshalJSON ¶ added in v0.0.81
func (c *BusinessRiskItemRiskStatus) UnmarshalJSON(b []byte) error
func (BusinessRiskItemRiskStatus) Value ¶ added in v0.0.90
func (c BusinessRiskItemRiskStatus) Value() string
type BusinessRiskItemRiskStatusEnum ¶ added in v0.0.81
type BusinessRiskItemRiskStatusEnum struct { REPAIRING BusinessRiskItemRiskStatus REPAIRED BusinessRiskItemRiskStatus FALSE_REPORT BusinessRiskItemRiskStatus }
func GetBusinessRiskItemRiskStatusEnum ¶ added in v0.0.81
func GetBusinessRiskItemRiskStatusEnum() BusinessRiskItemRiskStatusEnum
type BusinessRiskItemRiskType ¶ added in v0.0.81
type BusinessRiskItemRiskType struct {
// contains filtered or unexported fields
}
func (BusinessRiskItemRiskType) MarshalJSON ¶ added in v0.0.81
func (c BusinessRiskItemRiskType) MarshalJSON() ([]byte, error)
func (*BusinessRiskItemRiskType) UnmarshalJSON ¶ added in v0.0.81
func (c *BusinessRiskItemRiskType) UnmarshalJSON(b []byte) error
func (BusinessRiskItemRiskType) Value ¶ added in v0.0.90
func (c BusinessRiskItemRiskType) Value() string
type BusinessRiskItemRiskTypeEnum ¶ added in v0.0.81
type BusinessRiskItemRiskTypeEnum struct { TEXT BusinessRiskItemRiskType IMAGE BusinessRiskItemRiskType DEAD_LINK BusinessRiskItemRiskType DARK_LINK BusinessRiskItemRiskType BUSINESS_RISK BusinessRiskItemRiskType }
func GetBusinessRiskItemRiskTypeEnum ¶ added in v0.0.81
func GetBusinessRiskItemRiskTypeEnum() BusinessRiskItemRiskTypeEnum
type CancelTasksRequest ¶ added in v0.0.81
type CancelTasksRequest struct {
Body *CancelTasksRequestBody `json:"body,omitempty"`
}
Request Object
func (CancelTasksRequest) String ¶ added in v0.0.81
func (o CancelTasksRequest) String() string
type CancelTasksRequestBody ¶ added in v0.0.81
type CancelTasksRequestBody struct { // 任务ID TaskId string `json:"task_id"` // 对扫描任务的操作: * cancel - 取消扫描任务 * restart - 重启扫描任务 Action CancelTasksRequestBodyAction `json:"action"` }
func (CancelTasksRequestBody) String ¶ added in v0.0.81
func (o CancelTasksRequestBody) String() string
type CancelTasksRequestBodyAction ¶ added in v0.0.81
type CancelTasksRequestBodyAction struct {
// contains filtered or unexported fields
}
func (CancelTasksRequestBodyAction) MarshalJSON ¶ added in v0.0.81
func (c CancelTasksRequestBodyAction) MarshalJSON() ([]byte, error)
func (*CancelTasksRequestBodyAction) UnmarshalJSON ¶ added in v0.0.81
func (c *CancelTasksRequestBodyAction) UnmarshalJSON(b []byte) error
func (CancelTasksRequestBodyAction) Value ¶ added in v0.0.90
func (c CancelTasksRequestBodyAction) Value() string
type CancelTasksRequestBodyActionEnum ¶ added in v0.0.81
type CancelTasksRequestBodyActionEnum struct { CANCEL CancelTasksRequestBodyAction RESTART CancelTasksRequestBodyAction }
func GetCancelTasksRequestBodyActionEnum ¶ added in v0.0.81
func GetCancelTasksRequestBodyActionEnum() CancelTasksRequestBodyActionEnum
type CancelTasksResponse ¶ added in v0.0.81
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 - 正在等待 * failure - 失败 TaskStatus *CancelTasksResponseTaskStatus `json:"task_status,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (CancelTasksResponse) String ¶ added in v0.0.81
func (o CancelTasksResponse) String() string
type CancelTasksResponseInfoCode ¶ added in v0.0.81
type CancelTasksResponseInfoCode struct {
// contains filtered or unexported fields
}
func (CancelTasksResponseInfoCode) MarshalJSON ¶ added in v0.0.81
func (c CancelTasksResponseInfoCode) MarshalJSON() ([]byte, error)
func (*CancelTasksResponseInfoCode) UnmarshalJSON ¶ added in v0.0.81
func (c *CancelTasksResponseInfoCode) UnmarshalJSON(b []byte) error
func (CancelTasksResponseInfoCode) Value ¶ added in v0.0.90
func (c CancelTasksResponseInfoCode) Value() string
type CancelTasksResponseInfoCodeEnum ¶ added in v0.0.81
type CancelTasksResponseInfoCodeEnum struct { SUCCESS CancelTasksResponseInfoCode FAILURE CancelTasksResponseInfoCode }
func GetCancelTasksResponseInfoCodeEnum ¶ added in v0.0.81
func GetCancelTasksResponseInfoCodeEnum() CancelTasksResponseInfoCodeEnum
type CancelTasksResponseTaskStatus ¶ added in v0.0.81
type CancelTasksResponseTaskStatus struct {
// contains filtered or unexported fields
}
func (CancelTasksResponseTaskStatus) MarshalJSON ¶ added in v0.0.81
func (c CancelTasksResponseTaskStatus) MarshalJSON() ([]byte, error)
func (*CancelTasksResponseTaskStatus) UnmarshalJSON ¶ added in v0.0.81
func (c *CancelTasksResponseTaskStatus) UnmarshalJSON(b []byte) error
func (CancelTasksResponseTaskStatus) Value ¶ added in v0.0.90
func (c CancelTasksResponseTaskStatus) Value() string
type CancelTasksResponseTaskStatusEnum ¶ added in v0.0.81
type CancelTasksResponseTaskStatusEnum struct { RUNNING CancelTasksResponseTaskStatus SUCCESS CancelTasksResponseTaskStatus CANCELED CancelTasksResponseTaskStatus WAITING CancelTasksResponseTaskStatus FAILURE CancelTasksResponseTaskStatus }
func GetCancelTasksResponseTaskStatusEnum ¶ added in v0.0.81
func GetCancelTasksResponseTaskStatusEnum() CancelTasksResponseTaskStatusEnum
type CreateDomainsRequest ¶
type CreateDomainsRequest struct {
Body *CreateDomainsRequestBody `json:"body,omitempty"`
}
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:"-"` }
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 ¶ added in v0.0.90
func (c CreateDomainsResponseInfoCode) Value() string
type CreateDomainsResponseInfoCodeEnum ¶
type CreateDomainsResponseInfoCodeEnum struct { SUCCESS CreateDomainsResponseInfoCode FAILURE CreateDomainsResponseInfoCode }
func GetCreateDomainsResponseInfoCodeEnum ¶
func GetCreateDomainsResponseInfoCodeEnum() CreateDomainsResponseInfoCodeEnum
type CreateTasksRequest ¶ added in v0.0.74
type CreateTasksRequest struct { // 是否将本次扫描升级为专业版规格(¥99.00/次) Upgrade *bool `json:"upgrade,omitempty"` Body *CreateTasksRequestBody `json:"body,omitempty"` }
Request Object
func (CreateTasksRequest) String ¶ added in v0.0.74
func (o CreateTasksRequest) String() string
type CreateTasksRequestBody ¶ added in v0.0.74
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 ¶ added in v0.0.74
func (o CreateTasksRequestBody) String() string
type CreateTasksRequestBodyTaskPeriod ¶ added in v0.0.74
type CreateTasksRequestBodyTaskPeriod struct {
// contains filtered or unexported fields
}
func (CreateTasksRequestBodyTaskPeriod) MarshalJSON ¶ added in v0.0.74
func (c CreateTasksRequestBodyTaskPeriod) MarshalJSON() ([]byte, error)
func (*CreateTasksRequestBodyTaskPeriod) UnmarshalJSON ¶ added in v0.0.74
func (c *CreateTasksRequestBodyTaskPeriod) UnmarshalJSON(b []byte) error
func (CreateTasksRequestBodyTaskPeriod) Value ¶ added in v0.0.90
func (c CreateTasksRequestBodyTaskPeriod) Value() string
type CreateTasksRequestBodyTaskPeriodEnum ¶ added in v0.0.74
type CreateTasksRequestBodyTaskPeriodEnum struct { EVERYDAY CreateTasksRequestBodyTaskPeriod THREEDAYS CreateTasksRequestBodyTaskPeriod EVERYWEEK CreateTasksRequestBodyTaskPeriod EVERYMONTH CreateTasksRequestBodyTaskPeriod }
func GetCreateTasksRequestBodyTaskPeriodEnum ¶ added in v0.0.74
func GetCreateTasksRequestBodyTaskPeriodEnum() CreateTasksRequestBodyTaskPeriodEnum
type CreateTasksRequestBodyTaskType ¶ added in v0.0.74
type CreateTasksRequestBodyTaskType struct {
// contains filtered or unexported fields
}
func (CreateTasksRequestBodyTaskType) MarshalJSON ¶ added in v0.0.74
func (c CreateTasksRequestBodyTaskType) MarshalJSON() ([]byte, error)
func (*CreateTasksRequestBodyTaskType) UnmarshalJSON ¶ added in v0.0.74
func (c *CreateTasksRequestBodyTaskType) UnmarshalJSON(b []byte) error
func (CreateTasksRequestBodyTaskType) Value ¶ added in v0.0.90
func (c CreateTasksRequestBodyTaskType) Value() string
type CreateTasksRequestBodyTaskTypeEnum ¶ added in v0.0.74
type CreateTasksRequestBodyTaskTypeEnum struct { NORMAL CreateTasksRequestBodyTaskType MONITOR CreateTasksRequestBodyTaskType }
func GetCreateTasksRequestBodyTaskTypeEnum ¶ added in v0.0.74
func GetCreateTasksRequestBodyTaskTypeEnum() CreateTasksRequestBodyTaskTypeEnum
type CreateTasksResponse ¶ added in v0.0.74
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 - 正在等待 * failure - 失败 TaskStatus *CreateTasksResponseTaskStatus `json:"task_status,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (CreateTasksResponse) String ¶ added in v0.0.74
func (o CreateTasksResponse) String() string
type CreateTasksResponseInfoCode ¶ added in v0.0.74
type CreateTasksResponseInfoCode struct {
// contains filtered or unexported fields
}
func (CreateTasksResponseInfoCode) MarshalJSON ¶ added in v0.0.74
func (c CreateTasksResponseInfoCode) MarshalJSON() ([]byte, error)
func (*CreateTasksResponseInfoCode) UnmarshalJSON ¶ added in v0.0.74
func (c *CreateTasksResponseInfoCode) UnmarshalJSON(b []byte) error
func (CreateTasksResponseInfoCode) Value ¶ added in v0.0.90
func (c CreateTasksResponseInfoCode) Value() string
type CreateTasksResponseInfoCodeEnum ¶ added in v0.0.74
type CreateTasksResponseInfoCodeEnum struct { SUCCESS CreateTasksResponseInfoCode FAILURE CreateTasksResponseInfoCode }
func GetCreateTasksResponseInfoCodeEnum ¶ added in v0.0.74
func GetCreateTasksResponseInfoCodeEnum() CreateTasksResponseInfoCodeEnum
type CreateTasksResponseTaskStatus ¶ added in v0.0.74
type CreateTasksResponseTaskStatus struct {
// contains filtered or unexported fields
}
func (CreateTasksResponseTaskStatus) MarshalJSON ¶ added in v0.0.74
func (c CreateTasksResponseTaskStatus) MarshalJSON() ([]byte, error)
func (*CreateTasksResponseTaskStatus) UnmarshalJSON ¶ added in v0.0.74
func (c *CreateTasksResponseTaskStatus) UnmarshalJSON(b []byte) error
func (CreateTasksResponseTaskStatus) Value ¶ added in v0.0.90
func (c CreateTasksResponseTaskStatus) Value() string
type CreateTasksResponseTaskStatusEnum ¶ added in v0.0.74
type CreateTasksResponseTaskStatusEnum struct { RUNNING CreateTasksResponseTaskStatus SUCCESS CreateTasksResponseTaskStatus CANCELED CreateTasksResponseTaskStatus WAITING CreateTasksResponseTaskStatus FAILURE CreateTasksResponseTaskStatus }
func GetCreateTasksResponseTaskStatusEnum ¶ added in v0.0.74
func GetCreateTasksResponseTaskStatusEnum() CreateTasksResponseTaskStatusEnum
type DeleteDomainsRequest ¶
type DeleteDomainsRequest struct { // 域名 DomainName string `json:"domain_name"` }
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:"-"` }
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 ¶ added in v0.0.90
func (c DeleteDomainsResponseInfoCode) Value() string
type DeleteDomainsResponseInfoCodeEnum ¶
type DeleteDomainsResponseInfoCodeEnum struct { SUCCESS DeleteDomainsResponseInfoCode FAILURE DeleteDomainsResponseInfoCode }
func GetDeleteDomainsResponseInfoCodeEnum ¶
func GetDeleteDomainsResponseInfoCodeEnum() DeleteDomainsResponseInfoCodeEnum
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 ¶ added in v0.0.90
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 ¶ added in v0.0.90
func (c DomainItemProtocolType) Value() string
type DomainItemProtocolTypeEnum ¶
type DomainItemProtocolTypeEnum struct { HTTP_ DomainItemProtocolType HTTPS_ DomainItemProtocolType }
func GetDomainItemProtocolTypeEnum ¶
func GetDomainItemProtocolTypeEnum() DomainItemProtocolTypeEnum
type DomainSettings ¶ added in v0.0.81
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 ¶ added in v0.0.81
func (o DomainSettings) String() string
type DownloadTaskReportRequest ¶ added in v0.0.93
type DownloadTaskReportRequest struct { // 任务ID TaskId string `json:"task_id"` }
Request Object
func (DownloadTaskReportRequest) String ¶ added in v0.0.93
func (o DownloadTaskReportRequest) String() string
type DownloadTaskReportResponse ¶ added in v0.0.93
type DownloadTaskReportResponse struct { HttpStatusCode int `json:"-"` Body io.ReadCloser `json:"-" type:"stream"` }
Response Object
func (DownloadTaskReportResponse) Consume ¶ added in v0.0.93
func (o DownloadTaskReportResponse) Consume(writer io.Writer) (int64, error)
func (DownloadTaskReportResponse) String ¶ added in v0.0.93
func (o DownloadTaskReportResponse) String() string
type ExecuteGenerateReportRequest ¶ added in v0.0.93
type ExecuteGenerateReportRequest struct {
Body *ExecuteGenerateReportRequestBody `json:"body,omitempty"`
}
Request Object
func (ExecuteGenerateReportRequest) String ¶ added in v0.0.93
func (o ExecuteGenerateReportRequest) String() string
type ExecuteGenerateReportRequestBody ¶ added in v0.0.93
type ExecuteGenerateReportRequestBody struct { // 任务ID TaskId string `json:"task_id"` }
func (ExecuteGenerateReportRequestBody) String ¶ added in v0.0.93
func (o ExecuteGenerateReportRequestBody) String() string
type ExecuteGenerateReportResponse ¶ added in v0.0.93
type ExecuteGenerateReportResponse struct { // 状态码: * success - 成功 * failure - 失败 InfoCode *ExecuteGenerateReportResponseInfoCode `json:"info_code,omitempty"` // 返回的提示信息 InfoDescription *string `json:"info_description,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ExecuteGenerateReportResponse) String ¶ added in v0.0.93
func (o ExecuteGenerateReportResponse) String() string
type ExecuteGenerateReportResponseInfoCode ¶ added in v0.0.93
type ExecuteGenerateReportResponseInfoCode struct {
// contains filtered or unexported fields
}
func (ExecuteGenerateReportResponseInfoCode) MarshalJSON ¶ added in v0.0.93
func (c ExecuteGenerateReportResponseInfoCode) MarshalJSON() ([]byte, error)
func (*ExecuteGenerateReportResponseInfoCode) UnmarshalJSON ¶ added in v0.0.93
func (c *ExecuteGenerateReportResponseInfoCode) UnmarshalJSON(b []byte) error
func (ExecuteGenerateReportResponseInfoCode) Value ¶ added in v0.0.93
func (c ExecuteGenerateReportResponseInfoCode) Value() string
type ExecuteGenerateReportResponseInfoCodeEnum ¶ added in v0.0.93
type ExecuteGenerateReportResponseInfoCodeEnum struct { SUCCESS ExecuteGenerateReportResponseInfoCode FAILURE ExecuteGenerateReportResponseInfoCode }
func GetExecuteGenerateReportResponseInfoCodeEnum ¶ added in v0.0.93
func GetExecuteGenerateReportResponseInfoCodeEnum() ExecuteGenerateReportResponseInfoCodeEnum
type ListBusinessRisksRequest ¶ added in v0.0.81
type ListBusinessRisksRequest struct { // 任务ID TaskId string `json:"task_id"` // 分页查询,偏移量,表示从此偏移量开始查询 Offset *int32 `json:"offset,omitempty"` // 分页查询,每页显示的条目数量 Limit *int32 `json:"limit,omitempty"` }
Request Object
func (ListBusinessRisksRequest) String ¶ added in v0.0.81
func (o ListBusinessRisksRequest) String() string
type ListBusinessRisksResponse ¶ added in v0.0.81
type ListBusinessRisksResponse struct { // 业务风险总数 Total *int32 `json:"total,omitempty"` // 业务风险列表 Data *[]BusinessRiskItem `json:"data,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListBusinessRisksResponse) String ¶ added in v0.0.81
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"` }
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 ¶ added in v0.0.90
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:"-"` }
Response Object
func (ListDomainsResponse) String ¶
func (o ListDomainsResponse) String() string
type ListPortResultsRequest ¶ added in v0.0.81
type ListPortResultsRequest struct { // 任务ID TaskId string `json:"task_id"` // 分页查询,偏移量,表示从此偏移量开始查询 Offset *int32 `json:"offset,omitempty"` // 分页查询,每页显示的条目数量 Limit *int32 `json:"limit,omitempty"` }
Request Object
func (ListPortResultsRequest) String ¶ added in v0.0.81
func (o ListPortResultsRequest) String() string
type ListPortResultsResponse ¶ added in v0.0.81
type ListPortResultsResponse struct { // 端口总数 Total *int32 `json:"total,omitempty"` // 端口信息列表 Data *[]PortItem `json:"data,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListPortResultsResponse) String ¶ added in v0.0.81
func (o ListPortResultsResponse) String() string
type ListTaskHistoriesRequest ¶ added in v0.0.81
type ListTaskHistoriesRequest struct { // 域名ID DomainId string `json:"domain_id"` // 分页查询,偏移量,表示从此偏移量开始查询 Offset *int32 `json:"offset,omitempty"` // 分页查询,每页显示的条目数量 Limit *int32 `json:"limit,omitempty"` }
Request Object
func (ListTaskHistoriesRequest) String ¶ added in v0.0.81
func (o ListTaskHistoriesRequest) String() string
type ListTaskHistoriesResponse ¶ added in v0.0.81
type ListTaskHistoriesResponse struct { // 历史扫描任务总数 Total *int32 `json:"total,omitempty"` // 历史扫描任务列表 Data *[]ShowTasksResponseBody `json:"data,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListTaskHistoriesResponse) String ¶ added in v0.0.81
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 ¶ added in v0.0.90
func (c OperateInfoResponseBodyInfoCode) Value() string
type OperateInfoResponseBodyInfoCodeEnum ¶
type OperateInfoResponseBodyInfoCodeEnum struct { SUCCESS OperateInfoResponseBodyInfoCode FAILURE OperateInfoResponseBodyInfoCode }
func GetOperateInfoResponseBodyInfoCodeEnum ¶
func GetOperateInfoResponseBodyInfoCodeEnum() OperateInfoResponseBodyInfoCodeEnum
type PortItem ¶ added in v0.0.81
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 ¶ added in v0.0.81
type PortItemProtocol struct {
// contains filtered or unexported fields
}
func (PortItemProtocol) MarshalJSON ¶ added in v0.0.81
func (c PortItemProtocol) MarshalJSON() ([]byte, error)
func (*PortItemProtocol) UnmarshalJSON ¶ added in v0.0.81
func (c *PortItemProtocol) UnmarshalJSON(b []byte) error
func (PortItemProtocol) Value ¶ added in v0.0.90
func (c PortItemProtocol) Value() string
type PortItemProtocolEnum ¶ added in v0.0.81
type PortItemProtocolEnum struct { TCP PortItemProtocol UDP PortItemProtocol }
func GetPortItemProtocolEnum ¶ added in v0.0.81
func GetPortItemProtocolEnum() PortItemProtocolEnum
type PortItemStatus ¶ added in v0.0.81
type PortItemStatus struct {
// contains filtered or unexported fields
}
func (PortItemStatus) MarshalJSON ¶ added in v0.0.81
func (c PortItemStatus) MarshalJSON() ([]byte, error)
func (*PortItemStatus) UnmarshalJSON ¶ added in v0.0.81
func (c *PortItemStatus) UnmarshalJSON(b []byte) error
func (PortItemStatus) Value ¶ added in v0.0.90
func (c PortItemStatus) Value() string
type PortItemStatusEnum ¶ added in v0.0.81
type PortItemStatusEnum struct { FILTERED PortItemStatus OPEN PortItemStatus }
func GetPortItemStatusEnum ¶ added in v0.0.81
func GetPortItemStatusEnum() PortItemStatusEnum
type ShowDomainSettingsRequest ¶ added in v0.0.81
type ShowDomainSettingsRequest struct { // 域名ID DomainId string `json:"domain_id"` }
Request Object
func (ShowDomainSettingsRequest) String ¶ added in v0.0.81
func (o ShowDomainSettingsRequest) String() string
type ShowDomainSettingsResponse ¶ added in v0.0.81
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:"-"` }
Response Object
func (ShowDomainSettingsResponse) String ¶ added in v0.0.81
func (o ShowDomainSettingsResponse) String() string
type ShowReportStatusRequest ¶ added in v0.0.93
type ShowReportStatusRequest struct { // 任务ID TaskId string `json:"task_id"` }
Request Object
func (ShowReportStatusRequest) String ¶ added in v0.0.93
func (o ShowReportStatusRequest) String() string
type ShowReportStatusResponse ¶ added in v0.0.93
type ShowReportStatusResponse struct { // 任务ID TaskId *string `json:"task_id,omitempty"` // PDF报告生成状态: * ungenerated - 未生成 * generating - 生成中 * generated - 已生成 * failed - 生成失败 ReportStatus *ShowReportStatusResponseReportStatus `json:"report_status,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ShowReportStatusResponse) String ¶ added in v0.0.93
func (o ShowReportStatusResponse) String() string
type ShowReportStatusResponseReportStatus ¶ added in v0.0.93
type ShowReportStatusResponseReportStatus struct {
// contains filtered or unexported fields
}
func (ShowReportStatusResponseReportStatus) MarshalJSON ¶ added in v0.0.93
func (c ShowReportStatusResponseReportStatus) MarshalJSON() ([]byte, error)
func (*ShowReportStatusResponseReportStatus) UnmarshalJSON ¶ added in v0.0.93
func (c *ShowReportStatusResponseReportStatus) UnmarshalJSON(b []byte) error
func (ShowReportStatusResponseReportStatus) Value ¶ added in v0.0.93
func (c ShowReportStatusResponseReportStatus) Value() string
type ShowReportStatusResponseReportStatusEnum ¶ added in v0.0.93
type ShowReportStatusResponseReportStatusEnum struct { UNGENERATED ShowReportStatusResponseReportStatus GENERATING ShowReportStatusResponseReportStatus GENERATED ShowReportStatusResponseReportStatus FAILED ShowReportStatusResponseReportStatus }
func GetShowReportStatusResponseReportStatusEnum ¶ added in v0.0.93
func GetShowReportStatusResponseReportStatusEnum() ShowReportStatusResponseReportStatusEnum
type ShowResultsRequest ¶ added in v0.0.74
type ShowResultsRequest struct { // 任务ID TaskId string `json:"task_id"` // 分页查询,偏移量,表示从此偏移量开始查询 Offset *int32 `json:"offset,omitempty"` // 分页查询,每页显示的条目数量 Limit *int32 `json:"limit,omitempty"` }
Request Object
func (ShowResultsRequest) String ¶ added in v0.0.74
func (o ShowResultsRequest) String() string
type ShowResultsResponse ¶ added in v0.0.74
type ShowResultsResponse struct { // 漏洞总数 Total *int32 `json:"total,omitempty"` // 漏洞信息列表 Data *[]VulnItem `json:"data,omitempty"` Statistics *VulnsLevel `json:"statistics,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ShowResultsResponse) String ¶ added in v0.0.74
func (o ShowResultsResponse) String() string
type ShowTasksRequest ¶ added in v0.0.74
type ShowTasksRequest struct { // 任务ID TaskId string `json:"task_id"` }
Request Object
func (ShowTasksRequest) String ¶ added in v0.0.74
func (o ShowTasksRequest) String() string
type ShowTasksResponse ¶ added in v0.0.74
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 - 正在等待 * 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:"-"` }
Response Object
func (ShowTasksResponse) String ¶ added in v0.0.74
func (o ShowTasksResponse) String() string
type ShowTasksResponseBody ¶ added in v0.0.81
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 - 正在等待 * 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 ¶ added in v0.0.81
func (o ShowTasksResponseBody) String() string
type ShowTasksResponseBodySafeLevel ¶ added in v0.0.81
type ShowTasksResponseBodySafeLevel struct {
// contains filtered or unexported fields
}
func (ShowTasksResponseBodySafeLevel) MarshalJSON ¶ added in v0.0.81
func (c ShowTasksResponseBodySafeLevel) MarshalJSON() ([]byte, error)
func (*ShowTasksResponseBodySafeLevel) UnmarshalJSON ¶ added in v0.0.81
func (c *ShowTasksResponseBodySafeLevel) UnmarshalJSON(b []byte) error
func (ShowTasksResponseBodySafeLevel) Value ¶ added in v0.0.90
func (c ShowTasksResponseBodySafeLevel) Value() string
type ShowTasksResponseBodySafeLevelEnum ¶ added in v0.0.81
type ShowTasksResponseBodySafeLevelEnum struct { SAFETY ShowTasksResponseBodySafeLevel AVERAGE ShowTasksResponseBodySafeLevel HIGHRISK ShowTasksResponseBodySafeLevel }
func GetShowTasksResponseBodySafeLevelEnum ¶ added in v0.0.81
func GetShowTasksResponseBodySafeLevelEnum() ShowTasksResponseBodySafeLevelEnum
type ShowTasksResponseBodyScheduleStatus ¶ added in v0.0.81
type ShowTasksResponseBodyScheduleStatus struct {
// contains filtered or unexported fields
}
func (ShowTasksResponseBodyScheduleStatus) MarshalJSON ¶ added in v0.0.81
func (c ShowTasksResponseBodyScheduleStatus) MarshalJSON() ([]byte, error)
func (*ShowTasksResponseBodyScheduleStatus) UnmarshalJSON ¶ added in v0.0.81
func (c *ShowTasksResponseBodyScheduleStatus) UnmarshalJSON(b []byte) error
func (ShowTasksResponseBodyScheduleStatus) Value ¶ added in v0.0.90
func (c ShowTasksResponseBodyScheduleStatus) Value() string
type ShowTasksResponseBodyScheduleStatusEnum ¶ added in v0.0.81
type ShowTasksResponseBodyScheduleStatusEnum struct { RUNNING ShowTasksResponseBodyScheduleStatus WAITING ShowTasksResponseBodyScheduleStatus FINISHED ShowTasksResponseBodyScheduleStatus }
func GetShowTasksResponseBodyScheduleStatusEnum ¶ added in v0.0.81
func GetShowTasksResponseBodyScheduleStatusEnum() ShowTasksResponseBodyScheduleStatusEnum
type ShowTasksResponseBodyTaskStatus ¶ added in v0.0.81
type ShowTasksResponseBodyTaskStatus struct {
// contains filtered or unexported fields
}
func (ShowTasksResponseBodyTaskStatus) MarshalJSON ¶ added in v0.0.81
func (c ShowTasksResponseBodyTaskStatus) MarshalJSON() ([]byte, error)
func (*ShowTasksResponseBodyTaskStatus) UnmarshalJSON ¶ added in v0.0.81
func (c *ShowTasksResponseBodyTaskStatus) UnmarshalJSON(b []byte) error
func (ShowTasksResponseBodyTaskStatus) Value ¶ added in v0.0.90
func (c ShowTasksResponseBodyTaskStatus) Value() string
type ShowTasksResponseBodyTaskStatusEnum ¶ added in v0.0.81
type ShowTasksResponseBodyTaskStatusEnum struct { RUNNING ShowTasksResponseBodyTaskStatus SUCCESS ShowTasksResponseBodyTaskStatus CANCELED ShowTasksResponseBodyTaskStatus WAITING ShowTasksResponseBodyTaskStatus FAILURE ShowTasksResponseBodyTaskStatus }
func GetShowTasksResponseBodyTaskStatusEnum ¶ added in v0.0.81
func GetShowTasksResponseBodyTaskStatusEnum() ShowTasksResponseBodyTaskStatusEnum
type ShowTasksResponseBodyTaskType ¶ added in v0.0.81
type ShowTasksResponseBodyTaskType struct {
// contains filtered or unexported fields
}
func (ShowTasksResponseBodyTaskType) MarshalJSON ¶ added in v0.0.81
func (c ShowTasksResponseBodyTaskType) MarshalJSON() ([]byte, error)
func (*ShowTasksResponseBodyTaskType) UnmarshalJSON ¶ added in v0.0.81
func (c *ShowTasksResponseBodyTaskType) UnmarshalJSON(b []byte) error
func (ShowTasksResponseBodyTaskType) Value ¶ added in v0.0.90
func (c ShowTasksResponseBodyTaskType) Value() string
type ShowTasksResponseBodyTaskTypeEnum ¶ added in v0.0.81
type ShowTasksResponseBodyTaskTypeEnum struct { NORMAL ShowTasksResponseBodyTaskType MONITOR ShowTasksResponseBodyTaskType }
func GetShowTasksResponseBodyTaskTypeEnum ¶ added in v0.0.81
func GetShowTasksResponseBodyTaskTypeEnum() ShowTasksResponseBodyTaskTypeEnum
type ShowTasksResponseSafeLevel ¶ added in v0.0.74
type ShowTasksResponseSafeLevel struct {
// contains filtered or unexported fields
}
func (ShowTasksResponseSafeLevel) MarshalJSON ¶ added in v0.0.74
func (c ShowTasksResponseSafeLevel) MarshalJSON() ([]byte, error)
func (*ShowTasksResponseSafeLevel) UnmarshalJSON ¶ added in v0.0.74
func (c *ShowTasksResponseSafeLevel) UnmarshalJSON(b []byte) error
func (ShowTasksResponseSafeLevel) Value ¶ added in v0.0.90
func (c ShowTasksResponseSafeLevel) Value() string
type ShowTasksResponseSafeLevelEnum ¶ added in v0.0.74
type ShowTasksResponseSafeLevelEnum struct { SAFETY ShowTasksResponseSafeLevel AVERAGE ShowTasksResponseSafeLevel HIGHRISK ShowTasksResponseSafeLevel }
func GetShowTasksResponseSafeLevelEnum ¶ added in v0.0.74
func GetShowTasksResponseSafeLevelEnum() ShowTasksResponseSafeLevelEnum
type ShowTasksResponseScheduleStatus ¶ added in v0.0.74
type ShowTasksResponseScheduleStatus struct {
// contains filtered or unexported fields
}
func (ShowTasksResponseScheduleStatus) MarshalJSON ¶ added in v0.0.74
func (c ShowTasksResponseScheduleStatus) MarshalJSON() ([]byte, error)
func (*ShowTasksResponseScheduleStatus) UnmarshalJSON ¶ added in v0.0.74
func (c *ShowTasksResponseScheduleStatus) UnmarshalJSON(b []byte) error
func (ShowTasksResponseScheduleStatus) Value ¶ added in v0.0.90
func (c ShowTasksResponseScheduleStatus) Value() string
type ShowTasksResponseScheduleStatusEnum ¶ added in v0.0.74
type ShowTasksResponseScheduleStatusEnum struct { RUNNING ShowTasksResponseScheduleStatus WAITING ShowTasksResponseScheduleStatus FINISHED ShowTasksResponseScheduleStatus }
func GetShowTasksResponseScheduleStatusEnum ¶ added in v0.0.74
func GetShowTasksResponseScheduleStatusEnum() ShowTasksResponseScheduleStatusEnum
type ShowTasksResponseTaskStatus ¶ added in v0.0.74
type ShowTasksResponseTaskStatus struct {
// contains filtered or unexported fields
}
func (ShowTasksResponseTaskStatus) MarshalJSON ¶ added in v0.0.74
func (c ShowTasksResponseTaskStatus) MarshalJSON() ([]byte, error)
func (*ShowTasksResponseTaskStatus) UnmarshalJSON ¶ added in v0.0.74
func (c *ShowTasksResponseTaskStatus) UnmarshalJSON(b []byte) error
func (ShowTasksResponseTaskStatus) Value ¶ added in v0.0.90
func (c ShowTasksResponseTaskStatus) Value() string
type ShowTasksResponseTaskStatusEnum ¶ added in v0.0.74
type ShowTasksResponseTaskStatusEnum struct { RUNNING ShowTasksResponseTaskStatus SUCCESS ShowTasksResponseTaskStatus CANCELED ShowTasksResponseTaskStatus WAITING ShowTasksResponseTaskStatus FAILURE ShowTasksResponseTaskStatus }
func GetShowTasksResponseTaskStatusEnum ¶ added in v0.0.74
func GetShowTasksResponseTaskStatusEnum() ShowTasksResponseTaskStatusEnum
type ShowTasksResponseTaskType ¶ added in v0.0.74
type ShowTasksResponseTaskType struct {
// contains filtered or unexported fields
}
func (ShowTasksResponseTaskType) MarshalJSON ¶ added in v0.0.74
func (c ShowTasksResponseTaskType) MarshalJSON() ([]byte, error)
func (*ShowTasksResponseTaskType) UnmarshalJSON ¶ added in v0.0.74
func (c *ShowTasksResponseTaskType) UnmarshalJSON(b []byte) error
func (ShowTasksResponseTaskType) Value ¶ added in v0.0.90
func (c ShowTasksResponseTaskType) Value() string
type ShowTasksResponseTaskTypeEnum ¶ added in v0.0.74
type ShowTasksResponseTaskTypeEnum struct { NORMAL ShowTasksResponseTaskType MONITOR ShowTasksResponseTaskType }
func GetShowTasksResponseTaskTypeEnum ¶ added in v0.0.74
func GetShowTasksResponseTaskTypeEnum() ShowTasksResponseTaskTypeEnum
type TaskInfos ¶ added in v0.0.74
type TaskInfos struct { // 任务名称 TaskName string `json:"task_name"` // 待扫描的目标网址 Url string `json:"url"` // 扫描任务类型: * normal - 普通任务 * monitor - 监测任务 TaskType *TaskInfosTaskType `json:"task_type,omitempty"` }
type TaskInfosTaskType ¶ added in v0.0.74
type TaskInfosTaskType struct {
// contains filtered or unexported fields
}
func (TaskInfosTaskType) MarshalJSON ¶ added in v0.0.74
func (c TaskInfosTaskType) MarshalJSON() ([]byte, error)
func (*TaskInfosTaskType) UnmarshalJSON ¶ added in v0.0.74
func (c *TaskInfosTaskType) UnmarshalJSON(b []byte) error
func (TaskInfosTaskType) Value ¶ added in v0.0.90
func (c TaskInfosTaskType) Value() string
type TaskInfosTaskTypeEnum ¶ added in v0.0.74
type TaskInfosTaskTypeEnum struct { NORMAL TaskInfosTaskType MONITOR TaskInfosTaskType }
func GetTaskInfosTaskTypeEnum ¶ added in v0.0.74
func GetTaskInfosTaskTypeEnum() TaskInfosTaskTypeEnum
type TaskSettings ¶ added in v0.0.74
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 ¶ added in v0.0.74
func (o TaskSettings) String() string
type TaskSettingsTaskConfig ¶ added in v0.0.74
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"` }
扫描任务配置
func (TaskSettingsTaskConfig) String ¶ added in v0.0.74
func (o TaskSettingsTaskConfig) String() string
type TaskSettingsTaskConfigScanMode ¶ added in v0.0.74
type TaskSettingsTaskConfigScanMode struct {
// contains filtered or unexported fields
}
func (TaskSettingsTaskConfigScanMode) MarshalJSON ¶ added in v0.0.74
func (c TaskSettingsTaskConfigScanMode) MarshalJSON() ([]byte, error)
func (*TaskSettingsTaskConfigScanMode) UnmarshalJSON ¶ added in v0.0.74
func (c *TaskSettingsTaskConfigScanMode) UnmarshalJSON(b []byte) error
func (TaskSettingsTaskConfigScanMode) Value ¶ added in v0.0.90
func (c TaskSettingsTaskConfigScanMode) Value() string
type TaskSettingsTaskConfigScanModeEnum ¶ added in v0.0.74
type TaskSettingsTaskConfigScanModeEnum struct { FAST TaskSettingsTaskConfigScanMode NORMAL TaskSettingsTaskConfigScanMode DEEP TaskSettingsTaskConfigScanMode }
func GetTaskSettingsTaskConfigScanModeEnum ¶ added in v0.0.74
func GetTaskSettingsTaskConfigScanModeEnum() TaskSettingsTaskConfigScanModeEnum
type TaskSettingsTaskPeriod ¶ added in v0.0.74
type TaskSettingsTaskPeriod struct {
// contains filtered or unexported fields
}
func (TaskSettingsTaskPeriod) MarshalJSON ¶ added in v0.0.74
func (c TaskSettingsTaskPeriod) MarshalJSON() ([]byte, error)
func (*TaskSettingsTaskPeriod) UnmarshalJSON ¶ added in v0.0.74
func (c *TaskSettingsTaskPeriod) UnmarshalJSON(b []byte) error
func (TaskSettingsTaskPeriod) Value ¶ added in v0.0.90
func (c TaskSettingsTaskPeriod) Value() string
type TaskSettingsTaskPeriodEnum ¶ added in v0.0.74
type TaskSettingsTaskPeriodEnum struct { EVERYDAY TaskSettingsTaskPeriod THREEDAYS TaskSettingsTaskPeriod EVERYWEEK TaskSettingsTaskPeriod EVERYMONTH TaskSettingsTaskPeriod }
func GetTaskSettingsTaskPeriodEnum ¶ added in v0.0.74
func GetTaskSettingsTaskPeriodEnum() TaskSettingsTaskPeriodEnum
type UpdateDomainSettingsRequest ¶ added in v0.0.81
type UpdateDomainSettingsRequest struct {
Body *UpdateDomainSettingsRequestBody `json:"body,omitempty"`
}
Request Object
func (UpdateDomainSettingsRequest) String ¶ added in v0.0.81
func (o UpdateDomainSettingsRequest) String() string
type UpdateDomainSettingsRequestBody ¶ added in v0.0.81
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 ¶ added in v0.0.81
func (o UpdateDomainSettingsRequestBody) String() string
type UpdateDomainSettingsResponse ¶ added in v0.0.81
type UpdateDomainSettingsResponse struct { // 状态码: * success - 成功 * failure - 失败 InfoCode *UpdateDomainSettingsResponseInfoCode `json:"info_code,omitempty"` // 返回的提示信息 InfoDescription *string `json:"info_description,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (UpdateDomainSettingsResponse) String ¶ added in v0.0.81
func (o UpdateDomainSettingsResponse) String() string
type UpdateDomainSettingsResponseBody ¶ added in v0.0.81
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 ¶ added in v0.0.81
func (o UpdateDomainSettingsResponseBody) String() string
type UpdateDomainSettingsResponseInfoCode ¶ added in v0.0.81
type UpdateDomainSettingsResponseInfoCode struct {
// contains filtered or unexported fields
}
func (UpdateDomainSettingsResponseInfoCode) MarshalJSON ¶ added in v0.0.81
func (c UpdateDomainSettingsResponseInfoCode) MarshalJSON() ([]byte, error)
func (*UpdateDomainSettingsResponseInfoCode) UnmarshalJSON ¶ added in v0.0.81
func (c *UpdateDomainSettingsResponseInfoCode) UnmarshalJSON(b []byte) error
func (UpdateDomainSettingsResponseInfoCode) Value ¶ added in v0.0.90
func (c UpdateDomainSettingsResponseInfoCode) Value() string
type UpdateDomainSettingsResponseInfoCodeEnum ¶ added in v0.0.81
type UpdateDomainSettingsResponseInfoCodeEnum struct { SUCCESS UpdateDomainSettingsResponseInfoCode FAILURE UpdateDomainSettingsResponseInfoCode }
func GetUpdateDomainSettingsResponseInfoCodeEnum ¶ added in v0.0.81
func GetUpdateDomainSettingsResponseInfoCodeEnum() UpdateDomainSettingsResponseInfoCodeEnum
type UpdateFalsePositiveRequest ¶ added in v0.0.81
type UpdateFalsePositiveRequest struct {
Body *UpdateFalsePositiveRequestBody `json:"body,omitempty"`
}
Request Object
func (UpdateFalsePositiveRequest) String ¶ added in v0.0.81
func (o UpdateFalsePositiveRequest) String() string
type UpdateFalsePositiveRequestBody ¶ added in v0.0.81
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 ¶ added in v0.0.81
func (o UpdateFalsePositiveRequestBody) String() string
type UpdateFalsePositiveRequestBodyVulnStatus ¶ added in v0.0.81
type UpdateFalsePositiveRequestBodyVulnStatus struct {
// contains filtered or unexported fields
}
func (UpdateFalsePositiveRequestBodyVulnStatus) MarshalJSON ¶ added in v0.0.81
func (c UpdateFalsePositiveRequestBodyVulnStatus) MarshalJSON() ([]byte, error)
func (*UpdateFalsePositiveRequestBodyVulnStatus) UnmarshalJSON ¶ added in v0.0.81
func (c *UpdateFalsePositiveRequestBodyVulnStatus) UnmarshalJSON(b []byte) error
func (UpdateFalsePositiveRequestBodyVulnStatus) Value ¶ added in v0.0.90
func (c UpdateFalsePositiveRequestBodyVulnStatus) Value() string
type UpdateFalsePositiveRequestBodyVulnStatusEnum ¶ added in v0.0.81
type UpdateFalsePositiveRequestBodyVulnStatusEnum struct { FALSE_REPORT UpdateFalsePositiveRequestBodyVulnStatus REPAIRING UpdateFalsePositiveRequestBodyVulnStatus }
func GetUpdateFalsePositiveRequestBodyVulnStatusEnum ¶ added in v0.0.81
func GetUpdateFalsePositiveRequestBodyVulnStatusEnum() UpdateFalsePositiveRequestBodyVulnStatusEnum
type UpdateFalsePositiveResponse ¶ added in v0.0.81
type UpdateFalsePositiveResponse struct { // 状态码: * success - 成功 * failure - 失败 InfoCode *UpdateFalsePositiveResponseInfoCode `json:"info_code,omitempty"` // 返回的提示信息 InfoDescription *string `json:"info_description,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (UpdateFalsePositiveResponse) String ¶ added in v0.0.81
func (o UpdateFalsePositiveResponse) String() string
type UpdateFalsePositiveResponseInfoCode ¶ added in v0.0.81
type UpdateFalsePositiveResponseInfoCode struct {
// contains filtered or unexported fields
}
func (UpdateFalsePositiveResponseInfoCode) MarshalJSON ¶ added in v0.0.81
func (c UpdateFalsePositiveResponseInfoCode) MarshalJSON() ([]byte, error)
func (*UpdateFalsePositiveResponseInfoCode) UnmarshalJSON ¶ added in v0.0.81
func (c *UpdateFalsePositiveResponseInfoCode) UnmarshalJSON(b []byte) error
func (UpdateFalsePositiveResponseInfoCode) Value ¶ added in v0.0.90
func (c UpdateFalsePositiveResponseInfoCode) Value() string
type UpdateFalsePositiveResponseInfoCodeEnum ¶ added in v0.0.81
type UpdateFalsePositiveResponseInfoCodeEnum struct { SUCCESS UpdateFalsePositiveResponseInfoCode FAILURE UpdateFalsePositiveResponseInfoCode }
func GetUpdateFalsePositiveResponseInfoCodeEnum ¶ added in v0.0.81
func GetUpdateFalsePositiveResponseInfoCodeEnum() UpdateFalsePositiveResponseInfoCodeEnum
type VulnItem ¶ added in v0.0.74
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 ¶ added in v0.0.74
type VulnItemSeverity struct {
// contains filtered or unexported fields
}
func (VulnItemSeverity) MarshalJSON ¶ added in v0.0.74
func (c VulnItemSeverity) MarshalJSON() ([]byte, error)
func (*VulnItemSeverity) UnmarshalJSON ¶ added in v0.0.74
func (c *VulnItemSeverity) UnmarshalJSON(b []byte) error
func (VulnItemSeverity) Value ¶ added in v0.0.90
func (c VulnItemSeverity) Value() string
type VulnItemSeverityEnum ¶ added in v0.0.74
type VulnItemSeverityEnum struct { HIGH VulnItemSeverity MIDDLE VulnItemSeverity LOW VulnItemSeverity HINT VulnItemSeverity }
func GetVulnItemSeverityEnum ¶ added in v0.0.74
func GetVulnItemSeverityEnum() VulnItemSeverityEnum
type VulnItemVulnStatus ¶ added in v0.0.74
type VulnItemVulnStatus struct {
// contains filtered or unexported fields
}
func (VulnItemVulnStatus) MarshalJSON ¶ added in v0.0.74
func (c VulnItemVulnStatus) MarshalJSON() ([]byte, error)
func (*VulnItemVulnStatus) UnmarshalJSON ¶ added in v0.0.74
func (c *VulnItemVulnStatus) UnmarshalJSON(b []byte) error
func (VulnItemVulnStatus) Value ¶ added in v0.0.90
func (c VulnItemVulnStatus) Value() string
type VulnItemVulnStatusEnum ¶ added in v0.0.74
type VulnItemVulnStatusEnum struct { REPAIRING VulnItemVulnStatus REPAIRED VulnItemVulnStatus FALSE_REPORT VulnItemVulnStatus }
func GetVulnItemVulnStatusEnum ¶ added in v0.0.74
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_authorize_domains_request.go
- model_authorize_domains_request_body.go
- model_authorize_domains_response.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_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_list_business_risks_request.go
- model_list_business_risks_response.go
- model_list_domains_request.go
- model_list_domains_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_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
Click to show internal directories.
Click to hide internal directories.