model

package
v0.1.115 Latest Latest
Warning

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

Go to latest
Published: Sep 23, 2024 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 AddGroupRequest added in v0.1.96

type AddGroupRequest struct {
	Body *AddGroupRequestBody `json:"body,omitempty"`
}

AddGroupRequest Request Object

func (AddGroupRequest) String added in v0.1.96

func (o AddGroupRequest) String() string

type AddGroupRequestBody added in v0.1.96

type AddGroupRequestBody struct {

	// 群组名称
	Name *string `json:"name,omitempty"`
}

func (AddGroupRequestBody) String added in v0.1.96

func (o AddGroupRequestBody) String() string

type AddGroupResponse added in v0.1.96

type AddGroupResponse struct {

	// 群组ID
	Id *string `json:"id,omitempty"`

	// 群组名称
	Name           *string `json:"name,omitempty"`
	HttpStatusCode int     `json:"-"`
}

AddGroupResponse Response Object

func (AddGroupResponse) String added in v0.1.96

func (o AddGroupResponse) String() string

type AuthorizeDomainsRequest

type AuthorizeDomainsRequest struct {
	Body *AuthorizeDomainsRequestBody `json:"body,omitempty"`
}

AuthorizeDomainsRequest Request Object

func (AuthorizeDomainsRequest) String

func (o AuthorizeDomainsRequest) String() string

type AuthorizeDomainsRequestBody

type AuthorizeDomainsRequestBody struct {

	// 网站域名
	DomainName string `json:"domain_name"`

	// 认证方式:   * file - 文件认证   * auto - 一键认证   * free - 免认证,选择此项默认已阅读并了解下述使用要求           使用须知:           1、您的账号已完成实名认证,且非受限账号。           2、您确认您已获得对扫描对象进行扫描的相关合法权利。           3、您确认您的扫描行为有合法合理目的,且符合适用的法律法规要求,不得利用本服务从事任何黑灰产等非法活动。           4、若您违反上述承诺,我们有权立即终止您对本服务的使用,并要求您对我们及相关第三方因此遭受的损失进行赔偿。
	AuthMode *AuthorizeDomainsRequestBodyAuthMode `json:"auth_mode,omitempty"`
}

func (AuthorizeDomainsRequestBody) String

type AuthorizeDomainsRequestBodyAuthMode

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

func (AuthorizeDomainsRequestBodyAuthMode) MarshalJSON

func (c AuthorizeDomainsRequestBodyAuthMode) MarshalJSON() ([]byte, error)

func (*AuthorizeDomainsRequestBodyAuthMode) UnmarshalJSON

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

func (AuthorizeDomainsRequestBodyAuthMode) Value

type AuthorizeDomainsResponse

type AuthorizeDomainsResponse struct {

	// 状态码:   * success - 成功   * failure - 失败
	InfoCode *AuthorizeDomainsResponseInfoCode `json:"info_code,omitempty"`

	// 返回的提示信息
	InfoDescription *string `json:"info_description,omitempty"`

	// 网站域名认证使用须知
	UsageNotice    *string `json:"usage_notice,omitempty"`
	HttpStatusCode int     `json:"-"`
}

AuthorizeDomainsResponse Response Object

func (AuthorizeDomainsResponse) String

func (o AuthorizeDomainsResponse) String() string

type AuthorizeDomainsResponseInfoCode

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

func (AuthorizeDomainsResponseInfoCode) MarshalJSON

func (c AuthorizeDomainsResponseInfoCode) MarshalJSON() ([]byte, error)

func (*AuthorizeDomainsResponseInfoCode) UnmarshalJSON

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

func (AuthorizeDomainsResponseInfoCode) Value

type AuthorizeDomainsResponseInfoCodeEnum

type AuthorizeDomainsResponseInfoCodeEnum struct {
	SUCCESS AuthorizeDomainsResponseInfoCode
	FAILURE AuthorizeDomainsResponseInfoCode
}

func GetAuthorizeDomainsResponseInfoCodeEnum

func GetAuthorizeDomainsResponseInfoCodeEnum() AuthorizeDomainsResponseInfoCodeEnum

type BatchCreateHostsRequest added in v0.1.96

type BatchCreateHostsRequest struct {
	Body *BatchCreateHostsRequestBody `json:"body,omitempty"`
}

BatchCreateHostsRequest Request Object

func (BatchCreateHostsRequest) String added in v0.1.96

func (o BatchCreateHostsRequest) String() string

type BatchCreateHostsRequestBody added in v0.1.96

type BatchCreateHostsRequestBody struct {

	// 主机资产列表
	Hosts []HostItem `json:"hosts"`
}

func (BatchCreateHostsRequestBody) String added in v0.1.96

type BatchCreateHostsResponse added in v0.1.96

type BatchCreateHostsResponse struct {

	// 创建的主机列表
	Items *[]HostItemWithId `json:"items,omitempty"`

	// 主机总数
	Total          *int32 `json:"total,omitempty"`
	HttpStatusCode int    `json:"-"`
}

BatchCreateHostsResponse Response Object

func (BatchCreateHostsResponse) String added in v0.1.96

func (o BatchCreateHostsResponse) String() string

type BatchStartHostTasksRequest added in v0.1.96

type BatchStartHostTasksRequest struct {
	Body *BatchStartHostTasksRequestBody `json:"body,omitempty"`
}

BatchStartHostTasksRequest Request Object

func (BatchStartHostTasksRequest) String added in v0.1.96

type BatchStartHostTasksRequestBody added in v0.1.96

type BatchStartHostTasksRequestBody struct {

	// 主机ID列表
	Hosts *[]string `json:"hosts,omitempty"`

	// 对扫描任务的操作:   * start - 启动   * cancel - 取消
	Action *BatchStartHostTasksRequestBodyAction `json:"action,omitempty"`
}

func (BatchStartHostTasksRequestBody) String added in v0.1.96

type BatchStartHostTasksRequestBodyAction added in v0.1.96

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

func (BatchStartHostTasksRequestBodyAction) MarshalJSON added in v0.1.96

func (c BatchStartHostTasksRequestBodyAction) MarshalJSON() ([]byte, error)

func (*BatchStartHostTasksRequestBodyAction) UnmarshalJSON added in v0.1.96

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

func (BatchStartHostTasksRequestBodyAction) Value added in v0.1.96

type BatchStartHostTasksRequestBodyActionEnum added in v0.1.96

type BatchStartHostTasksRequestBodyActionEnum struct {
	START  BatchStartHostTasksRequestBodyAction
	CANCEL BatchStartHostTasksRequestBodyAction
}

func GetBatchStartHostTasksRequestBodyActionEnum added in v0.1.96

func GetBatchStartHostTasksRequestBodyActionEnum() BatchStartHostTasksRequestBodyActionEnum

type BatchStartHostTasksResponse added in v0.1.96

type BatchStartHostTasksResponse struct {

	// 扫描任务ID对应主机id列表
	Results        *[]BatchStartHostTasksResponseBodyResults `json:"results,omitempty"`
	HttpStatusCode int                                       `json:"-"`
}

BatchStartHostTasksResponse Response Object

func (BatchStartHostTasksResponse) String added in v0.1.96

type BatchStartHostTasksResponseBodyResults added in v0.1.96

type BatchStartHostTasksResponseBodyResults struct {

	// 扫描ID
	ScanId *string `json:"scan_id,omitempty"`

	// 主机ID
	HostId *string `json:"host_id,omitempty"`
}

func (BatchStartHostTasksResponseBodyResults) String added in v0.1.96

type BusinessRiskItem

type BusinessRiskItem struct {

	// 业务风险ID
	RiskId *string `json:"risk_id,omitempty"`

	// 有风险的URL
	RiskUrl *string `json:"risk_url,omitempty"`

	// 业务风险类型:   * text - 不合规文字   * image - 不合规图片   * dead_link - 不合规链接(死链)   * dark_link - 不合规链接(暗链)   * business_risk - 业务风险
	RiskType *BusinessRiskItemRiskType `json:"risk_type,omitempty"`

	// 业务风险发现时间
	FindTime *string `json:"find_time,omitempty"`

	// 业务风险内容
	RiskContent *string `json:"risk_content,omitempty"`

	// 漏洞状态:   * repairing - 未修复   * repaired - 已修复   * false_report - 误报,已忽略
	RiskStatus *BusinessRiskItemRiskStatus `json:"risk_status,omitempty"`
}

func (BusinessRiskItem) String

func (o BusinessRiskItem) String() string

type BusinessRiskItemRiskStatus

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

func (BusinessRiskItemRiskStatus) MarshalJSON

func (c BusinessRiskItemRiskStatus) MarshalJSON() ([]byte, error)

func (*BusinessRiskItemRiskStatus) UnmarshalJSON

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

func (BusinessRiskItemRiskStatus) Value

type BusinessRiskItemRiskStatusEnum

