Documentation ¶
Index ¶
- func GenReqDefForAuthorizeDomains() *def.HttpRequestDef
- func GenReqDefForCreateDomains() *def.HttpRequestDef
- func GenReqDefForCreateTasks() *def.HttpRequestDef
- func GenReqDefForDeleteDomains() *def.HttpRequestDef
- func GenReqDefForListDomains() *def.HttpRequestDef
- func GenReqDefForShowResults() *def.HttpRequestDef
- func GenReqDefForShowTasks() *def.HttpRequestDef
- func VssClientBuilder() *http_client.HcHttpClientBuilder
- type VssClient
- func (c *VssClient) AuthorizeDomains(request *model.AuthorizeDomainsRequest) (*model.AuthorizeDomainsResponse, 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) ListDomains(request *model.ListDomainsRequest) (*model.ListDomainsResponse, error)
- func (c *VssClient) ShowResults(request *model.ShowResultsRequest) (*model.ShowResultsResponse, error)
- func (c *VssClient) ShowTasks(request *model.ShowTasksRequest) (*model.ShowTasksResponse, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenReqDefForAuthorizeDomains ¶ added in v0.0.74
func GenReqDefForAuthorizeDomains() *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 GenReqDefForListDomains ¶
func GenReqDefForListDomains() *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 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) 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) ListDomains ¶
func (c *VssClient) ListDomains(request *model.ListDomainsRequest) (*model.ListDomainsResponse, 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)
获取域名漏洞扫描任务详情
Click to show internal directories.
Click to hide internal directories.