model

package
v0.0.78 Latest Latest
Warning

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

Go to latest
Published: Feb 25, 2022 License: Apache-2.0, BSD-2-Clause, BSD-3-Clause Imports: 4 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"`
}

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

	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

type AuthorizeDomainsRequestBodyAuthModeEnum added in v0.0.74

type AuthorizeDomainsRequestBodyAuthModeEnum struct {
	FILE AuthorizeDomainsRequestBodyAuthMode
	AUTO AuthorizeDomainsRequestBodyAuthMode
}

func GetAuthorizeDomainsRequestBodyAuthModeEnum added in v0.0.74

func GetAuthorizeDomainsRequestBodyAuthModeEnum() AuthorizeDomainsRequestBodyAuthModeEnum

type AuthorizeDomainsResponse added in v0.0.74

type AuthorizeDomainsResponse struct {
	InfoCode *AuthorizeDomainsResponseInfoCode `json:"info_code,omitempty"`

	InfoDescription *string `json:"info_description,omitempty"`
	HttpStatusCode  int     `json:"-"`
}

Response Object

func (AuthorizeDomainsResponse) String added in v0.0.74

func (o AuthorizeDomainsResponse) String() string

type AuthorizeDomainsResponseInfoCode added in v0.0.74

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

func (AuthorizeDomainsResponseInfoCode) MarshalJSON added in v0.0.74

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

func (*AuthorizeDomainsResponseInfoCode) UnmarshalJSON added in v0.0.74

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

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 CreateDomainsRequest

type CreateDomainsRequest struct {
	Body *CreateDomainsRequestBody `json:"body,omitempty"`
}

Request Object

func (CreateDomainsRequest) String

func (o CreateDomainsRequest) String() string

type CreateDomainsRequestBody

type CreateDomainsRequestBody struct {
	DomainName string `json:"domain_name"`

	Alias string `json:"alias"`
}

func (CreateDomainsRequestBody) String

func (o CreateDomainsRequestBody) String() string

type CreateDomainsResponse

