Documentation ¶
Index ¶
- func GenReqDefForAuthorizeDomains() *def.HttpRequestDef
- func GenReqDefForCancelTasks() *def.HttpRequestDef
- func GenReqDefForCreateDomains() *def.HttpRequestDef
- func GenReqDefForCreateTasks() *def.HttpRequestDef
- func GenReqDefForDeleteDomains() *def.HttpRequestDef
- func GenReqDefForListBusinessRisks() *def.HttpRequestDef
- func GenReqDefForListDomains() *def.HttpRequestDef
- func GenReqDefForListPortResults() *def.HttpRequestDef
- func GenReqDefForListTaskHistories() *def.HttpRequestDef
- func GenReqDefForShowDomainSettings() *def.HttpRequestDef
- func GenReqDefForShowResults() *def.HttpRequestDef
- func GenReqDefForShowTasks() *def.HttpRequestDef
- func GenReqDefForUpdateDomainSettings() *def.HttpRequestDef
- func GenReqDefForUpdateFalsePositive() *def.HttpRequestDef
- func VssClientBuilder() *http_client.HcHttpClientBuilder
- type VssClient
- func (c *VssClient) AuthorizeDomains(request *model.AuthorizeDomainsRequest) (*model.AuthorizeDomainsResponse, error)
- func (c *VssClient) CancelTasks(request *model.CancelTasksRequest) (*model.CancelTasksResponse, error)
- func (c *VssClient) CreateDomains(request *model.CreateDomainsRequest) (*model.CreateDomainsResponse, error)
- func (c *VssClient) CreateTasks(request *model.CreateTasksRequest) (*model.CreateTasksResponse, error)
- func (c *VssClient) DeleteDomains(request *model.DeleteDomainsRequest) (*model.DeleteDomainsResponse, error)
- func (c *VssClient) ListBusinessRisks(request *model.ListBusinessRisksRequest) (*model.ListBusinessRisksResponse, error)
- func (c *VssClient) ListDomains(request *model.ListDomainsRequest) (*model.ListDomainsResponse, error)
- func (c *VssClient) ListPortResults(request *model.ListPortResultsRequest) (*model.ListPortResultsResponse, error)
- func (c *VssClient) ListTaskHistories(request *model.ListTaskHistoriesRequest) (*model.ListTaskHistoriesResponse, error)
- func (c *VssClient) ShowDomainSettings(request *model.ShowDomainSettingsRequest) (*model.ShowDomainSettingsResponse, error)
- func (c *VssClient) ShowResults(request *model.ShowResultsRequest) (*model.ShowResultsResponse, error)
- func (c *VssClient) ShowTasks(request *model.ShowTasksRequest) (*model.ShowTasksResponse, error)
- func (c *VssClient) UpdateDomainSettings(request *model.UpdateDomainSettingsRequest) (*model.UpdateDomainSettingsResponse, error)
- func (c *VssClient) UpdateFalsePositive(request *model.UpdateFalsePositiveRequest) (*model.UpdateFalsePositiveResponse, error)
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 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 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 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)
认证租户的域名资产
func (*VssClient) CancelTasks ¶ added in v0.0.81
func (c *VssClient) CancelTasks(request *model.CancelTasksRequest) (*model.CancelTasksResponse, error)
取消或重启域名漏洞扫描任务
func (*VssClient) CreateDomains ¶
func (c *VssClient) CreateDomains(request *model.CreateDomainsRequest) (*model.CreateDomainsResponse, error)
创建租户的域名资产
func (*VssClient) CreateTasks ¶ added in v0.0.74
func (c *VssClient) CreateTasks(request *model.CreateTasksRequest) (*model.CreateTasksResponse, error)
创建域名漏洞扫描任务并启动
func (*VssClient) DeleteDomains ¶
func (c *VssClient) DeleteDomains(request *model.DeleteDomainsRequest) (*model.DeleteDomainsResponse, error)
删除租户的域名资产
func (*VssClient) ListBusinessRisks ¶ added in v0.0.81
func (c *VssClient) ListBusinessRisks(request *model.ListBusinessRisksRequest) (*model.ListBusinessRisksResponse, error)
获取域名业务风险扫描结果
func (*VssClient) ListDomains ¶
func (c *VssClient) ListDomains(request *model.ListDomainsRequest) (*model.ListDomainsResponse, error)
获取租户的所有域名资产
func (*VssClient) ListPortResults ¶ added in v0.0.81
func (c *VssClient) ListPortResults(request *model.ListPortResultsRequest) (*model.ListPortResultsResponse, error)
获取域名端口扫描结果
func (*VssClient) ListTaskHistories ¶ added in v0.0.81
func (c *VssClient) ListTaskHistories(request *model.ListTaskHistoriesRequest) (*model.ListTaskHistoriesResponse, error)
获取域名漏洞扫描的历史扫描任务
func (*VssClient) ShowDomainSettings ¶ added in v0.0.81
func (c *VssClient) ShowDomainSettings(request *model.ShowDomainSettingsRequest) (*model.ShowDomainSettingsResponse, error)
获取域名登录配置
func (*VssClient) ShowResults ¶ added in v0.0.74
func (c *VssClient) ShowResults(request *model.ShowResultsRequest) (*model.ShowResultsResponse, error)
获取域名漏洞扫描结果
func (*VssClient) ShowTasks ¶ added in v0.0.74
func (c *VssClient) ShowTasks(request *model.ShowTasksRequest) (*model.ShowTasksResponse, error)
获取域名漏洞扫描任务详情
func (*VssClient) UpdateDomainSettings ¶ added in v0.0.81
func (c *VssClient) UpdateDomainSettings(request *model.UpdateDomainSettingsRequest) (*model.UpdateDomainSettingsResponse, error)
更新域名登录配置
func (*VssClient) UpdateFalsePositive ¶ added in v0.0.81
func (c *VssClient) UpdateFalsePositive(request *model.UpdateFalsePositiveRequest) (*model.UpdateFalsePositiveResponse, error)
更新域名扫描漏洞的误报状态
Click to show internal directories.
Click to hide internal directories.