Documentation
¶
Index ¶
- Constants
- type Client
- func (c *Client) CreateMonitors(request *CreateMonitorsRequest) (response *CreateMonitorsResponse, err error)
- func (c *Client) CreateSites(request *CreateSitesRequest) (response *CreateSitesResponse, err error)
- func (c *Client) CreateSitesScans(request *CreateSitesScansRequest) (response *CreateSitesScansResponse, err error)
- func (c *Client) CreateVulsMisinformation(request *CreateVulsMisinformationRequest) (response *CreateVulsMisinformationResponse, err error)
- func (c *Client) CreateVulsReport(request *CreateVulsReportRequest) (response *CreateVulsReportResponse, err error)
- func (c *Client) DeleteMonitors(request *DeleteMonitorsRequest) (response *DeleteMonitorsResponse, err error)
- func (c *Client) DeleteSites(request *DeleteSitesRequest) (response *DeleteSitesResponse, err error)
- func (c *Client) DescribeConfig(request *DescribeConfigRequest) (response *DescribeConfigResponse, err error)
- func (c *Client) DescribeMonitors(request *DescribeMonitorsRequest) (response *DescribeMonitorsResponse, err error)
- func (c *Client) DescribeSiteQuota(request *DescribeSiteQuotaRequest) (response *DescribeSiteQuotaResponse, err error)
- func (c *Client) DescribeSites(request *DescribeSitesRequest) (response *DescribeSitesResponse, err error)
- func (c *Client) DescribeSitesVerification(request *DescribeSitesVerificationRequest) (response *DescribeSitesVerificationResponse, err error)
- func (c *Client) DescribeVuls(request *DescribeVulsRequest) (response *DescribeVulsResponse, err error)
- func (c *Client) DescribeVulsNumber(request *DescribeVulsNumberRequest) (response *DescribeVulsNumberResponse, err error)
- func (c *Client) DescribeVulsNumberTimeline(request *DescribeVulsNumberTimelineRequest) (response *DescribeVulsNumberTimelineResponse, err error)
- func (c *Client) ModifyConfigAttribute(request *ModifyConfigAttributeRequest) (response *ModifyConfigAttributeResponse, err error)
- func (c *Client) ModifyMonitorAttribute(request *ModifyMonitorAttributeRequest) (response *ModifyMonitorAttributeResponse, err error)
- func (c *Client) ModifySiteAttribute(request *ModifySiteAttributeRequest) (response *ModifySiteAttributeResponse, err error)
- func (c *Client) VerifySites(request *VerifySitesRequest) (response *VerifySitesResponse, err error)
- type CreateMonitorsRequest
- type CreateMonitorsResponse
- type CreateSitesRequest
- type CreateSitesResponse
- type CreateSitesScansRequest
- type CreateSitesScansResponse
- type CreateVulsMisinformationRequest
- type CreateVulsMisinformationResponse
- type CreateVulsReportRequest
- type CreateVulsReportResponse
- type DeleteMonitorsRequest
- type DeleteMonitorsResponse
- type DeleteSitesRequest
- type DeleteSitesResponse
- type DescribeConfigRequest
- type DescribeConfigResponse
- type DescribeMonitorsRequest
- type DescribeMonitorsResponse
- type DescribeSiteQuotaRequest
- type DescribeSiteQuotaResponse
- type DescribeSitesRequest
- type DescribeSitesResponse
- type DescribeSitesVerificationRequest
- type DescribeSitesVerificationResponse
- type DescribeVulsNumberRequest
- type DescribeVulsNumberResponse
- type DescribeVulsNumberTimelineRequest
- type DescribeVulsNumberTimelineResponse
- type DescribeVulsRequest
- type DescribeVulsResponse
- type Filter
- type MiniSite
- type ModifyConfigAttributeRequest
- type ModifyConfigAttributeResponse
- type ModifyMonitorAttributeRequest
- type ModifyMonitorAttributeResponse
- type ModifySiteAttributeRequest
- type ModifySiteAttributeResponse
- type Monitor
- type MonitorMiniSite
- type MonitorsDetail
- type Site
- type SitesVerification
- type VerifySitesRequest
- type VerifySitesResponse
- type Vul
- type VulsTimeline
Constants ¶
const APIVersion = "2018-03-12"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
func NewClient ¶
func NewClient(credential *common.Credential, region string, clientProfile *profile.ClientProfile) (client *Client, err error)
func NewClientWithSecretId ¶
Deprecated
func (*Client) CreateMonitors ¶
func (c *Client) CreateMonitors(request *CreateMonitorsRequest) (response *CreateMonitorsResponse, err error)
本接口(CreateMonitors)用于新增一个或多个站点的监测任务。
func (*Client) CreateSites ¶
func (c *Client) CreateSites(request *CreateSitesRequest) (response *CreateSitesResponse, err error)
本接口(CreateSites)用于新增一个或多个站点。
func (*Client) CreateSitesScans ¶
func (c *Client) CreateSitesScans(request *CreateSitesScansRequest) (response *CreateSitesScansResponse, err error)
本接口(CreateSitesScans)用于新增一个或多个站点的单次扫描任务。
func (*Client) CreateVulsMisinformation ¶
func (c *Client) CreateVulsMisinformation(request *CreateVulsMisinformationRequest) (response *CreateVulsMisinformationResponse, err error)
本接口(CreateVulsMisinformation)可以用于新增一个或多个漏洞误报信息。
func (*Client) CreateVulsReport ¶
func (c *Client) CreateVulsReport(request *CreateVulsReportRequest) (response *CreateVulsReportResponse, err error)
本接口 (CreateVulsReport) 用于生成漏洞报告并返回下载链接。
func (*Client) DeleteMonitors ¶
func (c *Client) DeleteMonitors(request *DeleteMonitorsRequest) (response *DeleteMonitorsResponse, err error)
本接口 (DeleteMonitors) 用于删除用户监控任务。
func (*Client) DeleteSites ¶
func (c *Client) DeleteSites(request *DeleteSitesRequest) (response *DeleteSitesResponse, err error)
本接口 (DeleteSites) 用于删除站点。
func (*Client) DescribeConfig ¶
func (c *Client) DescribeConfig(request *DescribeConfigRequest) (response *DescribeConfigResponse, err error)
本接口 (DescribeConfig) 用于查询用户配置的详细信息。
func (*Client) DescribeMonitors ¶
func (c *Client) DescribeMonitors(request *DescribeMonitorsRequest) (response *DescribeMonitorsResponse, err error)
本接口 (DescribeMonitors) 用于查询一个或多个监控任务的详细信息。
func (*Client) DescribeSiteQuota ¶
func (c *Client) DescribeSiteQuota(request *DescribeSiteQuotaRequest) (response *DescribeSiteQuotaResponse, err error)
本接口 (DescribeSiteQuota) 用于查询用户购买的扫描次数总数和已使用数。
func (*Client) DescribeSites ¶
func (c *Client) DescribeSites(request *DescribeSitesRequest) (response *DescribeSitesResponse, err error)
本接口 (DescribeSites) 用于查询一个或多个站点的详细信息。
func (*Client) DescribeSitesVerification ¶
func (c *Client) DescribeSitesVerification(request *DescribeSitesVerificationRequest) (response *DescribeSitesVerificationResponse, err error)
本接口 (DescribeSitesVerification) 用于查询一个或多个待验证站点的验证信息。
func (*Client) DescribeVuls ¶
func (c *Client) DescribeVuls(request *DescribeVulsRequest) (response *DescribeVulsResponse, err error)
本接口 (DescribeVuls) 用于查询一个或多个漏洞的详细信息。
func (*Client) DescribeVulsNumber ¶
func (c *Client) DescribeVulsNumber(request *DescribeVulsNumberRequest) (response *DescribeVulsNumberResponse, err error)
本接口 (DescribeVulsNumber) 用于查询用户网站的漏洞总计数量。
func (*Client) DescribeVulsNumberTimeline ¶
func (c *Client) DescribeVulsNumberTimeline(request *DescribeVulsNumberTimelineRequest) (response *DescribeVulsNumberTimelineResponse, err error)
本接口 (DescribeVulsNumberTimeline) 用于查询漏洞数随时间变化统计信息。
func (*Client) ModifyConfigAttribute ¶
func (c *Client) ModifyConfigAttribute(request *ModifyConfigAttributeRequest) (response *ModifyConfigAttributeResponse, err error)
本接口 (ModifyConfigAttribute) 用于修改用户配置的属性。
func (*Client) ModifyMonitorAttribute ¶
func (c *Client) ModifyMonitorAttribute(request *ModifyMonitorAttributeRequest) (response *ModifyMonitorAttributeResponse, err error)
本接口 (ModifyMonitorAttribute) 用于修改监测任务的属性。
func (*Client) ModifySiteAttribute ¶
func (c *Client) ModifySiteAttribute(request *ModifySiteAttributeRequest) (response *ModifySiteAttributeResponse, err error)
本接口 (ModifySiteAttribute) 用于修改站点的属性。
func (*Client) VerifySites ¶
func (c *Client) VerifySites(request *VerifySitesRequest) (response *VerifySitesResponse, err error)
本接口 (VerifySites) 用于验证一个或多个待验证站点。
type CreateMonitorsRequest ¶
type CreateMonitorsRequest struct {
*tchttp.BaseRequest
// 站点的url列表
Urls []*string `json:"Urls,omitempty" name:"Urls" list`
// 任务名称
Name *string `json:"Name,omitempty" name:"Name"`
// 扫描模式,normal-正常扫描;deep-深度扫描
ScannerType *string `json:"ScannerType,omitempty" name:"ScannerType"`
// 扫描周期,单位小时,每X小时执行一次
Crontab *uint64 `json:"Crontab,omitempty" name:"Crontab"`
// 扫描速率限制,每秒发送X个HTTP请求
RateLimit *uint64 `json:"RateLimit,omitempty" name:"RateLimit"`
// 首次扫描开始时间
FirstScanStartTime *string `json:"FirstScanStartTime,omitempty" name:"FirstScanStartTime"`
}
func NewCreateMonitorsRequest ¶
func NewCreateMonitorsRequest() (request *CreateMonitorsRequest)
func (*CreateMonitorsRequest) FromJsonString ¶
func (r *CreateMonitorsRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateMonitorsRequest) ToJsonString ¶
func (r *CreateMonitorsRequest) ToJsonString() string
type CreateMonitorsResponse ¶
type CreateMonitorsResponse struct {
*tchttp.BaseResponse
Response *struct {
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewCreateMonitorsResponse ¶
func NewCreateMonitorsResponse() (response *CreateMonitorsResponse)
func (*CreateMonitorsResponse) FromJsonString ¶
func (r *CreateMonitorsResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateMonitorsResponse) ToJsonString ¶
func (r *CreateMonitorsResponse) ToJsonString() string
type CreateSitesRequest ¶
type CreateSitesRequest struct {
*tchttp.BaseRequest
// 站点的url列表
Urls []*string `json:"Urls,omitempty" name:"Urls" list`
// 访问网站的客户端标识
UserAgent *string `json:"UserAgent,omitempty" name:"UserAgent"`
}
func NewCreateSitesRequest ¶
func NewCreateSitesRequest() (request *CreateSitesRequest)
func (*CreateSitesRequest) FromJsonString ¶
func (r *CreateSitesRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateSitesRequest) ToJsonString ¶
func (r *CreateSitesRequest) ToJsonString() string
type CreateSitesResponse ¶
type CreateSitesResponse struct {
*tchttp.BaseResponse
Response *struct {
// 新增站点数。
Number *uint64 `json:"Number,omitempty" name:"Number"`
// 站点数组
Sites []*MiniSite `json:"Sites,omitempty" name:"Sites" list`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewCreateSitesResponse ¶
func NewCreateSitesResponse() (response *CreateSitesResponse)
func (*CreateSitesResponse) FromJsonString ¶
func (r *CreateSitesResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateSitesResponse) ToJsonString ¶
func (r *CreateSitesResponse) ToJsonString() string
type CreateSitesScansRequest ¶
type CreateSitesScansRequest struct {
*tchttp.BaseRequest
// 站点的ID列表
SiteIds []*uint64 `json:"SiteIds,omitempty" name:"SiteIds" list`
// 扫描模式,normal-正常扫描;deep-深度扫描
ScannerType *string `json:"ScannerType,omitempty" name:"ScannerType"`
// 扫描速率限制,每秒发送X个HTTP请求
RateLimit *uint64 `json:"RateLimit,omitempty" name:"RateLimit"`
}
func NewCreateSitesScansRequest ¶
func NewCreateSitesScansRequest() (request *CreateSitesScansRequest)
func (*CreateSitesScansRequest) FromJsonString ¶
func (r *CreateSitesScansRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateSitesScansRequest) ToJsonString ¶
func (r *CreateSitesScansRequest) ToJsonString() string
type CreateSitesScansResponse ¶
type CreateSitesScansResponse struct {
*tchttp.BaseResponse
Response *struct {
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewCreateSitesScansResponse ¶
func NewCreateSitesScansResponse() (response *CreateSitesScansResponse)
func (*CreateSitesScansResponse) FromJsonString ¶
func (r *CreateSitesScansResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateSitesScansResponse) ToJsonString ¶
func (r *CreateSitesScansResponse) ToJsonString() string
type CreateVulsMisinformationRequest ¶
type CreateVulsMisinformationRequest struct {
*tchttp.BaseRequest
// 漏洞ID列表
VulIds []*uint64 `json:"VulIds,omitempty" name:"VulIds" list`
}
func NewCreateVulsMisinformationRequest ¶
func NewCreateVulsMisinformationRequest() (request *CreateVulsMisinformationRequest)
func (*CreateVulsMisinformationRequest) FromJsonString ¶
func (r *CreateVulsMisinformationRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateVulsMisinformationRequest) ToJsonString ¶
func (r *CreateVulsMisinformationRequest) ToJsonString() string
type CreateVulsMisinformationResponse ¶
type CreateVulsMisinformationResponse struct {
*tchttp.BaseResponse
Response *struct {
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewCreateVulsMisinformationResponse ¶
func NewCreateVulsMisinformationResponse() (response *CreateVulsMisinformationResponse)
func (*CreateVulsMisinformationResponse) FromJsonString ¶
func (r *CreateVulsMisinformationResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateVulsMisinformationResponse) ToJsonString ¶
func (r *CreateVulsMisinformationResponse) ToJsonString() string
type CreateVulsReportRequest ¶
type CreateVulsReportRequest struct {
*tchttp.BaseRequest
// 站点ID
SiteId *uint64 `json:"SiteId,omitempty" name:"SiteId"`
// 监控任务ID
MonitorId *uint64 `json:"MonitorId,omitempty" name:"MonitorId"`
}
func NewCreateVulsReportRequest ¶
func NewCreateVulsReportRequest() (request *CreateVulsReportRequest)
func (*CreateVulsReportRequest) FromJsonString ¶
func (r *CreateVulsReportRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateVulsReportRequest) ToJsonString ¶
func (r *CreateVulsReportRequest) ToJsonString() string
type CreateVulsReportResponse ¶
type CreateVulsReportResponse struct {
*tchttp.BaseResponse
Response *struct {
// 报告下载地址
ReportFileUrl *string `json:"ReportFileUrl,omitempty" name:"ReportFileUrl"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewCreateVulsReportResponse ¶
func NewCreateVulsReportResponse() (response *CreateVulsReportResponse)
func (*CreateVulsReportResponse) FromJsonString ¶
func (r *CreateVulsReportResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateVulsReportResponse) ToJsonString ¶
func (r *CreateVulsReportResponse) ToJsonString() string
type DeleteMonitorsRequest ¶
type DeleteMonitorsRequest struct {
*tchttp.BaseRequest
// 监控任务ID列表
MonitorIds []*uint64 `json:"MonitorIds,omitempty" name:"MonitorIds" list`
}
func NewDeleteMonitorsRequest ¶
func NewDeleteMonitorsRequest() (request *DeleteMonitorsRequest)
func (*DeleteMonitorsRequest) FromJsonString ¶
func (r *DeleteMonitorsRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteMonitorsRequest) ToJsonString ¶
func (r *DeleteMonitorsRequest) ToJsonString() string
type DeleteMonitorsResponse ¶
type DeleteMonitorsResponse struct {
*tchttp.BaseResponse
Response *struct {
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewDeleteMonitorsResponse ¶
func NewDeleteMonitorsResponse() (response *DeleteMonitorsResponse)
func (*DeleteMonitorsResponse) FromJsonString ¶
func (r *DeleteMonitorsResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteMonitorsResponse) ToJsonString ¶
func (r *DeleteMonitorsResponse) ToJsonString() string
type DeleteSitesRequest ¶
type DeleteSitesRequest struct {
*tchttp.BaseRequest
// 站点ID列表
SiteIds []*uint64 `json:"SiteIds,omitempty" name:"SiteIds" list`
}
func NewDeleteSitesRequest ¶
func NewDeleteSitesRequest() (request *DeleteSitesRequest)
func (*DeleteSitesRequest) FromJsonString ¶
func (r *DeleteSitesRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteSitesRequest) ToJsonString ¶
func (r *DeleteSitesRequest) ToJsonString() string
type DeleteSitesResponse ¶
type DeleteSitesResponse struct {
*tchttp.BaseResponse
Response *struct {
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewDeleteSitesResponse ¶
func NewDeleteSitesResponse() (response *DeleteSitesResponse)
func (*DeleteSitesResponse) FromJsonString ¶
func (r *DeleteSitesResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteSitesResponse) ToJsonString ¶
func (r *DeleteSitesResponse) ToJsonString() string
type DescribeConfigRequest ¶
type DescribeConfigRequest struct {
*tchttp.BaseRequest
}
func NewDescribeConfigRequest ¶
func NewDescribeConfigRequest() (request *DescribeConfigRequest)
func (*DescribeConfigRequest) FromJsonString ¶
func (r *DescribeConfigRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeConfigRequest) ToJsonString ¶
func (r *DescribeConfigRequest) ToJsonString() string
type DescribeConfigResponse ¶
type DescribeConfigResponse struct {
*tchttp.BaseResponse
Response *struct {
// 漏洞告警通知等级,4位分别代表:高危、中危、低危、提示。
NoticeLevel *string `json:"NoticeLevel,omitempty" name:"NoticeLevel"`
// 配置ID。
Id *uint64 `json:"Id,omitempty" name:"Id"`
// 记录创建时间。
CreatedAt *string `json:"CreatedAt,omitempty" name:"CreatedAt"`
// 记录更新新建。
UpdatedAt *string `json:"UpdatedAt,omitempty" name:"UpdatedAt"`
// 云用户appid。
Appid *uint64 `json:"Appid,omitempty" name:"Appid"`
// 内容检测通知等级-1:通知,0-不通知
ContentLevel *uint64 `json:"ContentLevel,omitempty" name:"ContentLevel"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewDescribeConfigResponse ¶
func NewDescribeConfigResponse() (response *DescribeConfigResponse)
func (*DescribeConfigResponse) FromJsonString ¶
func (r *DescribeConfigResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeConfigResponse) ToJsonString ¶
func (r *DescribeConfigResponse) ToJsonString() string
type DescribeMonitorsRequest ¶
type DescribeMonitorsRequest struct {
*tchttp.BaseRequest
// 监控任务ID列表
MonitorIds []*uint64 `json:"MonitorIds,omitempty" name:"MonitorIds" list`
// 过滤条件
Filters []*Filter `json:"Filters,omitempty" name:"Filters" list`
// 偏移量,默认为0
Offset *uint64 `json:"Offset,omitempty" name:"Offset"`
// 返回数量,默认为10,最大值为100
Limit *uint64 `json:"Limit,omitempty" name:"Limit"`
}
func NewDescribeMonitorsRequest ¶
func NewDescribeMonitorsRequest() (request *DescribeMonitorsRequest)
func (*DescribeMonitorsRequest) FromJsonString ¶
func (r *DescribeMonitorsRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeMonitorsRequest) ToJsonString ¶
func (r *DescribeMonitorsRequest) ToJsonString() string
type DescribeMonitorsResponse ¶
type DescribeMonitorsResponse struct {
*tchttp.BaseResponse
Response *struct {
// 监控任务列表。
Monitors []*MonitorsDetail `json:"Monitors,omitempty" name:"Monitors" list`
// 监控任务数量。
TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewDescribeMonitorsResponse ¶
func NewDescribeMonitorsResponse() (response *DescribeMonitorsResponse)
func (*DescribeMonitorsResponse) FromJsonString ¶
func (r *DescribeMonitorsResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeMonitorsResponse) ToJsonString ¶
func (r *DescribeMonitorsResponse) ToJsonString() string
type DescribeSiteQuotaRequest ¶
type DescribeSiteQuotaRequest struct {
*tchttp.BaseRequest
}
func NewDescribeSiteQuotaRequest ¶
func NewDescribeSiteQuotaRequest() (request *DescribeSiteQuotaRequest)
func (*DescribeSiteQuotaRequest) FromJsonString ¶
func (r *DescribeSiteQuotaRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeSiteQuotaRequest) ToJsonString ¶
func (r *DescribeSiteQuotaRequest) ToJsonString() string
type DescribeSiteQuotaResponse ¶
type DescribeSiteQuotaResponse struct {
*tchttp.BaseResponse
Response *struct {
// 已购买的扫描次数。
Total *uint64 `json:"Total,omitempty" name:"Total"`
// 已使用的扫描次数。
Used *uint64 `json:"Used,omitempty" name:"Used"`
// 剩余可用的扫描次数。
Available *uint64 `json:"Available,omitempty" name:"Available"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewDescribeSiteQuotaResponse ¶
func NewDescribeSiteQuotaResponse() (response *DescribeSiteQuotaResponse)
func (*DescribeSiteQuotaResponse) FromJsonString ¶
func (r *DescribeSiteQuotaResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeSiteQuotaResponse) ToJsonString ¶
func (r *DescribeSiteQuotaResponse) ToJsonString() string
type DescribeSitesRequest ¶
type DescribeSitesRequest struct {
*tchttp.BaseRequest
// 站点ID列表
SiteIds []*uint64 `json:"SiteIds,omitempty" name:"SiteIds" list`
// 过滤条件
Filters []*Filter `json:"Filters,omitempty" name:"Filters" list`
// 偏移量,默认为0
Offset *uint64 `json:"Offset,omitempty" name:"Offset"`
// 返回数量,默认为10,最大值为100
Limit *uint64 `json:"Limit,omitempty" name:"Limit"`
}
func NewDescribeSitesRequest ¶
func NewDescribeSitesRequest() (request *DescribeSitesRequest)
func (*DescribeSitesRequest) FromJsonString ¶
func (r *DescribeSitesRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeSitesRequest) ToJsonString ¶
func (r *DescribeSitesRequest) ToJsonString() string
type DescribeSitesResponse ¶
type DescribeSitesResponse struct {
*tchttp.BaseResponse
Response *struct {
// 站点数量。
TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"`
// 站点信息列表。
Sites []*Site `json:"Sites,omitempty" name:"Sites" list`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewDescribeSitesResponse ¶
func NewDescribeSitesResponse() (response *DescribeSitesResponse)
func (*DescribeSitesResponse) FromJsonString ¶
func (r *DescribeSitesResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeSitesResponse) ToJsonString ¶
func (r *DescribeSitesResponse) ToJsonString() string
type DescribeSitesVerificationRequest ¶
type DescribeSitesVerificationRequest struct {
*tchttp.BaseRequest
// 站点的url列表
Urls []*string `json:"Urls,omitempty" name:"Urls" list`
}
func NewDescribeSitesVerificationRequest ¶
func NewDescribeSitesVerificationRequest() (request *DescribeSitesVerificationRequest)
func (*DescribeSitesVerificationRequest) FromJsonString ¶
func (r *DescribeSitesVerificationRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeSitesVerificationRequest) ToJsonString ¶
func (r *DescribeSitesVerificationRequest) ToJsonString() string
type DescribeSitesVerificationResponse ¶
type DescribeSitesVerificationResponse struct {
*tchttp.BaseResponse
Response *struct {
// 验证信息数量。
TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"`
// 验证信息列表。
SitesVerification []*SitesVerification `json:"SitesVerification,omitempty" name:"SitesVerification" list`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewDescribeSitesVerificationResponse ¶
func NewDescribeSitesVerificationResponse() (response *DescribeSitesVerificationResponse)
func (*DescribeSitesVerificationResponse) FromJsonString ¶
func (r *DescribeSitesVerificationResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeSitesVerificationResponse) ToJsonString ¶
func (r *DescribeSitesVerificationResponse) ToJsonString() string
type DescribeVulsNumberRequest ¶
type DescribeVulsNumberRequest struct {
*tchttp.BaseRequest
}
func NewDescribeVulsNumberRequest ¶
func NewDescribeVulsNumberRequest() (request *DescribeVulsNumberRequest)
func (*DescribeVulsNumberRequest) FromJsonString ¶
func (r *DescribeVulsNumberRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeVulsNumberRequest) ToJsonString ¶
func (r *DescribeVulsNumberRequest) ToJsonString() string
type DescribeVulsNumberResponse ¶
type DescribeVulsNumberResponse struct {
*tchttp.BaseResponse
Response *struct {
// 受影响的网站总数。
ImpactSiteNumber *uint64 `json:"ImpactSiteNumber,omitempty" name:"ImpactSiteNumber"`
// 已验证的网站总数。
SiteNumber *uint64 `json:"SiteNumber,omitempty" name:"SiteNumber"`
// 高风险漏洞总数。
VulsHighNumber *uint64 `json:"VulsHighNumber,omitempty" name:"VulsHighNumber"`
// 中风险漏洞总数。
VulsMiddleNumber *uint64 `json:"VulsMiddleNumber,omitempty" name:"VulsMiddleNumber"`
// 低高风险漏洞总数。
VulsLowNumber *uint64 `json:"VulsLowNumber,omitempty" name:"VulsLowNumber"`
// 风险提示总数。
VulsNoticeNumber *uint64 `json:"VulsNoticeNumber,omitempty" name:"VulsNoticeNumber"`
// 扫描页面总数。
PageCount *uint64 `json:"PageCount,omitempty" name:"PageCount"`
// 已验证的网站列表。
Sites []*MonitorMiniSite `json:"Sites,omitempty" name:"Sites" list`
// 受影响的网站列表。
ImpactSites []*MonitorMiniSite `json:"ImpactSites,omitempty" name:"ImpactSites" list`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewDescribeVulsNumberResponse ¶
func NewDescribeVulsNumberResponse() (response *DescribeVulsNumberResponse)
func (*DescribeVulsNumberResponse) FromJsonString ¶
func (r *DescribeVulsNumberResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeVulsNumberResponse) ToJsonString ¶
func (r *DescribeVulsNumberResponse) ToJsonString() string
type DescribeVulsNumberTimelineRequest ¶
type DescribeVulsNumberTimelineRequest struct {
*tchttp.BaseRequest
}
func NewDescribeVulsNumberTimelineRequest ¶
func NewDescribeVulsNumberTimelineRequest() (request *DescribeVulsNumberTimelineRequest)
func (*DescribeVulsNumberTimelineRequest) FromJsonString ¶
func (r *DescribeVulsNumberTimelineRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeVulsNumberTimelineRequest) ToJsonString ¶
func (r *DescribeVulsNumberTimelineRequest) ToJsonString() string
type DescribeVulsNumberTimelineResponse ¶
type DescribeVulsNumberTimelineResponse struct {
*tchttp.BaseResponse
Response *struct {
// 统计数据记录数量。
TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"`
// 用户漏洞数随时间变化统计数据。
VulsTimeline []*VulsTimeline `json:"VulsTimeline,omitempty" name:"VulsTimeline" list`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewDescribeVulsNumberTimelineResponse ¶
func NewDescribeVulsNumberTimelineResponse() (response *DescribeVulsNumberTimelineResponse)
func (*DescribeVulsNumberTimelineResponse) FromJsonString ¶
func (r *DescribeVulsNumberTimelineResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeVulsNumberTimelineResponse) ToJsonString ¶
func (r *DescribeVulsNumberTimelineResponse) ToJsonString() string
type DescribeVulsRequest ¶
type DescribeVulsRequest struct {
*tchttp.BaseRequest
// 站点ID
SiteId *uint64 `json:"SiteId,omitempty" name:"SiteId"`
// 监控任务ID
MonitorId *uint64 `json:"MonitorId,omitempty" name:"MonitorId"`
// 过滤条件
Filters []*Filter `json:"Filters,omitempty" name:"Filters" list`
// 偏移量,默认为0
Offset *uint64 `json:"Offset,omitempty" name:"Offset"`
// 返回数量,默认为10,最大值为100
Limit *uint64 `json:"Limit,omitempty" name:"Limit"`
}
func NewDescribeVulsRequest ¶
func NewDescribeVulsRequest() (request *DescribeVulsRequest)
func (*DescribeVulsRequest) FromJsonString ¶
func (r *DescribeVulsRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeVulsRequest) ToJsonString ¶
func (r *DescribeVulsRequest) ToJsonString() string
type DescribeVulsResponse ¶
type DescribeVulsResponse struct {
*tchttp.BaseResponse
Response *struct {
// 漏洞数量。
TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"`
// 漏洞信息列表。
Vuls []*Vul `json:"Vuls,omitempty" name:"Vuls" list`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewDescribeVulsResponse ¶
func NewDescribeVulsResponse() (response *DescribeVulsResponse)
func (*DescribeVulsResponse) FromJsonString ¶
func (r *DescribeVulsResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeVulsResponse) ToJsonString ¶
func (r *DescribeVulsResponse) ToJsonString() string
type ModifyConfigAttributeRequest ¶
type ModifyConfigAttributeRequest struct {
*tchttp.BaseRequest
// 漏洞告警通知等级,4位分别代表:高危、中危、低危、提示
NoticeLevel *string `json:"NoticeLevel,omitempty" name:"NoticeLevel"`
}
func NewModifyConfigAttributeRequest ¶
func NewModifyConfigAttributeRequest() (request *ModifyConfigAttributeRequest)
func (*ModifyConfigAttributeRequest) FromJsonString ¶
func (r *ModifyConfigAttributeRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyConfigAttributeRequest) ToJsonString ¶
func (r *ModifyConfigAttributeRequest) ToJsonString() string
type ModifyConfigAttributeResponse ¶
type ModifyConfigAttributeResponse struct {
*tchttp.BaseResponse
Response *struct {
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewModifyConfigAttributeResponse ¶
func NewModifyConfigAttributeResponse() (response *ModifyConfigAttributeResponse)
func (*ModifyConfigAttributeResponse) FromJsonString ¶
func (r *ModifyConfigAttributeResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyConfigAttributeResponse) ToJsonString ¶
func (r *ModifyConfigAttributeResponse) ToJsonString() string
type ModifyMonitorAttributeRequest ¶
type ModifyMonitorAttributeRequest struct {
*tchttp.BaseRequest
// 监测任务ID
MonitorId *uint64 `json:"MonitorId,omitempty" name:"MonitorId"`
// 站点的url列表
Urls []*string `json:"Urls,omitempty" name:"Urls" list`
// 任务名称
Name *string `json:"Name,omitempty" name:"Name"`
// 扫描模式,normal-正常扫描;deep-深度扫描
ScannerType *string `json:"ScannerType,omitempty" name:"ScannerType"`
// 扫描周期,单位小时,每X小时执行一次
Crontab *uint64 `json:"Crontab,omitempty" name:"Crontab"`
// 扫描速率限制,每秒发送X个HTTP请求
RateLimit *uint64 `json:"RateLimit,omitempty" name:"RateLimit"`
// 首次扫描开始时间
FirstScanStartTime *string `json:"FirstScanStartTime,omitempty" name:"FirstScanStartTime"`
// 监测状态:1-监测中;2-暂停监测
MonitorStatus *uint64 `json:"MonitorStatus,omitempty" name:"MonitorStatus"`
}
func NewModifyMonitorAttributeRequest ¶
func NewModifyMonitorAttributeRequest() (request *ModifyMonitorAttributeRequest)
func (*ModifyMonitorAttributeRequest) FromJsonString ¶
func (r *ModifyMonitorAttributeRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyMonitorAttributeRequest) ToJsonString ¶
func (r *ModifyMonitorAttributeRequest) ToJsonString() string
type ModifyMonitorAttributeResponse ¶
type ModifyMonitorAttributeResponse struct {
*tchttp.BaseResponse
Response *struct {
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewModifyMonitorAttributeResponse ¶
func NewModifyMonitorAttributeResponse() (response *ModifyMonitorAttributeResponse)
func (*ModifyMonitorAttributeResponse) FromJsonString ¶
func (r *ModifyMonitorAttributeResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyMonitorAttributeResponse) ToJsonString ¶
func (r *ModifyMonitorAttributeResponse) ToJsonString() string
type ModifySiteAttributeRequest ¶
type ModifySiteAttributeRequest struct {
*tchttp.BaseRequest
// 站点ID
SiteId *uint64 `json:"SiteId,omitempty" name:"SiteId"`
// 站点名称
Name *string `json:"Name,omitempty" name:"Name"`
// 网站是否需要登录扫描:0-未知;-1-不需要;1-需要
NeedLogin *int64 `json:"NeedLogin,omitempty" name:"NeedLogin"`
// 登录后的cookie
LoginCookie *string `json:"LoginCookie,omitempty" name:"LoginCookie"`
// 用于测试cookie是否有效的URL
LoginCheckUrl *string `json:"LoginCheckUrl,omitempty" name:"LoginCheckUrl"`
// 用于测试cookie是否有效的关键字
LoginCheckKw *string `json:"LoginCheckKw,omitempty" name:"LoginCheckKw"`
// 禁止扫描器扫描的目录关键字
ScanDisallow *string `json:"ScanDisallow,omitempty" name:"ScanDisallow"`
}
func NewModifySiteAttributeRequest ¶
func NewModifySiteAttributeRequest() (request *ModifySiteAttributeRequest)
func (*ModifySiteAttributeRequest) FromJsonString ¶
func (r *ModifySiteAttributeRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifySiteAttributeRequest) ToJsonString ¶
func (r *ModifySiteAttributeRequest) ToJsonString() string
type ModifySiteAttributeResponse ¶
type ModifySiteAttributeResponse struct {
*tchttp.BaseResponse
Response *struct {
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewModifySiteAttributeResponse ¶
func NewModifySiteAttributeResponse() (response *ModifySiteAttributeResponse)
func (*ModifySiteAttributeResponse) FromJsonString ¶
func (r *ModifySiteAttributeResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifySiteAttributeResponse) ToJsonString ¶
func (r *ModifySiteAttributeResponse) ToJsonString() string
type Monitor ¶
type Monitor struct {
// 监控任务ID。
Id *uint64 `json:"Id,omitempty" name:"Id"`
// 监控名称。
Name *string `json:"Name,omitempty" name:"Name"`
// 监测状态:1-监测中;2-暂停监测。
MonitorStatus *uint64 `json:"MonitorStatus,omitempty" name:"MonitorStatus"`
// 监测模式,normal-正常扫描;deep-深度扫描。
ScannerType *string `json:"ScannerType,omitempty" name:"ScannerType"`
// 扫描周期,单位小时,每X小时执行一次。
Crontab *uint64 `json:"Crontab,omitempty" name:"Crontab"`
// 指定扫描类型,3位数每位依次表示:扫描Web漏洞、扫描系统漏洞、扫描系统端口。
IncludedVulsTypes *string `json:"IncludedVulsTypes,omitempty" name:"IncludedVulsTypes"`
// 速率限制,每秒发送X个HTTP请求。
RateLimit *uint64 `json:"RateLimit,omitempty" name:"RateLimit"`
// 首次扫描开始时间。
FirstScanStartTime *string `json:"FirstScanStartTime,omitempty" name:"FirstScanStartTime"`
// 扫描状态:0-待扫描(无任何扫描结果);1-扫描中(正在进行扫描);2-已扫描(有扫描结果且不正在扫描);3-扫描完成待同步结果。
ScanStatus *uint64 `json:"ScanStatus,omitempty" name:"ScanStatus"`
// 上一次扫描完成时间。
LastScanFinishTime *string `json:"LastScanFinishTime,omitempty" name:"LastScanFinishTime"`
// 当前扫描开始时间,如扫描完成则为上一次扫描的开始时间。
CurrentScanStartTime *string `json:"CurrentScanStartTime,omitempty" name:"CurrentScanStartTime"`
// CreatedAt。
CreatedAt *string `json:"CreatedAt,omitempty" name:"CreatedAt"`
// UpdatedAt。
UpdatedAt *string `json:"UpdatedAt,omitempty" name:"UpdatedAt"`
// 云用户appid。
Appid *uint64 `json:"Appid,omitempty" name:"Appid"`
// 扫描状态:0-待检测;1-检测完成
ContentScanStatus *uint64 `json:"ContentScanStatus,omitempty" name:"ContentScanStatus"`
}
type MonitorMiniSite ¶
type MonitorsDetail ¶
type MonitorsDetail struct {
// 监控任务基础信息。
Basic *Monitor `json:"Basic,omitempty" name:"Basic"`
// 监控任务包含的站点列表。
Sites []*MonitorMiniSite `json:"Sites,omitempty" name:"Sites" list`
// 监控任务包含的站点列表数量。
SiteNumber *uint64 `json:"SiteNumber,omitempty" name:"SiteNumber"`
// 监控任务包含的受漏洞威胁的站点列表。
ImpactSites []*MonitorMiniSite `json:"ImpactSites,omitempty" name:"ImpactSites" list`
// 监控任务包含的受漏洞威胁的站点列表数量。
ImpactSiteNumber *uint64 `json:"ImpactSiteNumber,omitempty" name:"ImpactSiteNumber"`
// 高风险漏洞数量。
VulsHighNumber *uint64 `json:"VulsHighNumber,omitempty" name:"VulsHighNumber"`
// 中风险漏洞数量。
VulsMiddleNumber *uint64 `json:"VulsMiddleNumber,omitempty" name:"VulsMiddleNumber"`
// 低风险漏洞数量。
VulsLowNumber *uint64 `json:"VulsLowNumber,omitempty" name:"VulsLowNumber"`
// 提示数量。
VulsNoticeNumber *uint64 `json:"VulsNoticeNumber,omitempty" name:"VulsNoticeNumber"`
// 监控任务包含的站点列表的平均扫描进度。
Progress *uint64 `json:"Progress,omitempty" name:"Progress"`
// 扫描页面总数。
PageCount *uint64 `json:"PageCount,omitempty" name:"PageCount"`
// 内容检测数量。
ContentNumber *uint64 `json:"ContentNumber,omitempty" name:"ContentNumber"`
}
type Site ¶
type Site struct {
// 站点ID。
Id *uint64 `json:"Id,omitempty" name:"Id"`
// 监控任务ID,为0时表示未加入监控任务。
MonitorId *uint64 `json:"MonitorId,omitempty" name:"MonitorId"`
// 站点url。
Url *string `json:"Url,omitempty" name:"Url"`
// 站点名称。
Name *string `json:"Name,omitempty" name:"Name"`
// 验证状态:0-未验证;1-已验证;2-验证失效,待重新验证。
VerifyStatus *uint64 `json:"VerifyStatus,omitempty" name:"VerifyStatus"`
// 监测状态:0-未监测;1-监测中;2-暂停监测。
MonitorStatus *uint64 `json:"MonitorStatus,omitempty" name:"MonitorStatus"`
// 扫描状态:0-待扫描(无任何扫描结果);1-扫描中(正在进行扫描);2-已扫描(有扫描结果且不正在扫描);3-扫描完成待同步结果。
ScanStatus *uint64 `json:"ScanStatus,omitempty" name:"ScanStatus"`
// 最近一次的AIScanner的扫描任务id,注意取消的情况。
LastScanTaskId *uint64 `json:"LastScanTaskId,omitempty" name:"LastScanTaskId"`
// 最近一次扫描开始时间。
LastScanStartTime *string `json:"LastScanStartTime,omitempty" name:"LastScanStartTime"`
// 最近一次扫描完成时间。
LastScanFinishTime *string `json:"LastScanFinishTime,omitempty" name:"LastScanFinishTime"`
// 最近一次取消时间,取消即使用上一次扫描结果。
LastScanCancelTime *string `json:"LastScanCancelTime,omitempty" name:"LastScanCancelTime"`
// 最近一次扫描扫描的页面数。
LastScanPageCount *uint64 `json:"LastScanPageCount,omitempty" name:"LastScanPageCount"`
// normal-正常扫描;deep-深度扫描。
LastScanScannerType *string `json:"LastScanScannerType,omitempty" name:"LastScanScannerType"`
// 最近一次扫描高风险漏洞数量。
LastScanVulsHighNum *uint64 `json:"LastScanVulsHighNum,omitempty" name:"LastScanVulsHighNum"`
// 最近一次扫描中风险漏洞数量。
LastScanVulsMiddleNum *uint64 `json:"LastScanVulsMiddleNum,omitempty" name:"LastScanVulsMiddleNum"`
// 最近一次扫描低风险漏洞数量。
LastScanVulsLowNum *uint64 `json:"LastScanVulsLowNum,omitempty" name:"LastScanVulsLowNum"`
// 最近一次扫描提示信息数量。
LastScanVulsNoticeNum *uint64 `json:"LastScanVulsNoticeNum,omitempty" name:"LastScanVulsNoticeNum"`
// 记录添加时间。
CreatedAt *string `json:"CreatedAt,omitempty" name:"CreatedAt"`
// 记录最近修改时间。
UpdatedAt *string `json:"UpdatedAt,omitempty" name:"UpdatedAt"`
// 速率限制,每秒发送X个HTTP请求。
LastScanRateLimit *uint64 `json:"LastScanRateLimit,omitempty" name:"LastScanRateLimit"`
// 最近一次扫描漏洞总数量。
LastScanVulsNum *uint64 `json:"LastScanVulsNum,omitempty" name:"LastScanVulsNum"`
// 最近一次扫描提示总数量
LastScanNoticeNum *uint64 `json:"LastScanNoticeNum,omitempty" name:"LastScanNoticeNum"`
// 扫描进度,百分比整数
Progress *uint64 `json:"Progress,omitempty" name:"Progress"`
// 云用户appid。
Appid *uint64 `json:"Appid,omitempty" name:"Appid"`
// 云用户标识。
Uin *string `json:"Uin,omitempty" name:"Uin"`
// 网站是否需要登录扫描:0-未知;-1-不需要;1-需要。
NeedLogin *int64 `json:"NeedLogin,omitempty" name:"NeedLogin"`
// 登录后的cookie。
LoginCookie *string `json:"LoginCookie,omitempty" name:"LoginCookie"`
// 登录后的cookie是否有效:0-无效;1-有效。
LoginCookieValid *uint64 `json:"LoginCookieValid,omitempty" name:"LoginCookieValid"`
// 用于测试cookie是否有效的URL。
LoginCheckUrl *string `json:"LoginCheckUrl,omitempty" name:"LoginCheckUrl"`
// 用于测试cookie是否有效的关键字。
LoginCheckKw *string `json:"LoginCheckKw,omitempty" name:"LoginCheckKw"`
// 禁止扫描器扫描的目录关键字。
ScanDisallow *string `json:"ScanDisallow,omitempty" name:"ScanDisallow"`
// 访问网站的客户端标识。
UserAgent *string `json:"UserAgent,omitempty" name:"UserAgent"`
// 内容检测状态:0-未检测;1-已检测;
ContentStatus *uint64 `json:"ContentStatus,omitempty" name:"ContentStatus"`
// 最近一次扫描内容检测数量
LastScanContentNum *uint64 `json:"LastScanContentNum,omitempty" name:"LastScanContentNum"`
}
type SitesVerification ¶
type SitesVerification struct {
// 根域名。
Domain *string `json:"Domain,omitempty" name:"Domain"`
// txt解析域名验证的name。
TxtName *string `json:"TxtName,omitempty" name:"TxtName"`
// txt解析域名验证的text。
TxtText *string `json:"TxtText,omitempty" name:"TxtText"`
// 验证有效期,在此之前有效。
ValidTo *string `json:"ValidTo,omitempty" name:"ValidTo"`
// 验证状态:0-未验证;1-已验证;2-验证失效,待重新验证。
VerifyStatus *uint64 `json:"VerifyStatus,omitempty" name:"VerifyStatus"`
// CreatedAt。
CreatedAt *string `json:"CreatedAt,omitempty" name:"CreatedAt"`
// UpdatedAt。
UpdatedAt *string `json:"UpdatedAt,omitempty" name:"UpdatedAt"`
// ID。
Id *uint64 `json:"Id,omitempty" name:"Id"`
// 云用户appid
Appid *uint64 `json:"Appid,omitempty" name:"Appid"`
// 用于验证站点的url,即访问该url获取验证数据。
VerifyUrl *string `json:"VerifyUrl,omitempty" name:"VerifyUrl"`
// 获取验证验证文件的url。
VerifyFileUrl *string `json:"VerifyFileUrl,omitempty" name:"VerifyFileUrl"`
}
type VerifySitesRequest ¶
type VerifySitesRequest struct {
*tchttp.BaseRequest
// 站点的url列表
Urls []*string `json:"Urls,omitempty" name:"Urls" list`
}
func NewVerifySitesRequest ¶
func NewVerifySitesRequest() (request *VerifySitesRequest)
func (*VerifySitesRequest) FromJsonString ¶
func (r *VerifySitesRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*VerifySitesRequest) ToJsonString ¶
func (r *VerifySitesRequest) ToJsonString() string
type VerifySitesResponse ¶
type VerifySitesResponse struct {
*tchttp.BaseResponse
Response *struct {
// 验证成功的根域名数量。
SuccessNumber *uint64 `json:"SuccessNumber,omitempty" name:"SuccessNumber"`
// 验证失败的根域名数量。
FailNumber *uint64 `json:"FailNumber,omitempty" name:"FailNumber"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewVerifySitesResponse ¶
func NewVerifySitesResponse() (response *VerifySitesResponse)
func (*VerifySitesResponse) FromJsonString ¶
func (r *VerifySitesResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*VerifySitesResponse) ToJsonString ¶
func (r *VerifySitesResponse) ToJsonString() string
type Vul ¶
type Vul struct {
// 漏洞ID。
Id *uint64 `json:"Id,omitempty" name:"Id"`
// 站点ID。
SiteId *uint64 `json:"SiteId,omitempty" name:"SiteId"`
// 扫描引擎的扫描任务ID。
TaskId *uint64 `json:"TaskId,omitempty" name:"TaskId"`
// 漏洞级别:high、middle、low、notice。
Level *string `json:"Level,omitempty" name:"Level"`
// 漏洞名称。
Name *string `json:"Name,omitempty" name:"Name"`
// 出现漏洞的url。
Url *string `json:"Url,omitempty" name:"Url"`
// 网址/细节。
Html *string `json:"Html,omitempty" name:"Html"`
// 漏洞类型。
Nickname *string `json:"Nickname,omitempty" name:"Nickname"`
// 危害说明。
Harm *string `json:"Harm,omitempty" name:"Harm"`
// 漏洞描述。
Describe *string `json:"Describe,omitempty" name:"Describe"`
// 解决方案。
Solution *string `json:"Solution,omitempty" name:"Solution"`
// 漏洞参考。
From *string `json:"From,omitempty" name:"From"`
// 漏洞通过该参数攻击。
Parameter *string `json:"Parameter,omitempty" name:"Parameter"`
// CreatedAt。
CreatedAt *string `json:"CreatedAt,omitempty" name:"CreatedAt"`
// UpdatedAt。
UpdatedAt *string `json:"UpdatedAt,omitempty" name:"UpdatedAt"`
// 是否已经添加误报,0-否,1-是。
IsReported *uint64 `json:"IsReported,omitempty" name:"IsReported"`
// 云用户appid。
Appid *uint64 `json:"Appid,omitempty" name:"Appid"`
// 云用户标识。
Uin *string `json:"Uin,omitempty" name:"Uin"`
}
type VulsTimeline ¶
type VulsTimeline struct {
// ID。
Id *uint64 `json:"Id,omitempty" name:"Id"`
// 云用户appid。
Appid *uint64 `json:"Appid,omitempty" name:"Appid"`
// 日期。
Date *string `json:"Date,omitempty" name:"Date"`
// 扫描页面总数量。
PageCount *uint64 `json:"PageCount,omitempty" name:"PageCount"`
// 已验证网站总数量。
SiteNum *uint64 `json:"SiteNum,omitempty" name:"SiteNum"`
// 受影响的网站总数量。
ImpactSiteNum *uint64 `json:"ImpactSiteNum,omitempty" name:"ImpactSiteNum"`
// 高危漏洞总数量。
VulsHighNum *uint64 `json:"VulsHighNum,omitempty" name:"VulsHighNum"`
// 中危漏洞总数量。
VulsMiddleNum *uint64 `json:"VulsMiddleNum,omitempty" name:"VulsMiddleNum"`
// 低危漏洞总数量。
VulsLowNum *uint64 `json:"VulsLowNum,omitempty" name:"VulsLowNum"`
// 风险提示总数量
VulsNoticeNum *uint64 `json:"VulsNoticeNum,omitempty" name:"VulsNoticeNum"`
// 记录添加时间。
CreatedAt *string `json:"CreatedAt,omitempty" name:"CreatedAt"`
// 记录最近修改时间。
UpdatedAt *string `json:"UpdatedAt,omitempty" name:"UpdatedAt"`
}