type BusinessRiskItemRiskStatusEnum struct {
	REPAIRING    BusinessRiskItemRiskStatus
	REPAIRED     BusinessRiskItemRiskStatus
	FALSE_REPORT BusinessRiskItemRiskStatus
}

func GetBusinessRiskItemRiskStatusEnum

func GetBusinessRiskItemRiskStatusEnum() BusinessRiskItemRiskStatusEnum

type BusinessRiskItemRiskType

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

func (BusinessRiskItemRiskType) MarshalJSON

func (c BusinessRiskItemRiskType) MarshalJSON() ([]byte, error)

func (*BusinessRiskItemRiskType) UnmarshalJSON

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

func (BusinessRiskItemRiskType) Value

func (c BusinessRiskItemRiskType) Value() string

type BusinessRiskItemRiskTypeEnum

type BusinessRiskItemRiskTypeEnum struct {
	TEXT          BusinessRiskItemRiskType
	IMAGE         BusinessRiskItemRiskType
	DEAD_LINK     BusinessRiskItemRiskType
	DARK_LINK     BusinessRiskItemRiskType
	BUSINESS_RISK BusinessRiskItemRiskType
}

func GetBusinessRiskItemRiskTypeEnum

func GetBusinessRiskItemRiskTypeEnum() BusinessRiskItemRiskTypeEnum

type CancelTasksRequest

type CancelTasksRequest struct {
	Body *CancelTasksRequestBody `json:"body,omitempty"`
}

CancelTasksRequest Request Object

func (CancelTasksRequest) String

func (o CancelTasksRequest) String() string

type CancelTasksRequestBody

type CancelTasksRequestBody struct {

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

	// 对扫描任务的操作:   * cancel - 取消扫描任务   * restart - 重启扫描任务
	Action CancelTasksRequestBodyAction `json:"action"`
}

func (CancelTasksRequestBody) String

func (o CancelTasksRequestBody) String() string

type CancelTasksRequestBodyAction

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

func (CancelTasksRequestBodyAction) MarshalJSON

func (c CancelTasksRequestBodyAction) MarshalJSON() ([]byte, error)

func (*CancelTasksRequestBodyAction) UnmarshalJSON

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

func (CancelTasksRequestBodyAction) Value

type CancelTasksRequestBodyActionEnum

type CancelTasksRequestBodyActionEnum struct {
	CANCEL  CancelTasksRequestBodyAction
	RESTART CancelTasksRequestBodyAction
}

func GetCancelTasksRequestBodyActionEnum

func GetCancelTasksRequestBodyActionEnum() CancelTasksRequestBodyActionEnum

type CancelTasksResponse

type CancelTasksResponse struct {

	// 状态码:   * success - 成功   * failure - 失败
	InfoCode *CancelTasksResponseInfoCode `json:"info_code,omitempty"`

	// 返回的提示信息
	InfoDescription *string `json:"info_description,omitempty"`

	// 任务ID
	TaskId *string `json:"task_id,omitempty"`

	// 任务状态:   * running - 正在运行   * success - 成功   * canceled - 已取消   * waiting - 正在等待   * ready - 已就绪,排队中   * failure - 失败
	TaskStatus     *CancelTasksResponseTaskStatus `json:"task_status,omitempty"`
	HttpStatusCode int                            `json:"-"`
}

CancelTasksResponse Response Object

func (CancelTasksResponse) String

func (o CancelTasksResponse) String() string

type CancelTasksResponseInfoCode

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

func (CancelTasksResponseInfoCode) MarshalJSON

func (c CancelTasksResponseInfoCode) MarshalJSON() ([]byte, error)

func (*CancelTasksResponseInfoCode) UnmarshalJSON

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

func (CancelTasksResponseInfoCode) Value

type CancelTasksResponseInfoCodeEnum

type CancelTasksResponseInfoCodeEnum struct {
	SUCCESS CancelTasksResponseInfoCode
	FAILURE CancelTasksResponseInfoCode
}

func GetCancelTasksResponseInfoCodeEnum

func GetCancelTasksResponseInfoCodeEnum() CancelTasksResponseInfoCodeEnum

type CancelTasksResponseTaskStatus

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

func (CancelTasksResponseTaskStatus) MarshalJSON

func (c CancelTasksResponseTaskStatus) MarshalJSON() ([]byte, error)

func (*CancelTasksResponseTaskStatus) UnmarshalJSON

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

func (CancelTasksResponseTaskStatus) Value

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

type CreateDomainsResponseInfoCodeEnum

type CreateDomainsResponseInfoCodeEnum struct {
	SUCCESS CreateDomainsResponseInfoCode
	FAILURE CreateDomainsResponseInfoCode
}

func GetCreateDomainsResponseInfoCodeEnum

func GetCreateDomainsResponseInfoCodeEnum() CreateDomainsResponseInfoCodeEnum

type CreateTasksRequest

type CreateTasksRequest struct {

	// 是否将本次扫描升级为专业版规格(¥99.00/次)
	Upgrade *bool `json:"upgrade,omitempty"`

	Body *CreateTasksRequestBody `json:"body,omitempty"`
}

CreateTasksRequest Request Object

func (CreateTasksRequest) String

func (o CreateTasksRequest) String() string

type CreateTasksRequestBody

type CreateTasksRequestBody struct {

	// 任务名称
	TaskName string `json:"task_name"`

	// 待扫描的目标网址
	Url string `json:"url"`

	// 扫描任务类型:   * normal - 普通任务   * monitor - 监测任务
	TaskType *CreateTasksRequestBodyTaskType `json:"task_type,omitempty"`

	// 普通任务的定时启动时间
	Timer *string `json:"timer,omitempty"`

	// 监测任务的定时触发时间
	TriggerTime *string `json:"trigger_time,omitempty"`

	// 监测任务的定时触发周期:   * everyday - 每日   * threedays - 每三天   * everyweek - 每星期   * everymonth - 每月
	TaskPeriod *CreateTasksRequestBodyTaskPeriod `json:"task_period,omitempty"`

	TaskConfig *TaskSettingsTaskConfig `json:"task_config,omitempty"`
}

func (CreateTasksRequestBody) String

func (o CreateTasksRequestBody) String() string

type CreateTasksRequestBodyTaskPeriod

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

func (CreateTasksRequestBodyTaskPeriod) MarshalJSON

func (c CreateTasksRequestBodyTaskPeriod) MarshalJSON() ([]byte, error)

func (*CreateTasksRequestBodyTaskPeriod) UnmarshalJSON

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

func (CreateTasksRequestBodyTaskPeriod) Value

type CreateTasksRequestBodyTaskType

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

func (CreateTasksRequestBodyTaskType) MarshalJSON

func (c CreateTasksRequestBodyTaskType) MarshalJSON() ([]byte, error)

func (*CreateTasksRequestBodyTaskType) UnmarshalJSON

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

func (CreateTasksRequestBodyTaskType) Value

type CreateTasksRequestBodyTaskTypeEnum

type CreateTasksRequestBodyTaskTypeEnum struct {
	NORMAL  CreateTasksRequestBodyTaskType
	MONITOR CreateTasksRequestBodyTaskType
}

func GetCreateTasksRequestBodyTaskTypeEnum

func GetCreateTasksRequestBodyTaskTypeEnum() CreateTasksRequestBodyTaskTypeEnum

type CreateTasksResponse

type CreateTasksResponse struct {

	// 状态码:   * success - 成功   * failure - 失败
	InfoCode *CreateTasksResponseInfoCode `json:"info_code,omitempty"`

	// 返回的提示信息
	InfoDescription *string `json:"info_description,omitempty"`

	// 任务ID
	TaskId *string `json:"task_id,omitempty"`

	// 任务状态:   * running - 正在运行   * success - 成功   * canceled - 已取消   * waiting - 正在等待   * ready - 已就绪,排队中   * failure - 失败
	TaskStatus     *CreateTasksResponseTaskStatus `json:"task_status,omitempty"`
	HttpStatusCode int                            `json:"-"`
}

CreateTasksResponse Response Object

func (CreateTasksResponse) String

func (o CreateTasksResponse) String() string

type CreateTasksResponseInfoCode

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

func (CreateTasksResponseInfoCode) MarshalJSON

func (c CreateTasksResponseInfoCode) MarshalJSON() ([]byte, error)

func (*CreateTasksResponseInfoCode) UnmarshalJSON

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

func (CreateTasksResponseInfoCode) Value

type CreateTasksResponseInfoCodeEnum

type CreateTasksResponseInfoCodeEnum struct {
	SUCCESS CreateTasksResponseInfoCode
	FAILURE CreateTasksResponseInfoCode
}

func GetCreateTasksResponseInfoCodeEnum

func GetCreateTasksResponseInfoCodeEnum() CreateTasksResponseInfoCodeEnum

type CreateTasksResponseTaskStatus

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

func (CreateTasksResponseTaskStatus) MarshalJSON