type CreateDomainsResponse struct {
	InfoCode *CreateDomainsResponseInfoCode `json:"info_code,omitempty"`

	InfoDescription *string `json:"info_description,omitempty"`

	DomainId       *string `json:"domain_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (CreateDomainsResponse) String

func (o CreateDomainsResponse) String() string

type CreateDomainsResponseInfoCode

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

func (CreateDomainsResponseInfoCode) MarshalJSON

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

func (*CreateDomainsResponseInfoCode) UnmarshalJSON

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

type CreateDomainsResponseInfoCodeEnum

type CreateDomainsResponseInfoCodeEnum struct {
	SUCCESS CreateDomainsResponseInfoCode
	FAILURE CreateDomainsResponseInfoCode
}

func GetCreateDomainsResponseInfoCodeEnum

func GetCreateDomainsResponseInfoCodeEnum() CreateDomainsResponseInfoCodeEnum

type CreateTasksRequest added in v0.0.74

type CreateTasksRequest struct {
	Upgrade *bool `json:"upgrade,omitempty"`

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

Request Object

func (CreateTasksRequest) String added in v0.0.74

func (o CreateTasksRequest) String() string

type CreateTasksRequestBody added in v0.0.74

type CreateTasksRequestBody struct {
	TaskName string `json:"task_name"`

	Url string `json:"url"`

	TaskType *CreateTasksRequestBodyTaskType `json:"task_type,omitempty"`

	Timer *string `json:"timer,omitempty"`

	TriggerTime *string `json:"trigger_time,omitempty"`

	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

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

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 {
	InfoCode *CreateTasksResponseInfoCode `json:"info_code,omitempty"`

	InfoDescription *string `json:"info_description,omitempty"`

	TaskId *string `json:"task_id,omitempty"`

	TaskStatus     *CreateTasksResponseTaskStatus `json:"task_status,omitempty"`
	HttpStatusCode int                            `json:"-"`
}

Response Object

func (CreateTasksResponse) String added in v0.0.74

func (o CreateTasksResponse) String() string

type CreateTasksResponseInfoCode added in v0.0.74

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

func (CreateTasksResponseInfoCode) MarshalJSON added in v0.0.74

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

func (*CreateTasksResponseInfoCode) UnmarshalJSON added in v0.0.74

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

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

type CreateTasksResponseTaskStatusEnum added in v0.0.74

type CreateTasksResponseTaskStatusEnum struct {
	RUNNING  CreateTasksResponseTaskStatus
	SUCCESS  CreateTasksResponseTaskStatus
	CANCELED CreateTasksResponseTaskStatus
	WAITING  CreateTasksResponseTaskStatus
	FAILURE  CreateTasksResponseTaskStatus
}

func GetCreateTasksResponseTaskStatusEnum added in v0.0.74

func GetCreateTasksResponseTaskStatusEnum() CreateTasksResponseTaskStatusEnum

type DeleteDomainsRequest

type DeleteDomainsRequest struct {
	DomainName string `json:"domain_name"`
}

Request Object

func (DeleteDomainsRequest) String

func (o DeleteDomainsRequest) String() string

type DeleteDomainsResponse

type DeleteDomainsResponse struct {
	InfoCode *DeleteDomainsResponseInfoCode `json:"info_code,omitempty"`

	InfoDescription *string `json:"info_description,omitempty"`
	HttpStatusCode  int     `json:"-"`
}

Response Object

func (DeleteDomainsResponse) String

func (o DeleteDomainsResponse) String() string

type DeleteDomainsResponseInfoCode

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

func (DeleteDomainsResponseInfoCode) MarshalJSON

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

func (*DeleteDomainsResponseInfoCode) UnmarshalJSON

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

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

	DomainId *string `json:"domain_id,omitempty"`

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

	AuthStatus *DomainItemAuthStatus `json:"auth_status,omitempty"`

	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

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

type DomainItemProtocolTypeEnum

type DomainItemProtocolTypeEnum struct {
	HTTP_  DomainItemProtocolType
	HTTPS_ DomainItemProtocolType
}

func GetDomainItemProtocolTypeEnum

func GetDomainItemProtocolTypeEnum() DomainItemProtocolTypeEnum

type ListDomainsRequest

type ListDomainsRequest struct {
	AuthStatus *ListDomainsRequestAuthStatus `json:"auth_status,omitempty"`

	Offset *int32 `json:"offset,omitempty"`

	Limit *int32 `json:"limit,omitempty"`
}

Request Object

func (ListDomainsRequest) String

func (o ListDomainsRequest) String() string

type ListDomainsRequestAuthStatus

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

func (ListDomainsRequestAuthStatus) MarshalJSON

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

func (*ListDomainsRequestAuthStatus) UnmarshalJSON

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

type ListDomainsResponse

type ListDomainsResponse struct {
	Total *int32 `json:"total,omitempty"`

	TopLevelDomainNum *int32 `json:"top_level_domain_num,omitempty"`

	Domains        *[]DomainItem `json:"domains,omitempty"`
	HttpStatusCode int           `json:"-"`
}

Response Object

func (ListDomainsResponse) String

func (o ListDomainsResponse) String() string

type OperateInfoResponseBody

type OperateInfoResponseBody struct {
	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

type OperateInfoResponseBodyInfoCodeEnum

type OperateInfoResponseBodyInfoCodeEnum struct {
	SUCCESS OperateInfoResponseBodyInfoCode
	FAILURE OperateInfoResponseBodyInfoCode
}

func GetOperateInfoResponseBodyInfoCodeEnum

func GetOperateInfoResponseBodyInfoCodeEnum() OperateInfoResponseBodyInfoCodeEnum

type ShowResultsRequest added in v0.0.74

type ShowResultsRequest struct {
	TaskId string `json:"task_id"`

	Offset *int32 `json:"offset,omitempty"`

	Limit *int32 `json:"limit,omitempty"`
}

Request Object

func (ShowResultsRequest) String added in v0.0.74

func (o ShowResultsRequest) String() string

type ShowResultsResponse added in v0.0.74

type ShowResultsResponse struct {
	Total *int32 `json:"total,omitempty"`

	Data *[]VulnItem `json:"data,omitempty"`

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

Response Object

func (ShowResultsResponse) String added in v0.0.74

func (o ShowResultsResponse) String() string

type ShowTasksRequest added in v0.0.74

type ShowTasksRequest struct {
	TaskId string `json:"task_id"`
}

Request Object

func (ShowTasksRequest) String added in v0.0.74

func (o ShowTasksRequest) String() string

type ShowTasksResponse added in v0.0.74

type ShowTasksResponse struct {
	TaskName string `json:"task_name"`

	Url string `json:"url"`

	TaskType *ShowTasksResponseTaskType `json:"task_type,omitempty"`

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

	TaskStatus *ShowTasksResponseTaskStatus `json:"task_status,omitempty"`

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

	SafeLevel *ShowTasksResponseSafeLevel `json:"safe_level,omitempty"`

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

Response Object

func (ShowTasksResponse) String added in v0.0.74

func (o ShowTasksResponse) String() string

type 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

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

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

type ShowTasksResponseTaskStatusEnum added in v0.0.74

type ShowTasksResponseTaskStatusEnum struct {
	RUNNING  ShowTasksResponseTaskStatus
	SUCCESS  ShowTasksResponseTaskStatus
	CANCELED ShowTasksResponseTaskStatus
	WAITING  ShowTasksResponseTaskStatus
	FAILURE  ShowTasksResponseTaskStatus
}

func GetShowTasksResponseTaskStatusEnum added in v0.0.74

func GetShowTasksResponseTaskStatusEnum() ShowTasksResponseTaskStatusEnum

type ShowTasksResponseTaskType added in v0.0.74

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

func (ShowTasksResponseTaskType) MarshalJSON added in v0.0.74

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

func (*ShowTasksResponseTaskType) UnmarshalJSON added in v0.0.74

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

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

	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

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

	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 {
	ScanMode *TaskSettingsTaskConfigScanMode `json:"scan_mode,omitempty"`

	PortScan *bool `json:"port_scan,omitempty"`

	WeakPwdScan *bool `json:"weak_pwd_scan,omitempty"`

	CveCheck *bool `json:"cve_check,omitempty"`

	TextCheck *bool `json:"text_check,omitempty"`

	PictureCheck *bool `json:"picture_check,omitempty"`

	MaliciousCode *bool `json:"malicious_code,omitempty"`

	MaliciousLink *bool `json:"malicious_link,omitempty"`
}

扫描任务配置

func (TaskSettingsTaskConfig) String added in v0.0.74

func (o TaskSettingsTaskConfig) String() string

type TaskSettingsTaskConfigScanMode added in v0.0.74

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

func (TaskSettingsTaskConfigScanMode) MarshalJSON added in v0.0.74

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

func (*TaskSettingsTaskConfigScanMode) UnmarshalJSON added in v0.0.74

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

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

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

type VulnItem struct {
	VulnId *string `json:"vuln_id,omitempty"`

	DomainId *string `json:"domain_id,omitempty"`

	Url *string `json:"url,omitempty"`

	Severity *VulnItemSeverity `json:"severity,omitempty"`

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

	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

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

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

Jump to

Keyboard shortcuts

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