Documentation ¶
Index ¶
- func GenReqDefForAuthorizeDomains() *def.HttpRequestDef
- func GenReqDefForCancelTasks() *def.HttpRequestDef
- func GenReqDefForCreateDomains() *def.HttpRequestDef
- func GenReqDefForCreateTasks() *def.HttpRequestDef
- func GenReqDefForDeleteDomains() *def.HttpRequestDef
- func GenReqDefForDownloadTaskReport() *def.HttpRequestDef
- func GenReqDefForExecuteGenerateReport() *def.HttpRequestDef
- func GenReqDefForListBusinessRisks() *def.HttpRequestDef
- func GenReqDefForListDomains() *def.HttpRequestDef
- func GenReqDefForListPortResults() *def.HttpRequestDef
- func GenReqDefForListTaskHistories() *def.HttpRequestDef
- func GenReqDefForShowDomainSettings() *def.HttpRequestDef
- func GenReqDefForShowReportStatus() *def.HttpRequestDef
- func GenReqDefForShowResults() *def.HttpRequestDef
- func GenReqDefForShowTasks() *def.HttpRequestDef
- func GenReqDefForUpdateDomainSettings() *def.HttpRequestDef
- func GenReqDefForUpdateFalsePositive() *def.HttpRequestDef
- func VssClientBuilder() *http_client.HcHttpClientBuilder
- type AuthorizeDomainsInvoker
- type CancelTasksInvoker
- type CreateDomainsInvoker
- type CreateTasksInvoker
- type DeleteDomainsInvoker
- type DownloadTaskReportInvoker
- type ExecuteGenerateReportInvoker
- type ListBusinessRisksInvoker
- type ListDomainsInvoker
- type ListPortResultsInvoker
- type ListTaskHistoriesInvoker
- type ShowDomainSettingsInvoker
- type ShowReportStatusInvoker
- type ShowResultsInvoker
- type ShowTasksInvoker
- type UpdateDomainSettingsInvoker
- type UpdateFalsePositiveInvoker
- type VssClient
- func (c *VssClient) AuthorizeDomains(request *model.AuthorizeDomainsRequest) (*model.AuthorizeDomainsResponse, error)
- func (c *VssClient) AuthorizeDomainsInvoker(request *model.AuthorizeDomainsRequest) *AuthorizeDomainsInvoker
- func (c *VssClient) CancelTasks(request *model.CancelTasksRequest) (*model.CancelTasksResponse, error)
- func (c *VssClient) CancelTasksInvoker(request *model.CancelTasksRequest) *CancelTasksInvoker
- func (c *VssClient) CreateDomains(request *model.CreateDomainsRequest) (*model.CreateDomainsResponse, error)
- func (c *VssClient) CreateDomainsInvoker(request *model.CreateDomainsRequest) *CreateDomainsInvoker
- func (c *VssClient) CreateTasks(request *model.CreateTasksRequest) (*model.CreateTasksResponse, error)
- func (c *VssClient) CreateTasksInvoker(request *model.CreateTasksRequest) *CreateTasksInvoker
- func (c *VssClient) DeleteDomains(request *model.DeleteDomainsRequest) (*model.DeleteDomainsResponse, error)
- func (c *VssClient) DeleteDomainsInvoker(request *model.DeleteDomainsRequest) *DeleteDomainsInvoker
- func (c *VssClient) DownloadTaskReport(request *model.DownloadTaskReportRequest) (*model.DownloadTaskReportResponse, error)
- func (c *VssClient) DownloadTaskReportInvoker(request *model.DownloadTaskReportRequest) *DownloadTaskReportInvoker
- func (c *VssClient) ExecuteGenerateReport(request *model.ExecuteGenerateReportRequest) (*model.ExecuteGenerateReportResponse, error)
- func (c *VssClient) ExecuteGenerateReportInvoker(request *model.ExecuteGenerateReportRequest) *ExecuteGenerateReportInvoker
- func (c *VssClient) ListBusinessRisks(request *model.ListBusinessRisksRequest) (*model.ListBusinessRisksResponse, error)
- func (c *VssClient) ListBusinessRisksInvoker(request *model.ListBusinessRisksRequest) *ListBusinessRisksInvoker
- func (c *VssClient) ListDomains(request *model.ListDomainsRequest) (*model.ListDomainsResponse, error)
- func (c *VssClient) ListDomainsInvoker(request *model.ListDomainsRequest) *ListDomainsInvoker
- func (c *VssClient) ListPortResults(request *model.ListPortResultsRequest) (*model.ListPortResultsResponse, error)
- func (c *VssClient) ListPortResultsInvoker(request *model.ListPortResultsRequest) *ListPortResultsInvoker
- func (c *VssClient) ListTaskHistories(request *model.ListTaskHistoriesRequest) (*model.ListTaskHistoriesResponse, error)
- func (c *VssClient) ListTaskHistoriesInvoker(request *model.ListTaskHistoriesRequest) *ListTaskHistoriesInvoker
- func (c *VssClient) ShowDomainSettings(request *model.ShowDomainSettingsRequest) (*model.ShowDomainSettingsResponse, error)
- func (c *VssClient) ShowDomainSettingsInvoker(request *model.ShowDomainSettingsRequest) *ShowDomainSettingsInvoker
- func (c *VssClient) ShowReportStatus(request *model.ShowReportStatusRequest) (*model.ShowReportStatusResponse, error)
- func (c *VssClient) ShowReportStatusInvoker(request *model.ShowReportStatusRequest) *ShowReportStatusInvoker
- func (c *VssClient) ShowResults(request *model.ShowResultsRequest) (*model.ShowResultsResponse, error)
- func (c *VssClient) ShowResultsInvoker(request *model.ShowResultsRequest) *ShowResultsInvoker
- func (c *VssClient) ShowTasks(request *model.ShowTasksRequest) (*model.ShowTasksResponse, error)
- func (c *VssClient) ShowTasksInvoker(request *model.ShowTasksRequest) *ShowTasksInvoker
- func (c *VssClient) UpdateDomainSettings(request *model.UpdateDomainSettingsRequest) (*model.UpdateDomainSettingsResponse, error)
- func (c *VssClient) UpdateDomainSettingsInvoker(request *model.UpdateDomainSettingsRequest) *UpdateDomainSettingsInvoker
- func (c *VssClient) UpdateFalsePositive(request *model.UpdateFalsePositiveRequest) (*model.UpdateFalsePositiveResponse, error)
- func (c *VssClient) UpdateFalsePositiveInvoker(request *model.UpdateFalsePositiveRequest) *UpdateFalsePositiveInvoker
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenReqDefForAuthorizeDomains ¶ added in v0.0.74
func GenReqDefForAuthorizeDomains() *def.HttpRequestDef
func GenReqDefForCancelTasks ¶ added in v0.0.81
func GenReqDefForCancelTasks() *def.HttpRequestDef
func GenReqDefForCreateDomains ¶
func GenReqDefForCreateDomains() *def.HttpRequestDef
func GenReqDefForCreateTasks ¶ added in v0.0.74
func GenReqDefForCreateTasks() *def.HttpRequestDef
func GenReqDefForDeleteDomains ¶
func GenReqDefForDeleteDomains() *def.HttpRequestDef
func GenReqDefForDownloadTaskReport ¶ added in v0.0.93
func GenReqDefForDownloadTaskReport() *def.HttpRequestDef
func GenReqDefForExecuteGenerateReport ¶ added in v0.0.93
func GenReqDefForExecuteGenerateReport() *def.HttpRequestDef
func GenReqDefForListBusinessRisks ¶ added in v0.0.81
func GenReqDefForListBusinessRisks() *def.HttpRequestDef
func GenReqDefForListDomains ¶
func GenReqDefForListDomains() *def.HttpRequestDef
func GenReqDefForListPortResults ¶ added in v0.0.81
func GenReqDefForListPortResults() *def.HttpRequestDef
func GenReqDefForListTaskHistories ¶ added in v0.0.81
func GenReqDefForListTaskHistories() *def.HttpRequestDef
func GenReqDefForShowDomainSettings ¶ added in v0.0.81
func GenReqDefForShowDomainSettings() *def.HttpRequestDef
func GenReqDefForShowReportStatus ¶ added in v0.0.93
func GenReqDefForShowReportStatus() *def.HttpRequestDef
func GenReqDefForShowResults ¶ added in v0.0.74
func GenReqDefForShowResults() *def.HttpRequestDef
func GenReqDefForShowTasks ¶ added in v0.0.74
func GenReqDefForShowTasks() *def.HttpRequestDef
func GenReqDefForUpdateDomainSettings ¶ added in v0.0.81
func GenReqDefForUpdateDomainSettings() *def.HttpRequestDef
func GenReqDefForUpdateFalsePositive ¶ added in v0.0.81
func GenReqDefForUpdateFalsePositive() *def.HttpRequestDef
func VssClientBuilder ¶
func VssClientBuilder() *http_client.HcHttpClientBuilder
Types ¶
type AuthorizeDomainsInvoker ¶ added in v0.0.90
type AuthorizeDomainsInvoker struct {
*invoker.BaseInvoker
}
func (*AuthorizeDomainsInvoker) Invoke ¶ added in v0.0.90
func (i *AuthorizeDomainsInvoker) Invoke() (*model.AuthorizeDomainsResponse, error)
type CancelTasksInvoker ¶ added in v0.0.90
type CancelTasksInvoker struct {
*invoker.BaseInvoker
}
func (*CancelTasksInvoker) Invoke ¶ added in v0.0.90
func (i *CancelTasksInvoker) Invoke() (*model.CancelTasksResponse, error)
type CreateDomainsInvoker ¶ added in v0.0.90
type CreateDomainsInvoker struct {
*invoker.BaseInvoker
}
func (*CreateDomainsInvoker) Invoke ¶ added in v0.0.90
func (i *CreateDomainsInvoker) Invoke() (*model.CreateDomainsResponse, error)
type CreateTasksInvoker ¶ added in v0.0.90
type CreateTasksInvoker struct {
*invoker.BaseInvoker
}
func (*CreateTasksInvoker) Invoke ¶ added in v0.0.90
func (i *CreateTasksInvoker) Invoke() (*model.CreateTasksResponse, error)
type DeleteDomainsInvoker ¶ added in v0.0.90
type DeleteDomainsInvoker struct {
*invoker.BaseInvoker
}
func (*DeleteDomainsInvoker) Invoke ¶ added in v0.0.90
func (i *DeleteDomainsInvoker) Invoke() (*model.DeleteDomainsResponse, error)
type DownloadTaskReportInvoker ¶ added in v0.0.93
type DownloadTaskReportInvoker struct {
*invoker.BaseInvoker
}
func (*DownloadTaskReportInvoker) Invoke ¶ added in v0.0.93
func (i *DownloadTaskReportInvoker) Invoke() (*model.DownloadTaskReportResponse, error)
type ExecuteGenerateReportInvoker ¶ added in v0.0.93
type ExecuteGenerateReportInvoker struct {
*invoker.BaseInvoker
}
func (*ExecuteGenerateReportInvoker) Invoke ¶ added in v0.0.93
func (i *ExecuteGenerateReportInvoker) Invoke() (*model.ExecuteGenerateReportResponse, error)
type ListBusinessRisksInvoker ¶ added in v0.0.90
type ListBusinessRisksInvoker struct {
*invoker.BaseInvoker
}
func (*ListBusinessRisksInvoker) Invoke ¶ added in v0.0.90
func (i *ListBusinessRisksInvoker) Invoke() (*model.ListBusinessRisksResponse, error)
type ListDomainsInvoker ¶ added in v0.0.90
type ListDomainsInvoker struct {
*invoker.BaseInvoker
}
func (*ListDomainsInvoker) Invoke ¶ added in v0.0.90
func (i *ListDomainsInvoker) Invoke() (*model.ListDomainsResponse, error)
type ListPortResultsInvoker ¶ added in v0.0.90
type ListPortResultsInvoker struct {
*invoker.BaseInvoker
}
func (*ListPortResultsInvoker) Invoke ¶ added in v0.0.90
func (i *ListPortResultsInvoker) Invoke() (*model.ListPortResultsResponse, error)
type ListTaskHistoriesInvoker ¶ added in v0.0.90
type ListTaskHistoriesInvoker struct {
*invoker.BaseInvoker
}
func (*ListTaskHistoriesInvoker) Invoke ¶ added in v0.0.90
func (i *ListTaskHistoriesInvoker) Invoke() (*model.ListTaskHistoriesResponse, error)
type ShowDomainSettingsInvoker ¶ added in v0.0.90
type ShowDomainSettingsInvoker struct {
*invoker.BaseInvoker
}
func (*ShowDomainSettingsInvoker) Invoke ¶ added in v0.0.90
func (i *ShowDomainSettingsInvoker) Invoke() (*model.ShowDomainSettingsResponse, error)
type ShowReportStatusInvoker ¶ added in v0.0.93
type ShowReportStatusInvoker struct {
*invoker.BaseInvoker
}
func (*ShowReportStatusInvoker) Invoke ¶ added in v0.0.93
func (i *ShowReportStatusInvoker) Invoke() (*model.ShowReportStatusResponse, error)
type ShowResultsInvoker ¶ added in v0.0.90
type ShowResultsInvoker struct {
*invoker.BaseInvoker
}
func (*ShowResultsInvoker) Invoke ¶ added in v0.0.90
func (i *ShowResultsInvoker) Invoke() (*model.ShowResultsResponse, error)
type ShowTasksInvoker ¶ added in v0.0.90
type ShowTasksInvoker struct {
*invoker.BaseInvoker
}
func (*ShowTasksInvoker) Invoke ¶ added in v0.0.90
func (i *ShowTasksInvoker) Invoke() (*model.ShowTasksResponse, error)
type UpdateDomainSettingsInvoker ¶ added in v0.0.90
type UpdateDomainSettingsInvoker struct {
*invoker.BaseInvoker
}
func (*UpdateDomainSettingsInvoker) Invoke ¶ added in v0.0.90
func (i *UpdateDomainSettingsInvoker) Invoke() (*model.UpdateDomainSettingsResponse, error)
type UpdateFalsePositiveInvoker ¶ added in v0.0.90
type UpdateFalsePositiveInvoker struct {
*invoker.BaseInvoker
}
func (*UpdateFalsePositiveInvoker) Invoke ¶ added in v0.0.90
func (i *UpdateFalsePositiveInvoker) Invoke() (*model.UpdateFalsePositiveResponse, error)
type VssClient ¶
type VssClient struct {
HcClient *http_client.HcHttpClient
}
func NewVssClient ¶
func NewVssClient(hcClient *http_client.HcHttpClient) *VssClient
func (*VssClient) AuthorizeDomains ¶ added in v0.0.74
func (c *VssClient) AuthorizeDomains(request *model.AuthorizeDomainsRequest) (*model.AuthorizeDomainsResponse, error)
AuthorizeDomains 认证网站资产
认证租户的网站资产
Please refer to HUAWEI cloud API Explorer for details.
func (*VssClient) AuthorizeDomainsInvoker ¶ added in v0.0.90
func (c *VssClient) AuthorizeDomainsInvoker(request *model.AuthorizeDomainsRequest) *AuthorizeDomainsInvoker
AuthorizeDomainsInvoker 认证网站资产
func (*VssClient) CancelTasks ¶ added in v0.0.81
func (c *VssClient) CancelTasks(request *model.CancelTasksRequest) (*model.CancelTasksResponse, error)
CancelTasks 取消或重启网站扫描任务
取消或重启网站漏洞扫描任务
Please refer to HUAWEI cloud API Explorer for details.
func (*VssClient) CancelTasksInvoker ¶ added in v0.0.90
func (c *VssClient) CancelTasksInvoker(request *model.CancelTasksRequest) *CancelTasksInvoker
CancelTasksInvoker 取消或重启网站扫描任务
func (*VssClient) CreateDomains ¶
func (c *VssClient) CreateDomains(request *model.CreateDomainsRequest) (*model.CreateDomainsResponse, error)
CreateDomains 创建网站资产
创建租户的网站资产
Please refer to HUAWEI cloud API Explorer for details.
func (*VssClient) CreateDomainsInvoker ¶ added in v0.0.90
func (c *VssClient) CreateDomainsInvoker(request *model.CreateDomainsRequest) *CreateDomainsInvoker
CreateDomainsInvoker 创建网站资产
func (*VssClient) CreateTasks ¶ added in v0.0.74
func (c *VssClient) CreateTasks(request *model.CreateTasksRequest) (*model.CreateTasksResponse, error)
CreateTasks 创建网站扫描任务并启动
创建网站漏洞扫描任务并启动
Please refer to HUAWEI cloud API Explorer for details.
func (*VssClient) CreateTasksInvoker ¶ added in v0.0.90
func (c *VssClient) CreateTasksInvoker(request *model.CreateTasksRequest) *CreateTasksInvoker
CreateTasksInvoker 创建网站扫描任务并启动
func (*VssClient) DeleteDomains ¶
func (c *VssClient) DeleteDomains(request *model.DeleteDomainsRequest) (*model.DeleteDomainsResponse, error)
DeleteDomains 删除网站资产
删除租户的网站资产
Please refer to HUAWEI cloud API Explorer for details.
func (*VssClient) DeleteDomainsInvoker ¶ added in v0.0.90
func (c *VssClient) DeleteDomainsInvoker(request *model.DeleteDomainsRequest) *DeleteDomainsInvoker
DeleteDomainsInvoker 删除网站资产
func (*VssClient) DownloadTaskReport ¶ added in v0.0.93
func (c *VssClient) DownloadTaskReport(request *model.DownloadTaskReportRequest) (*model.DownloadTaskReportResponse, error)
DownloadTaskReport 下载网站扫描报告
下载网站扫描任务PDF报告
Please refer to HUAWEI cloud API Explorer for details.
func (*VssClient) DownloadTaskReportInvoker ¶ added in v0.0.93
func (c *VssClient) DownloadTaskReportInvoker(request *model.DownloadTaskReportRequest) *DownloadTaskReportInvoker
DownloadTaskReportInvoker 下载网站扫描报告
func (*VssClient) ExecuteGenerateReport ¶ added in v0.0.93
func (c *VssClient) ExecuteGenerateReport(request *model.ExecuteGenerateReportRequest) (*model.ExecuteGenerateReportResponse, error)
ExecuteGenerateReport 生成网站扫描报告
生成网站扫描PDF报告
Please refer to HUAWEI cloud API Explorer for details.
func (*VssClient) ExecuteGenerateReportInvoker ¶ added in v0.0.93
func (c *VssClient) ExecuteGenerateReportInvoker(request *model.ExecuteGenerateReportRequest) *ExecuteGenerateReportInvoker
ExecuteGenerateReportInvoker 生成网站扫描报告
func (*VssClient) ListBusinessRisks ¶ added in v0.0.81
func (c *VssClient) ListBusinessRisks(request *model.ListBusinessRisksRequest) (*model.ListBusinessRisksResponse, error)
ListBusinessRisks 获取网站业务风险扫描结果
获取网站业务风险扫描结果
Please refer to HUAWEI cloud API Explorer for details.
func (*VssClient) ListBusinessRisksInvoker ¶ added in v0.0.90
func (c *VssClient) ListBusinessRisksInvoker(request *model.ListBusinessRisksRequest) *ListBusinessRisksInvoker
ListBusinessRisksInvoker 获取网站业务风险扫描结果
func (*VssClient) ListDomains ¶
func (c *VssClient) ListDomains(request *model.ListDomainsRequest) (*model.ListDomainsResponse, error)
ListDomains 获取网站资产
获取租户的所有网站资产
Please refer to HUAWEI cloud API Explorer for details.
func (*VssClient) ListDomainsInvoker ¶ added in v0.0.90
func (c *VssClient) ListDomainsInvoker(request *model.ListDomainsRequest) *ListDomainsInvoker
ListDomainsInvoker 获取网站资产
func (*VssClient) ListPortResults ¶ added in v0.0.81
func (c *VssClient) ListPortResults(request *model.ListPortResultsRequest) (*model.ListPortResultsResponse, error)
ListPortResults 获取网站端口扫描结果
获取网站端口扫描结果
Please refer to HUAWEI cloud API Explorer for details.
func (*VssClient) ListPortResultsInvoker ¶ added in v0.0.90
func (c *VssClient) ListPortResultsInvoker(request *model.ListPortResultsRequest) *ListPortResultsInvoker
ListPortResultsInvoker 获取网站端口扫描结果
func (*VssClient) ListTaskHistories ¶ added in v0.0.81
func (c *VssClient) ListTaskHistories(request *model.ListTaskHistoriesRequest) (*model.ListTaskHistoriesResponse, error)
ListTaskHistories 获取网站的历史扫描任务
获取网站漏洞扫描的历史扫描任务
Please refer to HUAWEI cloud API Explorer for details.
func (*VssClient) ListTaskHistoriesInvoker ¶ added in v0.0.90
func (c *VssClient) ListTaskHistoriesInvoker(request *model.ListTaskHistoriesRequest) *ListTaskHistoriesInvoker
ListTaskHistoriesInvoker 获取网站的历史扫描任务
func (*VssClient) ShowDomainSettings ¶ added in v0.0.81
func (c *VssClient) ShowDomainSettings(request *model.ShowDomainSettingsRequest) (*model.ShowDomainSettingsResponse, error)
ShowDomainSettings 获取网站配置
获取网站登录配置
Please refer to HUAWEI cloud API Explorer for details.
func (*VssClient) ShowDomainSettingsInvoker ¶ added in v0.0.90
func (c *VssClient) ShowDomainSettingsInvoker(request *model.ShowDomainSettingsRequest) *ShowDomainSettingsInvoker
ShowDomainSettingsInvoker 获取网站配置
func (*VssClient) ShowReportStatus ¶ added in v0.0.93
func (c *VssClient) ShowReportStatus(request *model.ShowReportStatusRequest) (*model.ShowReportStatusResponse, error)
ShowReportStatus 获取网站扫描报告状态
获取网站扫描PDF报告生成状态
Please refer to HUAWEI cloud API Explorer for details.
func (*VssClient) ShowReportStatusInvoker ¶ added in v0.0.93
func (c *VssClient) ShowReportStatusInvoker(request *model.ShowReportStatusRequest) *ShowReportStatusInvoker
ShowReportStatusInvoker 获取网站扫描报告状态
func (*VssClient) ShowResults ¶ added in v0.0.74
func (c *VssClient) ShowResults(request *model.ShowResultsRequest) (*model.ShowResultsResponse, error)
ShowResults 获取网站扫描结果
获取网站漏洞扫描结果
Please refer to HUAWEI cloud API Explorer for details.
func (*VssClient) ShowResultsInvoker ¶ added in v0.0.90
func (c *VssClient) ShowResultsInvoker(request *model.ShowResultsRequest) *ShowResultsInvoker
ShowResultsInvoker 获取网站扫描结果
func (*VssClient) ShowTasks ¶ added in v0.0.74
func (c *VssClient) ShowTasks(request *model.ShowTasksRequest) (*model.ShowTasksResponse, error)
ShowTasks 获取网站扫描任务详情
获取网站漏洞扫描任务详情
Please refer to HUAWEI cloud API Explorer for details.
func (*VssClient) ShowTasksInvoker ¶ added in v0.0.90
func (c *VssClient) ShowTasksInvoker(request *model.ShowTasksRequest) *ShowTasksInvoker
ShowTasksInvoker 获取网站扫描任务详情
func (*VssClient) UpdateDomainSettings ¶ added in v0.0.81
func (c *VssClient) UpdateDomainSettings(request *model.UpdateDomainSettingsRequest) (*model.UpdateDomainSettingsResponse, error)
UpdateDomainSettings 更新网站配置
更新网站登录配置
Please refer to HUAWEI cloud API Explorer for details.
func (*VssClient) UpdateDomainSettingsInvoker ¶ added in v0.0.90
func (c *VssClient) UpdateDomainSettingsInvoker(request *model.UpdateDomainSettingsRequest) *UpdateDomainSettingsInvoker
UpdateDomainSettingsInvoker 更新网站配置
func (*VssClient) UpdateFalsePositive ¶ added in v0.0.81
func (c *VssClient) UpdateFalsePositive(request *model.UpdateFalsePositiveRequest) (*model.UpdateFalsePositiveResponse, error)
UpdateFalsePositive 更新网站漏洞的误报状态
更新网站扫描漏洞的误报状态
Please refer to HUAWEI cloud API Explorer for details.
func (*VssClient) UpdateFalsePositiveInvoker ¶ added in v0.0.90
func (c *VssClient) UpdateFalsePositiveInvoker(request *model.UpdateFalsePositiveRequest) *UpdateFalsePositiveInvoker
UpdateFalsePositiveInvoker 更新网站漏洞的误报状态