func (c CreateTasksResponseTaskStatus) MarshalJSON() ([]byte, error)

func (*CreateTasksResponseTaskStatus) UnmarshalJSON

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

func (CreateTasksResponseTaskStatus) Value

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

type DeleteDomainsResponseInfoCodeEnum

type DeleteDomainsResponseInfoCodeEnum struct {
	SUCCESS DeleteDomainsResponseInfoCode
	FAILURE DeleteDomainsResponseInfoCode
}

func GetDeleteDomainsResponseInfoCodeEnum

func GetDeleteDomainsResponseInfoCodeEnum() DeleteDomainsResponseInfoCodeEnum

type DeleteGroupRequest added in v0.1.96

type DeleteGroupRequest struct {

	// group_id
	GroupId string `json:"group_id"`
}

DeleteGroupRequest Request Object

func (DeleteGroupRequest) String added in v0.1.96

func (o DeleteGroupRequest) String() string

type DeleteGroupResponse added in v0.1.96

type DeleteGroupResponse struct {
	HttpStatusCode int `json:"-"`
}

DeleteGroupResponse Response Object

func (DeleteGroupResponse) String added in v0.1.96

func (o DeleteGroupResponse) String() string

type DeleteHostRequest added in v0.1.96

type DeleteHostRequest struct {

	// 主机资产id
	HostId string `json:"host_id"`
}

DeleteHostRequest Request Object

func (DeleteHostRequest) String added in v0.1.96

func (o DeleteHostRequest) String() string

type DeleteHostResponse added in v0.1.96

type DeleteHostResponse struct {
	HttpStatusCode int `json:"-"`
}

DeleteHostResponse Response Object

func (DeleteHostResponse) String added in v0.1.96

func (o DeleteHostResponse) String() string

type DomainItem

type DomainItem struct {

	// 高危漏洞数
	High *int32 `json:"high,omitempty"`

	// 中危漏洞数
	Middle *int32 `json:"middle,omitempty"`

	// 低危漏洞数
	Low *int32 `json:"low,omitempty"`

	// 提示危漏洞数
	Hint *int32 `json:"hint,omitempty"`

	// 网站域名ID
	DomainId *string `json:"domain_id,omitempty"`

	// 一级域名ID
	TopLevelDomainId *string `json:"top_level_domain_id,omitempty"`

	// 网站域名
	DomainName *string `json:"domain_name,omitempty"`

	// 网站域名的别名
	Alias *string `json:"alias,omitempty"`

	// 创建网站域名资产的时间
	CreateTime *string `json:"create_time,omitempty"`

	// 网站域名的认证状态:   * unauth - 未认证   * auth - 已认证   * invalid - 认证文件无效   * manual - 人工认证   * skip - 免认证
	AuthStatus *DomainItemAuthStatus `json:"auth_status,omitempty"`

	// 协议类型:   * http:// - HTTP   * https:// - HTTPS
	ProtocolType *DomainItemProtocolType `json:"protocol_type,omitempty"`
}

func (DomainItem) String

func (o DomainItem) String() string

type DomainItemAuthStatus

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

func (DomainItemAuthStatus) MarshalJSON

func (c DomainItemAuthStatus) MarshalJSON() ([]byte, error)

func (*DomainItemAuthStatus) UnmarshalJSON

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

func (DomainItemAuthStatus) Value

func (c DomainItemAuthStatus) Value() string

type DomainItemAuthStatusEnum

type DomainItemAuthStatusEnum struct {
	UNAUTH  DomainItemAuthStatus
	AUTH    DomainItemAuthStatus
	INVALID DomainItemAuthStatus
	MANUAL  DomainItemAuthStatus
	SKIP    DomainItemAuthStatus
}

func GetDomainItemAuthStatusEnum

func GetDomainItemAuthStatusEnum() DomainItemAuthStatusEnum

type DomainItemProtocolType

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

func (DomainItemProtocolType) MarshalJSON

func (c DomainItemProtocolType) MarshalJSON() ([]byte, error)

func (*DomainItemProtocolType) UnmarshalJSON

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

func (DomainItemProtocolType) Value

func (c DomainItemProtocolType) Value() string

type DomainItemProtocolTypeEnum

type DomainItemProtocolTypeEnum struct {
	HTTP_  DomainItemProtocolType
	HTTPS_ DomainItemProtocolType
}

func GetDomainItemProtocolTypeEnum

func GetDomainItemProtocolTypeEnum() DomainItemProtocolTypeEnum

type DomainSettings

type DomainSettings struct {

	// 网站域名ID
	DomainId *string `json:"domain_id,omitempty"`

	// 网站需要登录时,设置登录页面
	LoginUrl *string `json:"login_url,omitempty"`

	// 网站需要登录时,设置登录用户名
	LoginUsername *string `json:"login_username,omitempty"`

	// 网站需要登录时,设置登录密码
	LoginPassword *string `json:"login_password,omitempty"`

	// 网站需要登录时,设置登录cookie
	LoginCookies *string `json:"login_cookies,omitempty"`

	// 设置用于验证登录是否成功的网址
	VerifyUrl *string `json:"verify_url,omitempty"`

	// 设置自定义HTTP请求头
	HttpHeaders map[string]string `json:"http_headers,omitempty"`
}

func (DomainSettings) String

func (o DomainSettings) String() string

type DownloadTaskReportRequest

type DownloadTaskReportRequest struct {

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

DownloadTaskReportRequest Request Object

func (DownloadTaskReportRequest) String

func (o DownloadTaskReportRequest) String() string

type DownloadTaskReportResponse

type DownloadTaskReportResponse struct {
	HttpStatusCode int           `json:"-"`
	Body           io.ReadCloser `json:"-" type:"stream"`
}

DownloadTaskReportResponse Response Object

func (DownloadTaskReportResponse) Consume

func (o DownloadTaskReportResponse) Consume(writer io.Writer) (int64, error)

func (DownloadTaskReportResponse) String

type ExecuteGenerateReportRequest

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

ExecuteGenerateReportRequest Request Object

func (ExecuteGenerateReportRequest) String

type ExecuteGenerateReportRequestBody

type ExecuteGenerateReportRequestBody struct {

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

func (ExecuteGenerateReportRequestBody) String

type ExecuteGenerateReportResponse

type ExecuteGenerateReportResponse struct {

	// 状态码:   * success - 成功   * failure - 失败
	InfoCode *ExecuteGenerateReportResponseInfoCode `json:"info_code,omitempty"`

	// 返回的提示信息
	InfoDescription *string `json:"info_description,omitempty"`
	HttpStatusCode  int     `json:"-"`
}

ExecuteGenerateReportResponse Response Object

func (ExecuteGenerateReportResponse) String

type ExecuteGenerateReportResponseInfoCode

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

func (ExecuteGenerateReportResponseInfoCode) MarshalJSON

func (c ExecuteGenerateReportResponseInfoCode) MarshalJSON() ([]byte, error)

func (*ExecuteGenerateReportResponseInfoCode) UnmarshalJSON

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

func (ExecuteGenerateReportResponseInfoCode) Value

type ExecuteGenerateReportResponseInfoCodeEnum

type ExecuteGenerateReportResponseInfoCodeEnum struct {
	SUCCESS ExecuteGenerateReportResponseInfoCode
	FAILURE ExecuteGenerateReportResponseInfoCode
}

func GetExecuteGenerateReportResponseInfoCodeEnum

func GetExecuteGenerateReportResponseInfoCodeEnum() ExecuteGenerateReportResponseInfoCodeEnum

type Group added in v0.1.96

type Group struct {

	// 群组ID
	Id *string `json:"id,omitempty"`

	// 群组名称
	Name *string `json:"name,omitempty"`
}

Group 群组信息

func (Group) String added in v0.1.96

func (o Group) String() string

type HgHost added in v0.1.96

type HgHost struct {

	// 主机授权状态: * -1 未知 * 0 连接成功 * 1 不可达 * 2 登录失败
	AuthStatus *HgHostAuthStatus `json:"auth_status,omitempty"`

	// 主机组id
	GroupId *string `json:"group_id,omitempty"`

	// 主机id
	Id *string `json:"id,omitempty"`

	// 主机ip
	Ip *string `json:"ip,omitempty"`

	// 跳板机id
	JumperServerId *string `json:"jumper_server_id,omitempty"`

	// 最后一次扫描的id
	LastScanId *string `json:"last_scan_id,omitempty"`

	LastScanInfo *ScanInfoDetail `json:"last_scan_info,omitempty"`

	// 主机名
	Name *string `json:"name,omitempty"`

	// 主机操作系统类型
	OsType *string `json:"os_type,omitempty"`

	// smb_credential_id
	SmbCredentialId *string `json:"smb_credential_id,omitempty"`

	// ssh授权id
	SshCredentialId *string `json:"ssh_credential_id,omitempty"`
}

func (HgHost) String added in v0.1.96

func (o HgHost) String() string

type HgHostAuthStatus added in v0.1.96

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

func (HgHostAuthStatus) MarshalJSON added in v0.1.96

func (c HgHostAuthStatus) MarshalJSON() ([]byte, error)

func (*HgHostAuthStatus) UnmarshalJSON added in v0.1.96

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

func (HgHostAuthStatus) Value added in v0.1.96

func (c HgHostAuthStatus) Value() int32

type HgHostAuthStatusEnum added in v0.1.96

type HgHostAuthStatusEnum struct {
	E_MINUS_1 HgHostAuthStatus
	E_0       HgHostAuthStatus
	E_1       HgHostAuthStatus
	E_2       HgHostAuthStatus
}

func GetHgHostAuthStatusEnum added in v0.1.96

func GetHgHostAuthStatusEnum() HgHostAuthStatusEnum

type HostItem added in v0.1.96

type HostItem struct {

	// 主机IP
	Ip string `json:"ip"`

	// 主机名称
	Name string `json:"name"`

	// 操作系统类型: * linux * windows
	OsType HostItemOsType `json:"os_type"`

	// 主机组id
	GroupId *string `json:"group_id,omitempty"`

	// linux主机ssh授权登录信息ID
	SshCredentialId *string `json:"ssh_credential_id,omitempty"`

	// linux跳板机信息ID
	JumperServerId *string `json:"jumper_server_id,omitempty"`

	// windows主机smb授权登录信息ID
	SmbCredentialId *string `json:"smb_credential_id,omitempty"`
}

func (HostItem) String added in v0.1.96

func (o HostItem) String() string

type HostItemOsType added in v0.1.96

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

func (HostItemOsType) MarshalJSON added in v0.1.96

func (c HostItemOsType) MarshalJSON() ([]byte, error)

func (*HostItemOsType) UnmarshalJSON added in v0.1.96

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

func (HostItemOsType) Value added in v0.1.96

func (c HostItemOsType) Value() string

type HostItemOsTypeEnum added in v0.1.96

type HostItemOsTypeEnum struct {
	LINUX   HostItemOsType
	WINDOWS HostItemOsType
}

func GetHostItemOsTypeEnum added in v0.1.96

func GetHostItemOsTypeEnum() HostItemOsTypeEnum

type HostItemWithId added in v0.1.96

type HostItemWithId struct {

	// 主机IP
	Ip string `json:"ip"`

	// 主机名称
	Name string `json:"name"`

	// 操作系统类型: * linux * windows
	OsType HostItemWithIdOsType `json:"os_type"`

	// 主机组id
	GroupId *string `json:"group_id,omitempty"`

	// linux主机ssh授权登录信息ID
	SshCredentialId *string `json:"ssh_credential_id,omitempty"`

	// linux跳板机信息ID
	JumperServerId *string `json:"jumper_server_id,omitempty"`

	// windows主机smb授权登录信息ID
	SmbCredentialId *string `json:"smb_credential_id,omitempty"`

	// 主机ID
	Id *string `json:"id,omitempty"`
}

func (HostItemWithId) String added in v0.1.96

func (o HostItemWithId) String() string

type HostItemWithIdOsType added in v0.1.96

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

func (HostItemWithIdOsType) MarshalJSON added in v0.1.96

func (c HostItemWithIdOsType) MarshalJSON() ([]byte, error)

func (*HostItemWithIdOsType) UnmarshalJSON added in v0.1.96

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

func (HostItemWithIdOsType) Value added in v0.1.96

func (c HostItemWithIdOsType) Value() string

type HostItemWithIdOsTypeEnum added in v0.1.96

type HostItemWithIdOsTypeEnum struct {
	LINUX   HostItemWithIdOsType
	WINDOWS HostItemWithIdOsType
}

func GetHostItemWithIdOsTypeEnum added in v0.1.96

func GetHostItemWithIdOsTypeEnum() HostItemWithIdOsTypeEnum

type HostVulnItem added in v0.1.96

type HostVulnItem struct {

	// 漏洞类型
	Type *string `json:"type,omitempty"`

	// 扫描端口号
	Port *string `json:"port,omitempty"`

	// 漏洞标题
	Title *string `json:"title,omitempty"`

	// 漏洞公告ID
	SaId *string `json:"sa_id,omitempty"`

	// 漏洞ID
	VulnId *string `json:"vuln_id,omitempty"`

	// 漏洞风险等级:   * high - 高风险   * medium - 中风险   * low - 低风险   * hint - 提示
	Severity *HostVulnItemSeverity `json:"severity,omitempty"`

	// 漏洞摘要
	Topic *string `json:"topic,omitempty"`

	// 漏洞描述
	Description *string `json:"description,omitempty"`

	// 漏洞提示建议
	Solution *string `json:"solution,omitempty"`

	// 漏洞修复建议
	FixAdvisory *string `json:"fix_advisory,omitempty"`

	// 漏洞修复指令
	FixCmd *string `json:"fix_cmd,omitempty"`

	// CVE漏洞列表
	CveList *[]HostVulnItemCveList `json:"cve_list,omitempty"`

	// 参考信息链接列表
	RefLinkList *[]string `json:"ref_link_list,omitempty"`

	// 内容列表
	ComponentList *[]HostVulnItemComponentList `json:"component_list,omitempty"`

	// 检查结果
	VulDetectResult *string `json:"vul_detect_result,omitempty"`

	// CVSS分数信息
	CvssScore *string `json:"cvss_score,omitempty"`

	// CVSS版本信息
	CvssVersion *string `json:"cvss_version,omitempty"`

	// CVSS向量信息
	CvssVector *string `json:"cvss_vector,omitempty"`

	// 是否误报
	IsIgnore *bool `json:"is_ignore,omitempty"`
}

func (HostVulnItem) String added in v0.1.96

func (o HostVulnItem) String() string

type HostVulnItemComponentList added in v0.1.96

type HostVulnItemComponentList struct {

	// 内容名称
	ComponentName *string `json:"componentName,omitempty"`

	// 安装版本
	ComponentInstallVersion *string `json:"componentInstallVersion,omitempty"`

	// 已经修复版本
	ComponentFixedVersion *string `json:"componentFixedVersion,omitempty"`
}

func (HostVulnItemComponentList) String added in v0.1.96

func (o HostVulnItemComponentList) String() string

type HostVulnItemCveList added in v0.1.96

type HostVulnItemCveList struct {

	// CVE漏洞ID
	Id *string `json:"id,omitempty"`

	// CVE漏洞链接
	Link *string `json:"link,omitempty"`
}

func (HostVulnItemCveList) String added in v0.1.96

func (o HostVulnItemCveList) String() string

type HostVulnItemSeverity added in v0.1.96

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

func (HostVulnItemSeverity) MarshalJSON added in v0.1.96

func (c HostVulnItemSeverity) MarshalJSON() ([]byte, error)

func (*HostVulnItemSeverity) UnmarshalJSON added in v0.1.96

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

func (HostVulnItemSeverity) Value added in v0.1.96

func (c HostVulnItemSeverity) Value() string

type HostVulnItemSeverityEnum added in v0.1.96

type HostVulnItemSeverityEnum struct {
	HIGH   HostVulnItemSeverity
	MEDIUM HostVulnItemSeverity
	LOW    HostVulnItemSeverity
	HINT   HostVulnItemSeverity
}

func GetHostVulnItemSeverityEnum added in v0.1.96

func GetHostVulnItemSeverityEnum() HostVulnItemSeverityEnum

type ListBusinessRisksRequest

type ListBusinessRisksRequest struct {

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

	// 分页查询,偏移量,表示从此偏移量开始查询
	Offset *int32 `json:"offset,omitempty"`

	// 分页查询,每页显示的条目数量
	Limit *int32 `json:"limit,omitempty"`
}

ListBusinessRisksRequest Request Object

func (ListBusinessRisksRequest) String

func (o ListBusinessRisksRequest) String() string

type ListBusinessRisksResponse

type ListBusinessRisksResponse struct {

	// 业务风险总数
	Total *int32 `json:"total,omitempty"`

	// 业务风险列表
	Data           *[]BusinessRiskItem `json:"data,omitempty"`
	HttpStatusCode int                 `json:"-"`
}

ListBusinessRisksResponse Response Object

func (ListBusinessRisksResponse) String

func (o ListBusinessRisksResponse) String() string

type ListDomainsRequest

type ListDomainsRequest struct {

	// 网站域名ID
	DomainId *string `json:"domain_id,omitempty"`

	// 网站域名的认证状态:   * unauth - 未认证   * auth - 已认证   * invalid - 认证文件无效   * manual - 人工认证   * skip - 免认证
	AuthStatus *ListDomainsRequestAuthStatus `json:"auth_status,omitempty"`

	// 分页查询,偏移量,表示从此偏移量开始查询
	Offset *int32 `json:"offset,omitempty"`

	// 分页查询,每页显示的条目数量
	Limit *int32 `json:"limit,omitempty"`
}

ListDomainsRequest Request Object

func (ListDomainsRequest) String

func (o ListDomainsRequest) String() string

type ListDomainsRequestAuthStatus

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

func (ListDomainsRequestAuthStatus) MarshalJSON

func (c ListDomainsRequestAuthStatus) MarshalJSON() ([]byte, error)

func (*ListDomainsRequestAuthStatus) UnmarshalJSON

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

func (ListDomainsRequestAuthStatus) Value

type ListDomainsResponse

type ListDomainsResponse struct {

	// 网站域名总数
	Total *int32 `json:"total,omitempty"`

	// 网站一级域名总数
	TopLevelDomainNum *int32 `json:"top_level_domain_num,omitempty"`

	// 网站域名列表
	Domains        *[]DomainItem `json:"domains,omitempty"`
	HttpStatusCode int           `json:"-"`
}

ListDomainsResponse Response Object

func (ListDomainsResponse) String

func (o ListDomainsResponse) String() string

type ListGroupsRequest added in v0.1.96

type ListGroupsRequest struct {

	// 分页查询,偏移量,表示从此偏移量开始查询
	Offset *int32 `json:"offset,omitempty"`

	// 分页查询,每页显示的条目数量
	Limit *int32 `json:"limit,omitempty"`
}

ListGroupsRequest Request Object

func (ListGroupsRequest) String added in v0.1.96

func (o ListGroupsRequest) String() string

type ListGroupsResponse added in v0.1.96

type ListGroupsResponse struct {

	// 群组总数
	Total *int32 `json:"total,omitempty"`

	// 群组列表
	Items          *[]Group `json:"items,omitempty"`
	HttpStatusCode int      `json:"-"`
}

ListGroupsResponse Response Object

func (ListGroupsResponse) String added in v0.1.96

func (o ListGroupsResponse) String() string

type ListHostResultsRequest added in v0.1.96

type ListHostResultsRequest struct {

	// 主机ID
	HostId string `json:"host_id"`

	// 扫描ID
	ScanId string `json:"scan_id"`

	// 分页查询,偏移量,表示从此偏移量开始查询
	Offset *int32 `json:"offset,omitempty"`

	// 分页查询,每页显示的条目数量
	Limit *int32 `json:"limit,omitempty"`
}

ListHostResultsRequest Request Object

func (ListHostResultsRequest) String added in v0.1.96

func (o ListHostResultsRequest) String() string

type ListHostResultsResponse added in v0.1.96

type ListHostResultsResponse struct {

	// 主机漏洞总数
	Total *int32 `json:"total,omitempty"`

	// 主机漏洞信息列表
	Items          *[]HostVulnItem `json:"items,omitempty"`
	HttpStatusCode int             `json:"-"`
}

ListHostResultsResponse Response Object

func (ListHostResultsResponse) String added in v0.1.96

func (o ListHostResultsResponse) String() string

type ListHostsRequest added in v0.1.96

type ListHostsRequest struct {

	// 主机组id
	GroupId *string `json:"group_id,omitempty"`

	// 分页查询,偏移量,表示从此偏移量开始查询
	Offset *int32 `json:"offset,omitempty"`

	// 分页查询,每页显示的条目数量
	Limit *int32 `json:"limit,omitempty"`
}

ListHostsRequest Request Object

func (ListHostsRequest) String added in v0.1.96

func (o ListHostsRequest) String() string

type ListHostsResponse added in v0.1.96

type ListHostsResponse struct {

	// 主机列表
	Items *[]HgHost `json:"items,omitempty"`

	// 主机总数
	Total          *int32 `json:"total,omitempty"`
	HttpStatusCode int    `json:"-"`
}

ListHostsResponse Response Object

func (ListHostsResponse) String added in v0.1.96

func (o ListHostsResponse) String() string

type ListPortResultsRequest

type ListPortResultsRequest struct {

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

	// 分页查询,偏移量,表示从此偏移量开始查询
	Offset *int32 `json:"offset,omitempty"`

	// 分页查询,每页显示的条目数量
	Limit *int32 `json:"limit,omitempty"`
}

ListPortResultsRequest Request Object

func (ListPortResultsRequest) String

func (o ListPortResultsRequest) String() string

type ListPortResultsResponse

type ListPortResultsResponse struct {

	// 端口总数
	Total *int32 `json:"total,omitempty"`

	// 端口信息列表
	Data           *[]PortItem `json:"data,omitempty"`
	HttpStatusCode int         `json:"-"`
}

ListPortResultsResponse Response Object

func (ListPortResultsResponse) String

func (o ListPortResultsResponse) String() string

type ListTaskHistoriesRequest

type ListTaskHistoriesRequest struct {

	// 网站域名ID
	DomainId string `json:"domain_id"`

	// 分页查询,偏移量,表示从此偏移量开始查询
	Offset *int32 `json:"offset,omitempty"`

	// 分页查询,每页显示的条目数量
	Limit *int32 `json:"limit,omitempty"`
}

ListTaskHistoriesRequest Request Object

func (ListTaskHistoriesRequest) String

func (o ListTaskHistoriesRequest) String() string

type ListTaskHistoriesResponse

type ListTaskHistoriesResponse struct {

	// 网站历史扫描任务总数
	Total *int32 `json:"total,omitempty"`

	// 网站历史扫描任务列表
	Data           *[]ShowTasksResponseBody `json:"data,omitempty"`
	HttpStatusCode int                      `json:"-"`
}

ListTaskHistoriesResponse Response Object

func (ListTaskHistoriesResponse) String

func (o ListTaskHistoriesResponse) String() string

type OperateInfoResponseBody

type OperateInfoResponseBody struct {

	// 状态码:   * success - 成功   * failure - 失败
	InfoCode *OperateInfoResponseBodyInfoCode `json:"info_code,omitempty"`

	// 返回的提示信息
	InfoDescription *string `json:"info_description,omitempty"`
}

func (OperateInfoResponseBody) String

func (o OperateInfoResponseBody) String() string

type OperateInfoResponseBodyInfoCode

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

func (OperateInfoResponseBodyInfoCode) MarshalJSON

func (c OperateInfoResponseBodyInfoCode) MarshalJSON() ([]byte, error)

func (*OperateInfoResponseBodyInfoCode) UnmarshalJSON

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

func (OperateInfoResponseBodyInfoCode) Value

type OperateInfoResponseBodyInfoCodeEnum

type OperateInfoResponseBodyInfoCodeEnum struct {
	SUCCESS OperateInfoResponseBodyInfoCode
	FAILURE OperateInfoResponseBodyInfoCode
}

func GetOperateInfoResponseBodyInfoCodeEnum

func GetOperateInfoResponseBodyInfoCodeEnum() OperateInfoResponseBodyInfoCodeEnum

type PortItem

type PortItem struct {

	// 端口号
	Port *int32 `json:"port,omitempty"`

	// 服务
	Service *string `json:"service,omitempty"`

	// 端口协议:   * TCP   * UDP
	Protocol *PortItemProtocol `json:"protocol,omitempty"`

	// 端口状态:   * filtered - 过滤的   * open - 开放
	Status *PortItemStatus `json:"status,omitempty"`
}

func (PortItem) String

func (o PortItem) String() string

type PortItemProtocol

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

func (PortItemProtocol) MarshalJSON

func (c PortItemProtocol) MarshalJSON() ([]byte, error)

func (*PortItemProtocol) UnmarshalJSON

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

func (PortItemProtocol) Value

func (c PortItemProtocol) Value() string

type PortItemProtocolEnum

type PortItemProtocolEnum struct {
	TCP PortItemProtocol
	UDP PortItemProtocol
}

func GetPortItemProtocolEnum

func GetPortItemProtocolEnum() PortItemProtocolEnum

type PortItemStatus

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

func (PortItemStatus) MarshalJSON

func (c PortItemStatus) MarshalJSON() ([]byte, error)

func (*PortItemStatus) UnmarshalJSON

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

func (PortItemStatus) Value

func (c PortItemStatus) Value() string

type PortItemStatusEnum

type PortItemStatusEnum struct {
	FILTERED PortItemStatus
	OPEN     PortItemStatus
}

func GetPortItemStatusEnum

func GetPortItemStatusEnum() PortItemStatusEnum

type ScanInfoDetail added in v0.1.96

type ScanInfoDetail struct {

	// 扫描任务创建时间
	CreateTime *int64 `json:"create_time,omitempty"`

	// 弱密码检查
	EnableWeakPasswd *bool `json:"enable_weak_passwd,omitempty"`

	// 扫描任务结束时间
	EndTime *int64 `json:"end_time,omitempty"`

	// 任务进度
	Progress *int32 `json:"progress,omitempty"`

	// 任务描述
	Reason *string `json:"reason,omitempty"`

	// 扫描任务状态:   * 0 运行中   * 1 已完成   * 2 手动取消   * 3 等待中   * 4 扫描失败   * 5 等待定时调度
	Status *int32 `json:"status,omitempty"`
}

func (ScanInfoDetail) String added in v0.1.96

func (o ScanInfoDetail) String() string

type ShowDomainSettingsRequest

type ShowDomainSettingsRequest struct {

	// 网站域名ID
	DomainId string `json:"domain_id"`
}

ShowDomainSettingsRequest Request Object

func (ShowDomainSettingsRequest) String

func (o ShowDomainSettingsRequest) String() string

type ShowDomainSettingsResponse

type ShowDomainSettingsResponse struct {

	// 网站域名ID
	DomainId *string `json:"domain_id,omitempty"`

	// 网站需要登录时,设置登录页面
	LoginUrl *string `json:"login_url,omitempty"`

	// 网站需要登录时,设置登录用户名
	LoginUsername *string `json:"login_username,omitempty"`

	// 网站需要登录时,设置登录密码
	LoginPassword *string `json:"login_password,omitempty"`

	// 网站需要登录时,设置登录cookie
	LoginCookies *string `json:"login_cookies,omitempty"`

	// 设置用于验证登录是否成功的网址
	VerifyUrl *string `json:"verify_url,omitempty"`

	// 设置自定义HTTP请求头
	HttpHeaders map[string]string `json:"http_headers,omitempty"`

	// 网站域名
	DomainName     *string `json:"domain_name,omitempty"`
	HttpStatusCode int     `json:"-"`
}

ShowDomainSettingsResponse Response Object

func (ShowDomainSettingsResponse) String

type ShowReportStatusRequest

type ShowReportStatusRequest struct {

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

ShowReportStatusRequest Request Object

func (ShowReportStatusRequest) String

func (o ShowReportStatusRequest) String() string

type ShowReportStatusResponse

type ShowReportStatusResponse struct {

	// 任务ID
	TaskId *string `json:"task_id,omitempty"`

	// PDF报告生成状态:   * ungenerated - 未生成   * generating - 生成中   * generated - 已生成   * failed - 生成失败
	ReportStatus   *ShowReportStatusResponseReportStatus `json:"report_status,omitempty"`
	HttpStatusCode int                                   `json:"-"`
}

ShowReportStatusResponse Response Object

func (ShowReportStatusResponse) String

func (o ShowReportStatusResponse) String() string

type ShowReportStatusResponseReportStatus

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

func (ShowReportStatusResponseReportStatus) MarshalJSON

func (c ShowReportStatusResponseReportStatus) MarshalJSON() ([]byte, error)

func (*ShowReportStatusResponseReportStatus) UnmarshalJSON

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

func (ShowReportStatusResponseReportStatus) Value

type ShowResultsRequest

type ShowResultsRequest struct {

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

	// 分页查询,偏移量,表示从此偏移量开始查询
	Offset *int32 `json:"offset,omitempty"`

	// 分页查询,每页显示的条目数量
	Limit *int32 `json:"limit,omitempty"`
}

ShowResultsRequest Request Object

func (ShowResultsRequest) String

func (o ShowResultsRequest) String() string

type ShowResultsResponse

type ShowResultsResponse struct {

	// 网站漏洞总数
	Total *int32 `json:"total,omitempty"`

	// 网站漏洞信息列表
	Data *[]VulnItem `json:"data,omitempty"`

	Statistics     *VulnsLevel `json:"statistics,omitempty"`
	HttpStatusCode int         `json:"-"`
}

ShowResultsResponse Response Object

func (ShowResultsResponse) String

func (o ShowResultsResponse) String() string

type ShowTasksRequest

type ShowTasksRequest struct {

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

ShowTasksRequest Request Object

func (ShowTasksRequest) String

func (o ShowTasksRequest) String() string

type ShowTasksResponse

type ShowTasksResponse struct {

	// 任务名称
	TaskName string `json:"task_name"`

	// 待扫描的目标网址
	Url string `json:"url"`

	// 扫描任务类型:   * normal - 普通任务   * monitor - 监测任务
	TaskType *ShowTasksResponseTaskType `json:"task_type,omitempty"`

	// 任务ID
	TaskId *string `json:"task_id,omitempty"`

	// 网站域名
	DomainName *string `json:"domain_name,omitempty"`

	TaskSettings *TaskSettings `json:"task_settings,omitempty"`

	// 创建任务的时间
	CreateTime *string `json:"create_time,omitempty"`

	// 任务启动的时间
	StartTime *string `json:"start_time,omitempty"`

	// 任务结束的时间
	EndTime *string `json:"end_time,omitempty"`

	// 任务状态:   * running - 正在运行   * success - 成功   * canceled - 已取消   * waiting - 正在等待   * ready - 已就绪,排队中   * failure - 失败
	TaskStatus *ShowTasksResponseTaskStatus `json:"task_status,omitempty"`

	// 监测任务状态:   * running - 正在运行   * waiting - 正在等待   * finished - 已完成
	ScheduleStatus *ShowTasksResponseScheduleStatus `json:"schedule_status,omitempty"`

	// 任务进度
	Progress *int32 `json:"progress,omitempty"`

	// 任务状态描述
	Reason *string `json:"reason,omitempty"`

	// 包总数
	PackNum *int64 `json:"pack_num,omitempty"`

	// 安全分数
	Score *int32 `json:"score,omitempty"`

	// 安全等级:   * safety - 安全   * average - 中风险   * highrisk - 高风险
	SafeLevel *ShowTasksResponseSafeLevel `json:"safe_level,omitempty"`

	Statistics     *VulnsLevel `json:"statistics,omitempty"`
	HttpStatusCode int         `json:"-"`
}

ShowTasksResponse Response Object

func (ShowTasksResponse) String

func (o ShowTasksResponse) String() string

type ShowTasksResponseBody

type ShowTasksResponseBody struct {

	// 任务名称
	TaskName string `json:"task_name"`

	// 待扫描的目标网址
	Url string `json:"url"`

	// 扫描任务类型:   * normal - 普通任务   * monitor - 监测任务
	TaskType *ShowTasksResponseBodyTaskType `json:"task_type,omitempty"`

	// 任务ID
	TaskId *string `json:"task_id,omitempty"`

	// 网站域名
	DomainName *string `json:"domain_name,omitempty"`

	TaskSettings *TaskSettings `json:"task_settings,omitempty"`

	// 创建任务的时间
	CreateTime *string `json:"create_time,omitempty"`

	// 任务启动的时间
	StartTime *string `json:"start_time,omitempty"`

	// 任务结束的时间
	EndTime *string `json:"end_time,omitempty"`

	// 任务状态:   * running - 正在运行   * success - 成功   * canceled - 已取消   * waiting - 正在等待   * ready - 已就绪,排队中   * failure - 失败
	TaskStatus *ShowTasksResponseBodyTaskStatus `json:"task_status,omitempty"`

	// 监测任务状态:   * running - 正在运行   * waiting - 正在等待   * finished - 已完成
	ScheduleStatus *ShowTasksResponseBodyScheduleStatus `json:"schedule_status,omitempty"`

	// 任务进度
	Progress *int32 `json:"progress,omitempty"`

	// 任务状态描述
	Reason *string `json:"reason,omitempty"`

	// 包总数
	PackNum *int64 `json:"pack_num,omitempty"`

	// 安全分数
	Score *int32 `json:"score,omitempty"`

	// 安全等级:   * safety - 安全   * average - 中风险   * highrisk - 高风险
	SafeLevel *ShowTasksResponseBodySafeLevel `json:"safe_level,omitempty"`

	Statistics *VulnsLevel `json:"statistics,omitempty"`
}

func (ShowTasksResponseBody) String

func (o ShowTasksResponseBody) String() string

type ShowTasksResponseBodySafeLevel

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

func (ShowTasksResponseBodySafeLevel) MarshalJSON

func (c ShowTasksResponseBodySafeLevel) MarshalJSON() ([]byte, error)

func (*ShowTasksResponseBodySafeLevel) UnmarshalJSON

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

func (ShowTasksResponseBodySafeLevel) Value

type ShowTasksResponseBodySafeLevelEnum

type ShowTasksResponseBodySafeLevelEnum struct {
	SAFETY   ShowTasksResponseBodySafeLevel
	AVERAGE  ShowTasksResponseBodySafeLevel
	HIGHRISK ShowTasksResponseBodySafeLevel
}

func GetShowTasksResponseBodySafeLevelEnum

func GetShowTasksResponseBodySafeLevelEnum() ShowTasksResponseBodySafeLevelEnum

type ShowTasksResponseBodyScheduleStatus

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

func (ShowTasksResponseBodyScheduleStatus) MarshalJSON

func (c ShowTasksResponseBodyScheduleStatus) MarshalJSON() ([]byte, error)

func (*ShowTasksResponseBodyScheduleStatus) UnmarshalJSON

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

func (ShowTasksResponseBodyScheduleStatus) Value

type ShowTasksResponseBodyTaskStatus

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

func (ShowTasksResponseBodyTaskStatus) MarshalJSON

func (c ShowTasksResponseBodyTaskStatus) MarshalJSON() ([]byte, error)

func (*ShowTasksResponseBodyTaskStatus) UnmarshalJSON

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

func (ShowTasksResponseBodyTaskStatus) Value

type ShowTasksResponseBodyTaskType

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

func (ShowTasksResponseBodyTaskType) MarshalJSON

func (c ShowTasksResponseBodyTaskType) MarshalJSON() ([]byte, error)

func (*ShowTasksResponseBodyTaskType) UnmarshalJSON

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

func (ShowTasksResponseBodyTaskType) Value

type ShowTasksResponseBodyTaskTypeEnum

type ShowTasksResponseBodyTaskTypeEnum struct {
	NORMAL  ShowTasksResponseBodyTaskType
	MONITOR ShowTasksResponseBodyTaskType
}

func GetShowTasksResponseBodyTaskTypeEnum

func GetShowTasksResponseBodyTaskTypeEnum() ShowTasksResponseBodyTaskTypeEnum

type ShowTasksResponseSafeLevel

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

func (ShowTasksResponseSafeLevel) MarshalJSON

func (c ShowTasksResponseSafeLevel) MarshalJSON() ([]byte, error)

func (*ShowTasksResponseSafeLevel) UnmarshalJSON

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

func (ShowTasksResponseSafeLevel) Value

type ShowTasksResponseSafeLevelEnum

type ShowTasksResponseSafeLevelEnum struct {
	SAFETY   ShowTasksResponseSafeLevel
	AVERAGE  ShowTasksResponseSafeLevel
	HIGHRISK ShowTasksResponseSafeLevel
}

func GetShowTasksResponseSafeLevelEnum

func GetShowTasksResponseSafeLevelEnum() ShowTasksResponseSafeLevelEnum

type ShowTasksResponseScheduleStatus

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

func (ShowTasksResponseScheduleStatus) MarshalJSON

func (c ShowTasksResponseScheduleStatus) MarshalJSON() ([]byte, error)

func (*ShowTasksResponseScheduleStatus) UnmarshalJSON

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

func (ShowTasksResponseScheduleStatus) Value

type ShowTasksResponseScheduleStatusEnum

type ShowTasksResponseScheduleStatusEnum struct {
	RUNNING  ShowTasksResponseScheduleStatus
	WAITING  ShowTasksResponseScheduleStatus
	FINISHED ShowTasksResponseScheduleStatus
}

func GetShowTasksResponseScheduleStatusEnum

func GetShowTasksResponseScheduleStatusEnum() ShowTasksResponseScheduleStatusEnum

type ShowTasksResponseTaskStatus

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

func (ShowTasksResponseTaskStatus) MarshalJSON

func (c ShowTasksResponseTaskStatus) MarshalJSON() ([]byte, error)

func (*ShowTasksResponseTaskStatus) UnmarshalJSON

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

func (ShowTasksResponseTaskStatus) Value

type ShowTasksResponseTaskType

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

func (ShowTasksResponseTaskType) MarshalJSON

func (c ShowTasksResponseTaskType) MarshalJSON() ([]byte, error)

func (*ShowTasksResponseTaskType) UnmarshalJSON

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

func (ShowTasksResponseTaskType) Value

type ShowTasksResponseTaskTypeEnum

type ShowTasksResponseTaskTypeEnum struct {
	NORMAL  ShowTasksResponseTaskType
	MONITOR ShowTasksResponseTaskType
}

func GetShowTasksResponseTaskTypeEnum

func GetShowTasksResponseTaskTypeEnum() ShowTasksResponseTaskTypeEnum

type TaskInfos

type TaskInfos struct {

	// 任务名称
	TaskName string `json:"task_name"`

	// 待扫描的目标网址
	Url string `json:"url"`

	// 扫描任务类型:   * normal - 普通任务   * monitor - 监测任务
	TaskType *TaskInfosTaskType `json:"task_type,omitempty"`
}

func (TaskInfos) String

func (o TaskInfos) String() string

type TaskInfosTaskType

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

func (TaskInfosTaskType) MarshalJSON

func (c TaskInfosTaskType) MarshalJSON() ([]byte, error)

func (*TaskInfosTaskType) UnmarshalJSON

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

func (TaskInfosTaskType) Value

func (c TaskInfosTaskType) Value() string

type TaskInfosTaskTypeEnum

type TaskInfosTaskTypeEnum struct {
	NORMAL  TaskInfosTaskType
	MONITOR TaskInfosTaskType
}

func GetTaskInfosTaskTypeEnum

func GetTaskInfosTaskTypeEnum() TaskInfosTaskTypeEnum

type TaskSettings

type TaskSettings struct {

	// 普通任务的定时启动时间
	Timer *string `json:"timer,omitempty"`

	// 监测任务的定时触发时间
	TriggerTime *string `json:"trigger_time,omitempty"`

	// 监测任务的定时触发周期:   * everyday - 每日   * threedays - 每三天   * everyweek - 每星期   * everymonth - 每月
	TaskPeriod *TaskSettingsTaskPeriod `json:"task_period,omitempty"`

	TaskConfig *TaskSettingsTaskConfig `json:"task_config,omitempty"`
}

func (TaskSettings) String

func (o TaskSettings) String() string

type TaskSettingsTaskConfig

type TaskSettingsTaskConfig struct {

	// 扫描模式:   * fast - 快速扫描   * normal - 标准扫描   * deep - 深度扫描
	ScanMode *TaskSettingsTaskConfigScanMode `json:"scan_mode,omitempty"`

	// 是否进行端口扫描
	PortScan *bool `json:"port_scan,omitempty"`

	// 是否进行弱密码扫描
	WeakPwdScan *bool `json:"weak_pwd_scan,omitempty"`

	// 是否进行CVE漏洞扫描
	CveCheck *bool `json:"cve_check,omitempty"`

	// 是否进行网站内容合规文字检测
	TextCheck *bool `json:"text_check,omitempty"`

	// 是否进行网站内容合规图片检测
	PictureCheck *bool `json:"picture_check,omitempty"`

	// 是否进行网站挂马检测
	MaliciousCode *bool `json:"malicious_code,omitempty"`

	// 是否进行链接健康检测(死链、暗链、恶意外链)
	MaliciousLink *bool `json:"malicious_link,omitempty"`
}

TaskSettingsTaskConfig 扫描任务配置

func (TaskSettingsTaskConfig) String

func (o TaskSettingsTaskConfig) String() string

type TaskSettingsTaskConfigScanMode

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

func (TaskSettingsTaskConfigScanMode) MarshalJSON

func (c TaskSettingsTaskConfigScanMode) MarshalJSON() ([]byte, error)

func (*TaskSettingsTaskConfigScanMode) UnmarshalJSON

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

func (TaskSettingsTaskConfigScanMode) Value

type TaskSettingsTaskPeriod

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

func (TaskSettingsTaskPeriod) MarshalJSON

func (c TaskSettingsTaskPeriod) MarshalJSON() ([]byte, error)

func (*TaskSettingsTaskPeriod) UnmarshalJSON

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

func (TaskSettingsTaskPeriod) Value

func (c TaskSettingsTaskPeriod) Value() string

type TaskSettingsTaskPeriodEnum

type TaskSettingsTaskPeriodEnum struct {
	EVERYDAY   TaskSettingsTaskPeriod
	THREEDAYS  TaskSettingsTaskPeriod
	EVERYWEEK  TaskSettingsTaskPeriod
	EVERYMONTH TaskSettingsTaskPeriod
}

func GetTaskSettingsTaskPeriodEnum

func GetTaskSettingsTaskPeriodEnum() TaskSettingsTaskPeriodEnum

type UpdateDomainSettingsRequest

type UpdateDomainSettingsRequest struct {
	Body *UpdateDomainSettingsRequestBody `json:"body,omitempty"`
}

UpdateDomainSettingsRequest Request Object

func (UpdateDomainSettingsRequest) String

type UpdateDomainSettingsRequestBody

type UpdateDomainSettingsRequestBody struct {

	// 网站域名ID
	DomainId *string `json:"domain_id,omitempty"`

	// 网站需要登录时,设置登录页面
	LoginUrl *string `json:"login_url,omitempty"`

	// 网站需要登录时,设置登录用户名
	LoginUsername *string `json:"login_username,omitempty"`

	// 网站需要登录时,设置登录密码
	LoginPassword *string `json:"login_password,omitempty"`

	// 网站需要登录时,设置登录cookie
	LoginCookies *string `json:"login_cookies,omitempty"`

	// 设置用于验证登录是否成功的网址
	VerifyUrl *string `json:"verify_url,omitempty"`

	// 设置自定义HTTP请求头
	HttpHeaders map[string]string `json:"http_headers,omitempty"`
}

func (UpdateDomainSettingsRequestBody) String

type UpdateDomainSettingsResponse

type UpdateDomainSettingsResponse struct {

	// 状态码:   * success - 成功   * failure - 失败
	InfoCode *UpdateDomainSettingsResponseInfoCode `json:"info_code,omitempty"`

	// 返回的提示信息
	InfoDescription *string `json:"info_description,omitempty"`
	HttpStatusCode  int     `json:"-"`
}

UpdateDomainSettingsResponse Response Object

func (UpdateDomainSettingsResponse) String

type UpdateDomainSettingsResponseBody

type UpdateDomainSettingsResponseBody struct {

	// 网站域名ID
	DomainId *string `json:"domain_id,omitempty"`

	// 网站需要登录时,设置登录页面
	LoginUrl *string `json:"login_url,omitempty"`

	// 网站需要登录时,设置登录用户名
	LoginUsername *string `json:"login_username,omitempty"`

	// 网站需要登录时,设置登录密码
	LoginPassword *string `json:"login_password,omitempty"`

	// 网站需要登录时,设置登录cookie
	LoginCookies *string `json:"login_cookies,omitempty"`

	// 设置用于验证登录是否成功的网址
	VerifyUrl *string `json:"verify_url,omitempty"`

	// 设置自定义HTTP请求头
	HttpHeaders map[string]string `json:"http_headers,omitempty"`

	// 网站域名
	DomainName *string `json:"domain_name,omitempty"`
}

func (UpdateDomainSettingsResponseBody) String

type UpdateDomainSettingsResponseInfoCode

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

func (UpdateDomainSettingsResponseInfoCode) MarshalJSON

func (c UpdateDomainSettingsResponseInfoCode) MarshalJSON() ([]byte, error)

func (*UpdateDomainSettingsResponseInfoCode) UnmarshalJSON

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

func (UpdateDomainSettingsResponseInfoCode) Value

type UpdateDomainSettingsResponseInfoCodeEnum

type UpdateDomainSettingsResponseInfoCodeEnum struct {
	SUCCESS UpdateDomainSettingsResponseInfoCode
	FAILURE UpdateDomainSettingsResponseInfoCode
}

func GetUpdateDomainSettingsResponseInfoCodeEnum

func GetUpdateDomainSettingsResponseInfoCodeEnum() UpdateDomainSettingsResponseInfoCodeEnum

type UpdateFalsePositiveRequest

type UpdateFalsePositiveRequest struct {
	Body *UpdateFalsePositiveRequestBody `json:"body,omitempty"`
}

UpdateFalsePositiveRequest Request Object

func (UpdateFalsePositiveRequest) String

type UpdateFalsePositiveRequestBody

type UpdateFalsePositiveRequestBody struct {

	// 漏洞ID
	VulnId string `json:"vuln_id"`

	// 误报确认人
	Provider *string `json:"provider,omitempty"`

	// 误报确认理由
	Reason *string `json:"reason,omitempty"`

	// 对漏洞的操作:   * false_report - 更新漏洞状态为误报,并忽略   * repairing - 更新漏洞状态未修复
	VulnStatus *UpdateFalsePositiveRequestBodyVulnStatus `json:"vuln_status,omitempty"`
}

func (UpdateFalsePositiveRequestBody) String

type UpdateFalsePositiveRequestBodyVulnStatus

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

func (UpdateFalsePositiveRequestBodyVulnStatus) MarshalJSON

func (*UpdateFalsePositiveRequestBodyVulnStatus) UnmarshalJSON

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

func (UpdateFalsePositiveRequestBodyVulnStatus) Value

type UpdateFalsePositiveRequestBodyVulnStatusEnum

type UpdateFalsePositiveRequestBodyVulnStatusEnum struct {
	FALSE_REPORT UpdateFalsePositiveRequestBodyVulnStatus
	REPAIRING    UpdateFalsePositiveRequestBodyVulnStatus
}

func GetUpdateFalsePositiveRequestBodyVulnStatusEnum

func GetUpdateFalsePositiveRequestBodyVulnStatusEnum() UpdateFalsePositiveRequestBodyVulnStatusEnum

type UpdateFalsePositiveResponse

type UpdateFalsePositiveResponse struct {

	// 状态码:   * success - 成功   * failure - 失败
	InfoCode *UpdateFalsePositiveResponseInfoCode `json:"info_code,omitempty"`

	// 返回的提示信息
	InfoDescription *string `json:"info_description,omitempty"`
	HttpStatusCode  int     `json:"-"`
}

UpdateFalsePositiveResponse Response Object

func (UpdateFalsePositiveResponse) String

type UpdateFalsePositiveResponseInfoCode

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

func (UpdateFalsePositiveResponseInfoCode) MarshalJSON

func (c UpdateFalsePositiveResponseInfoCode) MarshalJSON() ([]byte, error)

func (*UpdateFalsePositiveResponseInfoCode) UnmarshalJSON

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

func (UpdateFalsePositiveResponseInfoCode) Value

type UpdateFalsePositiveResponseInfoCodeEnum

type UpdateFalsePositiveResponseInfoCodeEnum struct {
	SUCCESS UpdateFalsePositiveResponseInfoCode
	FAILURE UpdateFalsePositiveResponseInfoCode
}

func GetUpdateFalsePositiveResponseInfoCodeEnum

func GetUpdateFalsePositiveResponseInfoCodeEnum() UpdateFalsePositiveResponseInfoCodeEnum

type VulnItem

type VulnItem struct {

	// 漏洞ID
	VulnId *string `json:"vuln_id,omitempty"`

	// 网站域名ID
	DomainId *string `json:"domain_id,omitempty"`

	// 目标网址
	Url *string `json:"url,omitempty"`

	// 漏洞风险等级:   * high - 高风险   * middle - 中风险   * low - 低风险   * hint - 提示
	Severity *VulnItemSeverity `json:"severity,omitempty"`

	// 漏洞状态:   * repairing - 未修复   * repaired - 已修复   * false_report - 误报,已忽略
	VulnStatus *VulnItemVulnStatus `json:"vuln_status,omitempty"`

	// 漏洞类别
	VulnClass *string `json:"vuln_class,omitempty"`

	// 漏洞名称
	VulnType *string `json:"vuln_type,omitempty"`

	// 漏洞描述
	Description *string `json:"description,omitempty"`

	// 修复建议
	Advice *string `json:"advice,omitempty"`

	// 命中详情
	HitDetails *string `json:"hit_details,omitempty"`

	// 请求详情
	Request *string `json:"request,omitempty"`

	// 响应详情
	Response *string `json:"response,omitempty"`

	// 漏洞确认人
	Provider *string `json:"provider,omitempty"`

	// 漏洞忽略理由
	Reason *string `json:"reason,omitempty"`

	// 漏洞发现时间
	FindTime *string `json:"find_time,omitempty"`
}

func (VulnItem) String

func (o VulnItem) String() string

type VulnItemSeverity

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

func (VulnItemSeverity) MarshalJSON

func (c VulnItemSeverity) MarshalJSON() ([]byte, error)

func (*VulnItemSeverity) UnmarshalJSON

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

func (VulnItemSeverity) Value

func (c VulnItemSeverity) Value() string

type VulnItemSeverityEnum

type VulnItemSeverityEnum struct {
	HIGH   VulnItemSeverity
	MIDDLE VulnItemSeverity
	LOW    VulnItemSeverity
	HINT   VulnItemSeverity
}

func GetVulnItemSeverityEnum

func GetVulnItemSeverityEnum() VulnItemSeverityEnum

type VulnItemVulnStatus

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

func (VulnItemVulnStatus) MarshalJSON

func (c VulnItemVulnStatus) MarshalJSON() ([]byte, error)

func (*VulnItemVulnStatus) UnmarshalJSON

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

func (VulnItemVulnStatus) Value

func (c VulnItemVulnStatus) Value() string

type VulnItemVulnStatusEnum

type VulnItemVulnStatusEnum struct {
	REPAIRING    VulnItemVulnStatus
	REPAIRED     VulnItemVulnStatus
	FALSE_REPORT VulnItemVulnStatus
}

func GetVulnItemVulnStatusEnum

func GetVulnItemVulnStatusEnum() VulnItemVulnStatusEnum

type VulnsLevel

type VulnsLevel struct {

	// 高危漏洞数
	High *int32 `json:"high,omitempty"`

	// 中危漏洞数
	Middle *int32 `json:"middle,omitempty"`

	// 低危漏洞数
	Low *int32 `json:"low,omitempty"`

	// 提示危漏洞数
	Hint *int32 `json:"hint,omitempty"`
}

func (VulnsLevel) String

func (o VulnsLevel) String() string

Source Files

Jump to

Keyboard shortcuts

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