model

package
v0.1.50 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 27, 2023 License: Apache-2.0, BSD-2-Clause, BSD-3-Clause Imports: 5 Imported by: 0

Documentation

Index

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"`
}

AuthorizeDomainsRequest 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

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

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:"-"`
}

AuthorizeDomainsResponse 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

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

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"`
}

CancelTasksRequest 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

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 - 正在等待   * ready - 已就绪,排队中   * failure - 失败
	TaskStatus     *CancelTasksResponseTaskStatus `json:"task_status,omitempty"`
	HttpStatusCode int                            `json:"-"`
}

CancelTasksResponse 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

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

type CancelTasksResponseTaskStatusEnum added in v0.0.81

func GetCancelTasksResponseTaskStatusEnum added in v0.0.81

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 added in v0.0.90

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"`
}

CreateTasksRequest 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

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

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 - 正在等待   * ready - 已就绪,排队中   * failure - 失败
	TaskStatus     *CreateTasksResponseTaskStatus `json:"task_status,omitempty"`
	HttpStatusCode int                            `json:"-"`
}

CreateTasksResponse 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

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

type CreateTasksResponseTaskStatusEnum added in v0.0.74

func GetCreateTasksResponseTaskStatusEnum added in v0.0.74

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 added in v0.0.90

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"`
}

DownloadTaskReportRequest 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"`
}

DownloadTaskReportResponse 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

type ExecuteGenerateReportRequest added in v0.0.93

type ExecuteGenerateReportRequest struct {
	Body *ExecuteGenerateReportRequestBody `json:"body,omitempty"`
}

ExecuteGenerateReportRequest Request Object

func (ExecuteGenerateReportRequest) String added in v0.0.93

type ExecuteGenerateReportRequestBody added in v0.0.93

type ExecuteGenerateReportRequestBody struct {

	// 任务ID
	TaskId string `json:"task_id"`
}

func (ExecuteGenerateReportRequestBody) String added in v0.0.93

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:"-"`
}

ExecuteGenerateReportResponse Response Object

func (ExecuteGenerateReportResponse) String added in v0.0.93

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

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"`
}

ListBusinessRisksRequest 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:"-"`
}

ListBusinessRisksResponse 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"`
}

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 added in v0.0.90

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 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"`
}

ListPortResultsRequest 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:"-"`
}

ListPortResultsResponse 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"`
}

ListTaskHistoriesRequest 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:"-"`
}

ListTaskHistoriesResponse 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

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"`
}

func (PortItem) String added in v0.0.81

func (o PortItem) String() string

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"`
}

ShowDomainSettingsRequest 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:"-"`
}

ShowDomainSettingsResponse Response Object

func (ShowDomainSettingsResponse) String added in v0.0.81

type ShowReportStatusRequest added in v0.0.93

type ShowReportStatusRequest struct {

	// 任务ID
	TaskId string `json:"task_id"`
}

ShowReportStatusRequest 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:"-"`
}

ShowReportStatusResponse 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

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"`
}

ShowResultsRequest 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:"-"`
}

ShowResultsResponse 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"`
}

ShowTasksRequest 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 - 正在等待   * 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 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 - 正在等待   * 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 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

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

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

type ShowTasksResponseBodyTaskStatusEnum added in v0.0.81

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

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

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

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

type ShowTasksResponseTaskStatusEnum added in v0.0.74

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

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"`
}

func (TaskInfos) String added in v0.0.74

func (o TaskInfos) String() string

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"`
}

TaskSettingsTaskConfig 扫描任务配置

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

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"`
}

UpdateDomainSettingsRequest Request Object

func (UpdateDomainSettingsRequest) String added in v0.0.81

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

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:"-"`
}

UpdateDomainSettingsResponse Response Object

func (UpdateDomainSettingsResponse) String added in v0.0.81

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

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

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"`
}

UpdateFalsePositiveRequest Request Object

func (UpdateFalsePositiveRequest) String added in v0.0.81

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

type UpdateFalsePositiveRequestBodyVulnStatus added in v0.0.81

type UpdateFalsePositiveRequestBodyVulnStatus struct {
	// contains filtered or unexported fields
}

func (UpdateFalsePositiveRequestBodyVulnStatus) MarshalJSON added in v0.0.81

func (*UpdateFalsePositiveRequestBodyVulnStatus) UnmarshalJSON added in v0.0.81

func (c *UpdateFalsePositiveRequestBodyVulnStatus) UnmarshalJSON(b []byte) error

func (UpdateFalsePositiveRequestBodyVulnStatus) Value added in v0.0.90

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:"-"`
}

UpdateFalsePositiveResponse Response Object

func (UpdateFalsePositiveResponse) String added in v0.0.81

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

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"`
}

func (VulnItem) String added in v0.0.74

func (o VulnItem) String() string

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL