Documentation ¶
Index ¶
- Constants
- type AddNewBindRoleUserRequest
- type AddNewBindRoleUserRequestParams
- type AddNewBindRoleUserResponse
- type AddNewBindRoleUserResponseParams
- type AssetBaseInfoResponse
- type AssetClusterPod
- type AssetInfoDetail
- type AssetTag
- type AssetViewCFGRisk
- type AssetViewPortRisk
- type AssetViewVULRisk
- type AssetViewWeakPassRisk
- type BugInfoDetail
- type CVMAssetVO
- type ClbListenerListInfo
- type Client
- func (c *Client) AddNewBindRoleUser(request *AddNewBindRoleUserRequest) (response *AddNewBindRoleUserResponse, err error)
- func (c *Client) AddNewBindRoleUserWithContext(ctx context.Context, request *AddNewBindRoleUserRequest) (response *AddNewBindRoleUserResponse, err error)
- func (c *Client) CreateDomainAndIp(request *CreateDomainAndIpRequest) (response *CreateDomainAndIpResponse, err error)
- func (c *Client) CreateDomainAndIpWithContext(ctx context.Context, request *CreateDomainAndIpRequest) (response *CreateDomainAndIpResponse, err error)
- func (c *Client) CreateRiskCenterScanTask(request *CreateRiskCenterScanTaskRequest) (response *CreateRiskCenterScanTaskResponse, err error)
- func (c *Client) CreateRiskCenterScanTaskWithContext(ctx context.Context, request *CreateRiskCenterScanTaskRequest) (response *CreateRiskCenterScanTaskResponse, err error)
- func (c *Client) DeleteDomainAndIp(request *DeleteDomainAndIpRequest) (response *DeleteDomainAndIpResponse, err error)
- func (c *Client) DeleteDomainAndIpWithContext(ctx context.Context, request *DeleteDomainAndIpRequest) (response *DeleteDomainAndIpResponse, err error)
- func (c *Client) DeleteRiskScanTask(request *DeleteRiskScanTaskRequest) (response *DeleteRiskScanTaskResponse, err error)
- func (c *Client) DeleteRiskScanTaskWithContext(ctx context.Context, request *DeleteRiskScanTaskRequest) (response *DeleteRiskScanTaskResponse, err error)
- func (c *Client) DescribeCVMAssetInfo(request *DescribeCVMAssetInfoRequest) (response *DescribeCVMAssetInfoResponse, err error)
- func (c *Client) DescribeCVMAssetInfoWithContext(ctx context.Context, request *DescribeCVMAssetInfoRequest) (response *DescribeCVMAssetInfoResponse, err error)
- func (c *Client) DescribeCVMAssets(request *DescribeCVMAssetsRequest) (response *DescribeCVMAssetsResponse, err error)
- func (c *Client) DescribeCVMAssetsWithContext(ctx context.Context, request *DescribeCVMAssetsRequest) (response *DescribeCVMAssetsResponse, err error)
- func (c *Client) DescribeClusterPodAssets(request *DescribeClusterPodAssetsRequest) (response *DescribeClusterPodAssetsResponse, err error)
- func (c *Client) DescribeClusterPodAssetsWithContext(ctx context.Context, request *DescribeClusterPodAssetsRequest) (response *DescribeClusterPodAssetsResponse, err error)
- func (c *Client) DescribeDbAssetInfo(request *DescribeDbAssetInfoRequest) (response *DescribeDbAssetInfoResponse, err error)
- func (c *Client) DescribeDbAssetInfoWithContext(ctx context.Context, request *DescribeDbAssetInfoRequest) (response *DescribeDbAssetInfoResponse, err error)
- func (c *Client) DescribeDbAssets(request *DescribeDbAssetsRequest) (response *DescribeDbAssetsResponse, err error)
- func (c *Client) DescribeDbAssetsWithContext(ctx context.Context, request *DescribeDbAssetsRequest) (response *DescribeDbAssetsResponse, err error)
- func (c *Client) DescribeDomainAssets(request *DescribeDomainAssetsRequest) (response *DescribeDomainAssetsResponse, err error)
- func (c *Client) DescribeDomainAssetsWithContext(ctx context.Context, request *DescribeDomainAssetsRequest) (response *DescribeDomainAssetsResponse, err error)
- func (c *Client) DescribeListenerList(request *DescribeListenerListRequest) (response *DescribeListenerListResponse, err error)
- func (c *Client) DescribeListenerListWithContext(ctx context.Context, request *DescribeListenerListRequest) (response *DescribeListenerListResponse, err error)
- func (c *Client) DescribePublicIpAssets(request *DescribePublicIpAssetsRequest) (response *DescribePublicIpAssetsResponse, err error)
- func (c *Client) DescribePublicIpAssetsWithContext(ctx context.Context, request *DescribePublicIpAssetsRequest) (response *DescribePublicIpAssetsResponse, err error)
- func (c *Client) DescribeRiskCenterAssetViewCFGRiskList(request *DescribeRiskCenterAssetViewCFGRiskListRequest) (response *DescribeRiskCenterAssetViewCFGRiskListResponse, err error)
- func (c *Client) DescribeRiskCenterAssetViewCFGRiskListWithContext(ctx context.Context, request *DescribeRiskCenterAssetViewCFGRiskListRequest) (response *DescribeRiskCenterAssetViewCFGRiskListResponse, err error)
- func (c *Client) DescribeRiskCenterAssetViewPortRiskList(request *DescribeRiskCenterAssetViewPortRiskListRequest) (response *DescribeRiskCenterAssetViewPortRiskListResponse, err error)
- func (c *Client) DescribeRiskCenterAssetViewPortRiskListWithContext(ctx context.Context, request *DescribeRiskCenterAssetViewPortRiskListRequest) (response *DescribeRiskCenterAssetViewPortRiskListResponse, err error)
- func (c *Client) DescribeRiskCenterAssetViewVULRiskList(request *DescribeRiskCenterAssetViewVULRiskListRequest) (response *DescribeRiskCenterAssetViewVULRiskListResponse, err error)
- func (c *Client) DescribeRiskCenterAssetViewVULRiskListWithContext(ctx context.Context, request *DescribeRiskCenterAssetViewVULRiskListRequest) (response *DescribeRiskCenterAssetViewVULRiskListResponse, err error)
- func (c *Client) DescribeRiskCenterAssetViewWeakPasswordRiskList(request *DescribeRiskCenterAssetViewWeakPasswordRiskListRequest) (response *DescribeRiskCenterAssetViewWeakPasswordRiskListResponse, err error)
- func (c *Client) DescribeRiskCenterAssetViewWeakPasswordRiskListWithContext(ctx context.Context, ...) (response *DescribeRiskCenterAssetViewWeakPasswordRiskListResponse, err error)
- func (c *Client) DescribeRiskCenterPortViewPortRiskList(request *DescribeRiskCenterPortViewPortRiskListRequest) (response *DescribeRiskCenterPortViewPortRiskListResponse, err error)
- func (c *Client) DescribeRiskCenterPortViewPortRiskListWithContext(ctx context.Context, request *DescribeRiskCenterPortViewPortRiskListRequest) (response *DescribeRiskCenterPortViewPortRiskListResponse, err error)
- func (c *Client) DescribeRiskCenterServerRiskList(request *DescribeRiskCenterServerRiskListRequest) (response *DescribeRiskCenterServerRiskListResponse, err error)
- func (c *Client) DescribeRiskCenterServerRiskListWithContext(ctx context.Context, request *DescribeRiskCenterServerRiskListRequest) (response *DescribeRiskCenterServerRiskListResponse, err error)
- func (c *Client) DescribeRiskCenterVULViewVULRiskList(request *DescribeRiskCenterVULViewVULRiskListRequest) (response *DescribeRiskCenterVULViewVULRiskListResponse, err error)
- func (c *Client) DescribeRiskCenterVULViewVULRiskListWithContext(ctx context.Context, request *DescribeRiskCenterVULViewVULRiskListRequest) (response *DescribeRiskCenterVULViewVULRiskListResponse, err error)
- func (c *Client) DescribeRiskCenterWebsiteRiskList(request *DescribeRiskCenterWebsiteRiskListRequest) (response *DescribeRiskCenterWebsiteRiskListResponse, err error)
- func (c *Client) DescribeRiskCenterWebsiteRiskListWithContext(ctx context.Context, request *DescribeRiskCenterWebsiteRiskListRequest) (response *DescribeRiskCenterWebsiteRiskListResponse, err error)
- func (c *Client) DescribeScanReportList(request *DescribeScanReportListRequest) (response *DescribeScanReportListResponse, err error)
- func (c *Client) DescribeScanReportListWithContext(ctx context.Context, request *DescribeScanReportListRequest) (response *DescribeScanReportListResponse, err error)
- func (c *Client) DescribeScanTaskList(request *DescribeScanTaskListRequest) (response *DescribeScanTaskListResponse, err error)
- func (c *Client) DescribeScanTaskListWithContext(ctx context.Context, request *DescribeScanTaskListRequest) (response *DescribeScanTaskListResponse, err error)
- func (c *Client) DescribeSearchBugInfo(request *DescribeSearchBugInfoRequest) (response *DescribeSearchBugInfoResponse, err error)
- func (c *Client) DescribeSearchBugInfoWithContext(ctx context.Context, request *DescribeSearchBugInfoRequest) (response *DescribeSearchBugInfoResponse, err error)
- func (c *Client) DescribeSubnetAssets(request *DescribeSubnetAssetsRequest) (response *DescribeSubnetAssetsResponse, err error)
- func (c *Client) DescribeSubnetAssetsWithContext(ctx context.Context, request *DescribeSubnetAssetsRequest) (response *DescribeSubnetAssetsResponse, err error)
- func (c *Client) DescribeTaskLogList(request *DescribeTaskLogListRequest) (response *DescribeTaskLogListResponse, err error)
- func (c *Client) DescribeTaskLogListWithContext(ctx context.Context, request *DescribeTaskLogListRequest) (response *DescribeTaskLogListResponse, err error)
- func (c *Client) DescribeTaskLogURL(request *DescribeTaskLogURLRequest) (response *DescribeTaskLogURLResponse, err error)
- func (c *Client) DescribeTaskLogURLWithContext(ctx context.Context, request *DescribeTaskLogURLRequest) (response *DescribeTaskLogURLResponse, err error)
- func (c *Client) DescribeVULRiskAdvanceCFGList(request *DescribeVULRiskAdvanceCFGListRequest) (response *DescribeVULRiskAdvanceCFGListResponse, err error)
- func (c *Client) DescribeVULRiskAdvanceCFGListWithContext(ctx context.Context, request *DescribeVULRiskAdvanceCFGListRequest) (response *DescribeVULRiskAdvanceCFGListResponse, err error)
- func (c *Client) DescribeVpcAssets(request *DescribeVpcAssetsRequest) (response *DescribeVpcAssetsResponse, err error)
- func (c *Client) DescribeVpcAssetsWithContext(ctx context.Context, request *DescribeVpcAssetsRequest) (response *DescribeVpcAssetsResponse, err error)
- func (c *Client) ModifyRiskCenterRiskStatus(request *ModifyRiskCenterRiskStatusRequest) (response *ModifyRiskCenterRiskStatusResponse, err error)
- func (c *Client) ModifyRiskCenterRiskStatusWithContext(ctx context.Context, request *ModifyRiskCenterRiskStatusRequest) (response *ModifyRiskCenterRiskStatusResponse, err error)
- func (c *Client) StopRiskCenterTask(request *StopRiskCenterTaskRequest) (response *StopRiskCenterTaskResponse, err error)
- func (c *Client) StopRiskCenterTaskWithContext(ctx context.Context, request *StopRiskCenterTaskRequest) (response *StopRiskCenterTaskResponse, err error)
- type CreateDomainAndIpRequest
- type CreateDomainAndIpRequestParams
- type CreateDomainAndIpResponse
- type CreateDomainAndIpResponseParams
- type CreateRiskCenterScanTaskRequest
- type CreateRiskCenterScanTaskRequestParams
- type CreateRiskCenterScanTaskResponse
- type CreateRiskCenterScanTaskResponseParams
- type DBAssetVO
- type DataSearchBug
- type DbAssetInfo
- type DeleteDomainAndIpRequest
- type DeleteDomainAndIpRequestParams
- type DeleteDomainAndIpResponse
- type DeleteDomainAndIpResponseParams
- type DeleteRiskScanTaskRequest
- type DeleteRiskScanTaskRequestParams
- type DeleteRiskScanTaskResponse
- type DeleteRiskScanTaskResponseParams
- type DescribeCVMAssetInfoRequest
- type DescribeCVMAssetInfoRequestParams
- type DescribeCVMAssetInfoResponse
- type DescribeCVMAssetInfoResponseParams
- type DescribeCVMAssetsRequest
- type DescribeCVMAssetsRequestParams
- type DescribeCVMAssetsResponse
- type DescribeCVMAssetsResponseParams
- type DescribeClusterPodAssetsRequest
- type DescribeClusterPodAssetsRequestParams
- type DescribeClusterPodAssetsResponse
- type DescribeClusterPodAssetsResponseParams
- type DescribeDbAssetInfoRequest
- type DescribeDbAssetInfoRequestParams
- type DescribeDbAssetInfoResponse
- type DescribeDbAssetInfoResponseParams
- type DescribeDbAssetsRequest
- type DescribeDbAssetsRequestParams
- type DescribeDbAssetsResponse
- type DescribeDbAssetsResponseParams
- type DescribeDomainAssetsRequest
- type DescribeDomainAssetsRequestParams
- type DescribeDomainAssetsResponse
- type DescribeDomainAssetsResponseParams
- type DescribeListenerListRequest
- type DescribeListenerListRequestParams
- type DescribeListenerListResponse
- type DescribeListenerListResponseParams
- type DescribePublicIpAssetsRequest
- type DescribePublicIpAssetsRequestParams
- type DescribePublicIpAssetsResponse
- type DescribePublicIpAssetsResponseParams
- type DescribeRiskCenterAssetViewCFGRiskListRequest
- type DescribeRiskCenterAssetViewCFGRiskListRequestParams
- type DescribeRiskCenterAssetViewCFGRiskListResponse
- type DescribeRiskCenterAssetViewCFGRiskListResponseParams
- type DescribeRiskCenterAssetViewPortRiskListRequest
- type DescribeRiskCenterAssetViewPortRiskListRequestParams
- type DescribeRiskCenterAssetViewPortRiskListResponse
- type DescribeRiskCenterAssetViewPortRiskListResponseParams
- type DescribeRiskCenterAssetViewVULRiskListRequest
- type DescribeRiskCenterAssetViewVULRiskListRequestParams
- type DescribeRiskCenterAssetViewVULRiskListResponse
- type DescribeRiskCenterAssetViewVULRiskListResponseParams
- type DescribeRiskCenterAssetViewWeakPasswordRiskListRequest
- type DescribeRiskCenterAssetViewWeakPasswordRiskListRequestParams
- type DescribeRiskCenterAssetViewWeakPasswordRiskListResponse
- type DescribeRiskCenterAssetViewWeakPasswordRiskListResponseParams
- type DescribeRiskCenterPortViewPortRiskListRequest
- type DescribeRiskCenterPortViewPortRiskListRequestParams
- type DescribeRiskCenterPortViewPortRiskListResponse
- type DescribeRiskCenterPortViewPortRiskListResponseParams
- type DescribeRiskCenterServerRiskListRequest
- type DescribeRiskCenterServerRiskListRequestParams
- type DescribeRiskCenterServerRiskListResponse
- type DescribeRiskCenterServerRiskListResponseParams
- type DescribeRiskCenterVULViewVULRiskListRequest
- type DescribeRiskCenterVULViewVULRiskListRequestParams
- type DescribeRiskCenterVULViewVULRiskListResponse
- type DescribeRiskCenterVULViewVULRiskListResponseParams
- type DescribeRiskCenterWebsiteRiskListRequest
- type DescribeRiskCenterWebsiteRiskListRequestParams
- type DescribeRiskCenterWebsiteRiskListResponse
- type DescribeRiskCenterWebsiteRiskListResponseParams
- type DescribeScanReportListRequest
- type DescribeScanReportListRequestParams
- type DescribeScanReportListResponse
- type DescribeScanReportListResponseParams
- type DescribeScanTaskListRequest
- type DescribeScanTaskListRequestParams
- type DescribeScanTaskListResponse
- type DescribeScanTaskListResponseParams
- type DescribeSearchBugInfoRequest
- type DescribeSearchBugInfoRequestParams
- type DescribeSearchBugInfoResponse
- type DescribeSearchBugInfoResponseParams
- type DescribeSubnetAssetsRequest
- type DescribeSubnetAssetsRequestParams
- type DescribeSubnetAssetsResponse
- type DescribeSubnetAssetsResponseParams
- type DescribeTaskLogListRequest
- type DescribeTaskLogListRequestParams
- type DescribeTaskLogListResponse
- type DescribeTaskLogListResponseParams
- type DescribeTaskLogURLRequest
- type DescribeTaskLogURLRequestParams
- type DescribeTaskLogURLResponse
- type DescribeTaskLogURLResponseParams
- type DescribeVULRiskAdvanceCFGListRequest
- type DescribeVULRiskAdvanceCFGListRequestParams
- type DescribeVULRiskAdvanceCFGListResponse
- type DescribeVULRiskAdvanceCFGListResponseParams
- type DescribeVpcAssetsRequest
- type DescribeVpcAssetsRequestParams
- type DescribeVpcAssetsResponse
- type DescribeVpcAssetsResponseParams
- type DomainAssetVO
- type Filter
- type FilterDataObject
- type IpAssetListVO
- type ModifyRiskCenterRiskStatusRequest
- type ModifyRiskCenterRiskStatusRequestParams
- type ModifyRiskCenterRiskStatusResponse
- type ModifyRiskCenterRiskStatusResponseParams
- type PortViewPortRisk
- type PublicIpDomainListKey
- type ReportItemKey
- type ReportTaskIdList
- type RiskCenterStatusKey
- type ScanTaskInfo
- type ScanTaskInfoList
- type ServerRisk
- type ServerRiskSuggestion
- type StopRiskCenterTaskRequest
- type StopRiskCenterTaskRequestParams
- type StopRiskCenterTaskResponse
- type StopRiskCenterTaskResponseParams
- type SubnetAsset
- type Tag
- type Tags
- type TaskAdvanceCFG
- type TaskAssetObject
- type TaskCenterCFGRiskInputParam
- type TaskCenterVulRiskInputParam
- type TaskCenterWeakPwdRiskInputParam
- type TaskIdListKey
- type TaskLogInfo
- type TaskLogURL
- type VULRiskAdvanceCFGList
- type VULViewVULRisk
- type Vpc
- type WebsiteRisk
- type WhereFilter
Constants ¶
const ( // CAM signature/authentication error. AUTHFAILURE = "AuthFailure" // The request would have succeeded, but the DryRun parameter was used. DRYRUNOPERATION = "DryRunOperation" // Operation failed. FAILEDOPERATION = "FailedOperation" // An internal error occurs. INTERNALERROR = "InternalError" // INVALIDFILTER = "InvalidFilter" // The parameter is incorrect. INVALIDPARAMETER = "InvalidParameter" // Decrypt error INVALIDPARAMETER_DECRYPTERROR = "InvalidParameter.DecryptError" // Invalid parameter value. INVALIDPARAMETERVALUE = "InvalidParameterValue" // The quota limit is reached. LIMITEXCEEDED = "LimitExceeded" // Missing parameters. MISSINGPARAMETER = "MissingParameter" // Operation denied. OPERATIONDENIED = "OperationDenied" // REGIONERROR = "RegionError" // Too many requests. REQUESTLIMITEXCEEDED = "RequestLimitExceeded" // Occupied resource RESOURCEINUSE = "ResourceInUse" // Resources are insufficient. RESOURCEINSUFFICIENT = "ResourceInsufficient" // The resource doesn't exist. RESOURCENOTFOUND = "ResourceNotFound" // The resource is unavailable RESOURCEUNAVAILABLE = "ResourceUnavailable" // The resources have been sold out. RESOURCESSOLDOUT = "ResourcesSoldOut" // The operation is unauthorized. UNAUTHORIZEDOPERATION = "UnauthorizedOperation" // UNAUTHORIZEDOPERATION_CLOUDAUDIT = "UnauthorizedOperation.CloudAudit" // UNAUTHORIZEDOPERATION_COS = "UnauthorizedOperation.Cos" // The parameter is unknown. UNKNOWNPARAMETER = "UnknownParameter" // The operation is not supported. UNSUPPORTEDOPERATION = "UnsupportedOperation" )
const APIVersion = "2022-11-21"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AddNewBindRoleUserRequest ¶
type AddNewBindRoleUserRequest struct {
*tchttp.BaseRequest
}
func NewAddNewBindRoleUserRequest ¶
func NewAddNewBindRoleUserRequest() (request *AddNewBindRoleUserRequest)
func (*AddNewBindRoleUserRequest) FromJsonString ¶
func (r *AddNewBindRoleUserRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*AddNewBindRoleUserRequest) ToJsonString ¶
func (r *AddNewBindRoleUserRequest) ToJsonString() string
type AddNewBindRoleUserRequestParams ¶
type AddNewBindRoleUserRequestParams struct { }
Predefined struct for user
type AddNewBindRoleUserResponse ¶
type AddNewBindRoleUserResponse struct { *tchttp.BaseResponse Response *AddNewBindRoleUserResponseParams `json:"Response"` }
func NewAddNewBindRoleUserResponse ¶
func NewAddNewBindRoleUserResponse() (response *AddNewBindRoleUserResponse)
func (*AddNewBindRoleUserResponse) FromJsonString ¶
func (r *AddNewBindRoleUserResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*AddNewBindRoleUserResponse) ToJsonString ¶
func (r *AddNewBindRoleUserResponse) ToJsonString() string
type AddNewBindRoleUserResponseParams ¶
type AddNewBindRoleUserResponseParams struct { // `0`: successful. Other values: failed. Status *int64 `json:"Status,omitnil,omitempty" name:"Status"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type AssetBaseInfoResponse ¶
type AssetBaseInfoResponse struct { VpcId *string `json:"VpcId,omitnil,omitempty" name:"VpcId"` // vpc-name // Note: This field may return·null, indicating that no valid values can be obtained. VpcName *string `json:"VpcName,omitnil,omitempty" name:"VpcName"` // Asset name // Note: This field may return·null, indicating that no valid values can be obtained. AssetName *string `json:"AssetName,omitnil,omitempty" name:"AssetName"` // Operating system // Note: This field may return·null, indicating that no valid values can be obtained. Os *string `json:"Os,omitnil,omitempty" name:"Os"` // Public IP // Note: This field may return·null, indicating that no valid values can be obtained. PublicIp *string `json:"PublicIp,omitnil,omitempty" name:"PublicIp"` // Private IP // Note: This field may return·null, indicating that no valid values can be obtained. PrivateIp *string `json:"PrivateIp,omitnil,omitempty" name:"PrivateIp"` // Region // Note: This field may return·null, indicating that no valid values can be obtained. Region *string `json:"Region,omitnil,omitempty" name:"Region"` // Asset type // Note: This field may return·null, indicating that no valid values can be obtained. AssetType *string `json:"AssetType,omitnil,omitempty" name:"AssetType"` // Asset ID // Note: This field may return·null, indicating that no valid values can be obtained. AssetId *string `json:"AssetId,omitnil,omitempty" name:"AssetId"` // Total number of accounts // Note: This field may return·null, indicating that no valid values can be obtained. AccountNum *uint64 `json:"AccountNum,omitnil,omitempty" name:"AccountNum"` // Number of ports // Note: This field may return·null, indicating that no valid values can be obtained. PortNum *uint64 `json:"PortNum,omitnil,omitempty" name:"PortNum"` // Number of processes // Note: This field may return·null, indicating that no valid values can be obtained. ProcessNum *uint64 `json:"ProcessNum,omitnil,omitempty" name:"ProcessNum"` // Numbernumb of software applications // Note: This field may return·null, indicating that no valid values can be obtained. SoftApplicationNum *uint64 `json:"SoftApplicationNum,omitnil,omitempty" name:"SoftApplicationNum"` // Number of databases // Note: This field may return·null, indicating that no valid values can be obtained. DatabaseNum *uint64 `json:"DatabaseNum,omitnil,omitempty" name:"DatabaseNum"` // Number of web applications // Note: This field may return·null, indicating that no valid values can be obtained. WebApplicationNum *uint64 `json:"WebApplicationNum,omitnil,omitempty" name:"WebApplicationNum"` // Number of services // Note: This field may return·null, indicating that no valid values can be obtained. ServiceNum *uint64 `json:"ServiceNum,omitnil,omitempty" name:"ServiceNum"` // Number of web frameworks // Note: This field may return·null, indicating that no valid values can be obtained. WebFrameworkNum *uint64 `json:"WebFrameworkNum,omitnil,omitempty" name:"WebFrameworkNum"` // Number of websites // Note: This field may return·null, indicating that no valid values can be obtained. WebSiteNum *uint64 `json:"WebSiteNum,omitnil,omitempty" name:"WebSiteNum"` // Number of JAR packages // Note: This field may return·null, indicating that no valid values can be obtained. JarPackageNum *uint64 `json:"JarPackageNum,omitnil,omitempty" name:"JarPackageNum"` // Number of enabled services // Note: This field may return·null, indicating that no valid values can be obtained. StartServiceNum *uint64 `json:"StartServiceNum,omitnil,omitempty" name:"StartServiceNum"` // Number of scheduled tasks // Note: This field may return·null, indicating that no valid values can be obtained. ScheduledTaskNum *uint64 `json:"ScheduledTaskNum,omitnil,omitempty" name:"ScheduledTaskNum"` // Number of environment variables // Note: This field may return·null, indicating that no valid values can be obtained. EnvironmentVariableNum *uint64 `json:"EnvironmentVariableNum,omitnil,omitempty" name:"EnvironmentVariableNum"` // Number of kernel modules // Note: This field may return·null, indicating that no valid values can be obtained. KernelModuleNum *uint64 `json:"KernelModuleNum,omitnil,omitempty" name:"KernelModuleNum"` // Number of system installation packages // Note: This field may return·null, indicating that no valid values can be obtained. SystemInstallationPackageNum *uint64 `json:"SystemInstallationPackageNum,omitnil,omitempty" name:"SystemInstallationPackageNum"` // Remaining service validity in days // Note: This field may return·null, indicating that no valid values can be obtained. SurplusProtectDay *uint64 `json:"SurplusProtectDay,omitnil,omitempty" name:"SurplusProtectDay"` // Whether the CWPP agent is installed. Values: `1` (installed) and `0` (not installed) // Note: This field may return·null, indicating that no valid values can be obtained. CWPStatus *uint64 `json:"CWPStatus,omitnil,omitempty" name:"CWPStatus"` // Tags // Note: This field may return·null, indicating that no valid values can be obtained. Tag []*Tag `json:"Tag,omitnil,omitempty" name:"Tag"` // Protection level // Note: This field may return·null, indicating that no valid values can be obtained. ProtectLevel *string `json:"ProtectLevel,omitnil,omitempty" name:"ProtectLevel"` // Usage of CWPP service in days // Note: This field may return·null, indicating that no valid values can be obtained. ProtectedDay *uint64 `json:"ProtectedDay,omitnil,omitempty" name:"ProtectedDay"` }
type AssetClusterPod ¶
type AssetClusterPod struct { // Tenant ID AppId *int64 `json:"AppId,omitnil,omitempty" name:"AppId"` // Tenant UIN Uin *string `json:"Uin,omitnil,omitempty" name:"Uin"` // Tenant name Nick *string `json:"Nick,omitnil,omitempty" name:"Nick"` // Region // Note: This field may return·null, indicating that no valid values can be obtained. Region *string `json:"Region,omitnil,omitempty" name:"Region"` // Pod ID AssetId *string `json:"AssetId,omitnil,omitempty" name:"AssetId"` // Pod name AssetName *string `json:"AssetName,omitnil,omitempty" name:"AssetName"` // Creation time of the pod // Note: This field may return·null, indicating that no valid values can be obtained. InstanceCreateTime *string `json:"InstanceCreateTime,omitnil,omitempty" name:"InstanceCreateTime"` // Namespace // Note: This field may return·null, indicating that no valid values can be obtained. Namespace *string `json:"Namespace,omitnil,omitempty" name:"Namespace"` // Status // Note: This field may return·null, indicating that no valid values can be obtained. Status *string `json:"Status,omitnil,omitempty" name:"Status"` // Cluster ID // Note: This field may return·null, indicating that no valid values can be obtained. ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"` // Cluster name // Note: This field may return·null, indicating that no valid values can be obtained. ClusterName *string `json:"ClusterName,omitnil,omitempty" name:"ClusterName"` // Server ID // Note: This field may return·null, indicating that no valid values can be obtained. MachineId *string `json:"MachineId,omitnil,omitempty" name:"MachineId"` // Server name // Note: This field may return·null, indicating that no valid values can be obtained. MachineName *string `json:"MachineName,omitnil,omitempty" name:"MachineName"` // Pod IP // Note: This field may return·null, indicating that no valid values can be obtained. PodIp *string `json:"PodIp,omitnil,omitempty" name:"PodIp"` // Number of associated services // Note: This field may return·null, indicating that no valid values can be obtained. ServiceCount *int64 `json:"ServiceCount,omitnil,omitempty" name:"ServiceCount"` // Number of associated containers // Note: This field may return·null, indicating that no valid values can be obtained. ContainerCount *int64 `json:"ContainerCount,omitnil,omitempty" name:"ContainerCount"` // Public IP // Note: This field may return·null, indicating that no valid values can be obtained. PublicIp *string `json:"PublicIp,omitnil,omitempty" name:"PublicIp"` // Private IP // Note: This field may return·null, indicating that no valid values can be obtained. PrivateIp *string `json:"PrivateIp,omitnil,omitempty" name:"PrivateIp"` // Whether it's a critical asset. Values: `1` (critical asset), `0` (non-critical asset) // Note: This field may return·null, indicating that no valid values can be obtained. IsCore *int64 `json:"IsCore,omitnil,omitempty" name:"IsCore"` // Whether it's a newly-added asset. Values: `1` (Yes), `0` (No) // Note: This field may return·null, indicating that no valid values can be obtained. IsNewAsset *uint64 `json:"IsNewAsset,omitnil,omitempty" name:"IsNewAsset"` }
type AssetInfoDetail ¶
type AssetInfoDetail struct { // AppID of the user // Note: This field may return·null, indicating that no valid values can be obtained. AppID *string `json:"AppID,omitnil,omitempty" name:"AppID"` // CVE number // Note: This field may return·null, indicating that no valid values can be obtained. CVEId *string `json:"CVEId,omitnil,omitempty" name:"CVEId"` // Whether the asset is scanned. Values: `0`: (default) Not scanned; `1`: Scanning; `2`: Scan completed; `3`: Error while scanning // Note: This field may return·null, indicating that no valid values can be obtained. IsScan *int64 `json:"IsScan,omitnil,omitempty" name:"IsScan"` // Number of affected assets // Note: This field may return·null, indicating that no valid values can be obtained. InfluenceAsset *int64 `json:"InfluenceAsset,omitnil,omitempty" name:"InfluenceAsset"` // Number of not fixed assets // Note: This field may return·null, indicating that no valid values can be obtained. NotRepairAsset *int64 `json:"NotRepairAsset,omitnil,omitempty" name:"NotRepairAsset"` // Number of not protected assets // Note: This field may return·null, indicating that no valid values can be obtained. NotProtectAsset *int64 `json:"NotProtectAsset,omitnil,omitempty" name:"NotProtectAsset"` // Task ID // Note: This field may return·null, indicating that no valid values can be obtained. TaskId *string `json:"TaskId,omitnil,omitempty" name:"TaskId"` // Task progress in terms of percentage // Note: This field may return·null, indicating that no valid values can be obtained. TaskPercent *int64 `json:"TaskPercent,omitnil,omitempty" name:"TaskPercent"` // Task creation time // Note: This field may return·null, indicating that no valid values can be obtained. TaskTime *int64 `json:"TaskTime,omitnil,omitempty" name:"TaskTime"` // Scan start time // Note: This field may return·null, indicating that no valid values can be obtained. ScanTime *string `json:"ScanTime,omitnil,omitempty" name:"ScanTime"` }
type AssetTag ¶
type AssetTag struct { // Tag key. It supports alphanumeric characters and underscores (_). // Note: This field may return·null, indicating that no valid values can be obtained. TagKey *string `json:"TagKey,omitnil,omitempty" name:"TagKey"` // Tag value. It supports alphanumeric characters and underscores (_). // Note: This field may return·null, indicating that no valid values can be obtained. TagValue *string `json:"TagValue,omitnil,omitempty" name:"TagValue"` }
type AssetViewCFGRisk ¶
type AssetViewCFGRisk struct { // The unique ID. Id *string `json:"Id,omitnil,omitempty" name:"Id"` // Configuration name CFGName *string `json:"CFGName,omitnil,omitempty" name:"CFGName"` // Check type CheckType *string `json:"CheckType,omitnil,omitempty" name:"CheckType"` // Instance ID InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // Instance name InstanceName *string `json:"InstanceName,omitnil,omitempty" name:"InstanceName"` // Instance type InstanceType *string `json:"InstanceType,omitnil,omitempty" name:"InstanceType"` // Affected assets AffectAsset *string `json:"AffectAsset,omitnil,omitempty" name:"AffectAsset"` // Risk level Level *string `json:"Level,omitnil,omitempty" name:"Level"` // First detected FirstTime *string `json:"FirstTime,omitnil,omitempty" name:"FirstTime"` // Last detected RecentTime *string `json:"RecentTime,omitnil,omitempty" name:"RecentTime"` // Source of the task From *string `json:"From,omitnil,omitempty" name:"From"` // Status Status *int64 `json:"Status,omitnil,omitempty" name:"Status"` // u200c- CFGSTD *string `json:"CFGSTD,omitnil,omitempty" name:"CFGSTD"` // Configuration details. CFGDescribe *string `json:"CFGDescribe,omitnil,omitempty" name:"CFGDescribe"` // Fix suggestion CFGFix *string `json:"CFGFix,omitnil,omitempty" name:"CFGFix"` // URL of the help documentation CFGHelpURL *string `json:"CFGHelpURL,omitnil,omitempty" name:"CFGHelpURL"` // Data entry key Index *string `json:"Index,omitnil,omitempty" name:"Index"` // User AppId AppId *string `json:"AppId,omitnil,omitempty" name:"AppId"` // User name. // Note: This field may return·null, indicating that no valid values can be obtained. Nick *string `json:"Nick,omitnil,omitempty" name:"Nick"` // User UIN // Note: This field may return·null, indicating that no valid values can be obtained. Uin *string `json:"Uin,omitnil,omitempty" name:"Uin"` }
type AssetViewPortRisk ¶
type AssetViewPortRisk struct { // Port Port *uint64 `json:"Port,omitnil,omitempty" name:"Port"` // Affected assets AffectAsset *string `json:"AffectAsset,omitnil,omitempty" name:"AffectAsset"` // Risk level Level *string `json:"Level,omitnil,omitempty" name:"Level"` // Asset type InstanceType *string `json:"InstanceType,omitnil,omitempty" name:"InstanceType"` // Network protocol Protocol *string `json:"Protocol,omitnil,omitempty" name:"Protocol"` // Components Component *string `json:"Component,omitnil,omitempty" name:"Component"` // Service Service *string `json:"Service,omitnil,omitempty" name:"Service"` // Last detected RecentTime *string `json:"RecentTime,omitnil,omitempty" name:"RecentTime"` // First detected FirstTime *string `json:"FirstTime,omitnil,omitempty" name:"FirstTime"` // Suggested action. `0`: Keep as it is; `1`: Block access requests; `2`: Block the port Suggestion *uint64 `json:"Suggestion,omitnil,omitempty" name:"Suggestion"` // Status of the risk. `0`: Not handled, `1`: Handled; `2`: Ignored Status *uint64 `json:"Status,omitnil,omitempty" name:"Status"` // Unique ID of the asset Id *string `json:"Id,omitnil,omitempty" name:"Id"` // Frontend index Index *string `json:"Index,omitnil,omitempty" name:"Index"` // Instance ID InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // Instance name InstanceName *string `json:"InstanceName,omitnil,omitempty" name:"InstanceName"` // User `appid` AppId *string `json:"AppId,omitnil,omitempty" name:"AppId"` // User name. // Note: This field may return·null, indicating that no valid values can be obtained. Nick *string `json:"Nick,omitnil,omitempty" name:"Nick"` // User `uin` // Note: This field may return·null, indicating that no valid values can be obtained. Uin *string `json:"Uin,omitnil,omitempty" name:"Uin"` // Source of the task From *string `json:"From,omitnil,omitempty" name:"From"` }
type AssetViewVULRisk ¶
type AssetViewVULRisk struct { // Affected assets AffectAsset *string `json:"AffectAsset,omitnil,omitempty" name:"AffectAsset"` // Risk level Level *string `json:"Level,omitnil,omitempty" name:"Level"` // Asset type InstanceType *string `json:"InstanceType,omitnil,omitempty" name:"InstanceType"` // Components Component *string `json:"Component,omitnil,omitempty" name:"Component"` // Service Service *string `json:"Service,omitnil,omitempty" name:"Service"` // Last detected RecentTime *string `json:"RecentTime,omitnil,omitempty" name:"RecentTime"` // First detected FirstTime *string `json:"FirstTime,omitnil,omitempty" name:"FirstTime"` // Status of the risk. `0`: Not handled, `1`: Handled; `2`: Ignored Status *uint64 `json:"Status,omitnil,omitempty" name:"Status"` // Unique ID of the asset Id *string `json:"Id,omitnil,omitempty" name:"Id"` // Frontend index Index *string `json:"Index,omitnil,omitempty" name:"Index"` // Instance ID InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // Instance name InstanceName *string `json:"InstanceName,omitnil,omitempty" name:"InstanceName"` // User `appid` AppId *string `json:"AppId,omitnil,omitempty" name:"AppId"` // User name. // Note: This field may return·null, indicating that no valid values can be obtained. Nick *string `json:"Nick,omitnil,omitempty" name:"Nick"` // User `uin` // Note: This field may return·null, indicating that no valid values can be obtained. Uin *string `json:"Uin,omitnil,omitempty" name:"Uin"` // Vulnerability type VULType *string `json:"VULType,omitnil,omitempty" name:"VULType"` // Port Port *string `json:"Port,omitnil,omitempty" name:"Port"` // Description Describe *string `json:"Describe,omitnil,omitempty" name:"Describe"` // Components affected by the vulnerability AppName *string `json:"AppName,omitnil,omitempty" name:"AppName"` // Reference information about the vulnerability References *string `json:"References,omitnil,omitempty" name:"References"` // Version AppVersion *string `json:"AppVersion,omitnil,omitempty" name:"AppVersion"` // Vulnerability URL VULURL *string `json:"VULURL,omitnil,omitempty" name:"VULURL"` // Vulnerability name VULName *string `json:"VULName,omitnil,omitempty" name:"VULName"` // CVE number CVE *string `json:"CVE,omitnil,omitempty" name:"CVE"` // Fix suggestion Fix *string `json:"Fix,omitnil,omitempty" name:"Fix"` // POC ID POCId *string `json:"POCId,omitnil,omitempty" name:"POCId"` // Source of the task From *string `json:"From,omitnil,omitempty" name:"From"` // CWPP edition CWPVersion *int64 `json:"CWPVersion,omitnil,omitempty" name:"CWPVersion"` // Whether it can be fixed IsSupportRepair *bool `json:"IsSupportRepair,omitnil,omitempty" name:"IsSupportRepair"` // Whether it can be detected IsSupportDetect *bool `json:"IsSupportDetect,omitnil,omitempty" name:"IsSupportDetect"` // Instance UUID InstanceUUID *string `json:"InstanceUUID,omitnil,omitempty" name:"InstanceUUID"` // Pay load Payload *string `json:"Payload,omitnil,omitempty" name:"Payload"` // Whether it's an emergency vulnerability. Values: `1` (emergency vulnerability); `0` (non-emergency vulnerability // Note: This field may return·null, indicating that no valid values can be obtained. EMGCVulType *int64 `json:"EMGCVulType,omitnil,omitempty" name:"EMGCVulType"` }
type AssetViewWeakPassRisk ¶
type AssetViewWeakPassRisk struct { // Affected assets AffectAsset *string `json:"AffectAsset,omitnil,omitempty" name:"AffectAsset"` // Risk level Level *string `json:"Level,omitnil,omitempty" name:"Level"` // Asset type InstanceType *string `json:"InstanceType,omitnil,omitempty" name:"InstanceType"` // Components Component *string `json:"Component,omitnil,omitempty" name:"Component"` // Service Service *string `json:"Service,omitnil,omitempty" name:"Service"` // Last detected RecentTime *string `json:"RecentTime,omitnil,omitempty" name:"RecentTime"` // First detected FirstTime *string `json:"FirstTime,omitnil,omitempty" name:"FirstTime"` // Status of the risk. `0`: Not handled, `1`: Handled; `2`: Ignored Status *uint64 `json:"Status,omitnil,omitempty" name:"Status"` // Unique ID of the asset Id *string `json:"Id,omitnil,omitempty" name:"Id"` // Frontend index Index *string `json:"Index,omitnil,omitempty" name:"Index"` // Instance ID InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // Instance name InstanceName *string `json:"InstanceName,omitnil,omitempty" name:"InstanceName"` // User AppId AppId *string `json:"AppId,omitnil,omitempty" name:"AppId"` // User name. // Note: This field may return·null, indicating that no valid values can be obtained. Nick *string `json:"Nick,omitnil,omitempty" name:"Nick"` // User `uin` // Note: This field may return·null, indicating that no valid values can be obtained. Uin *string `json:"Uin,omitnil,omitempty" name:"Uin"` // Weak password type PasswordType *string `json:"PasswordType,omitnil,omitempty" name:"PasswordType"` // Source of the task From *string `json:"From,omitnil,omitempty" name:"From"` // Vulnerability type VULType *string `json:"VULType,omitnil,omitempty" name:"VULType"` // Vulnerability URL VULURL *string `json:"VULURL,omitnil,omitempty" name:"VULURL"` // Fix suggestion Fix *string `json:"Fix,omitnil,omitempty" name:"Fix"` // Pay load Payload *string `json:"Payload,omitnil,omitempty" name:"Payload"` }
type BugInfoDetail ¶
type BugInfoDetail struct { // Vulnerability ID // Note: This field may return null, indicating that no valid values can be obtained. Id *uint64 `json:"Id,omitnil,omitempty" name:"Id"` // POC ID of the vulnerability // Note: This field may return null, indicating that no valid values can be obtained. PatchId *string `json:"PatchId,omitnil,omitempty" name:"PatchId"` // Vulnerability name // Note: This field may return null, indicating that no valid values can be obtained. VULName *string `json:"VULName,omitnil,omitempty" name:"VULName"` // Vulnerability severity: `high`, `middle`, `low`, `info` // Note: This field may return null, indicating that no valid values can be obtained. Level *string `json:"Level,omitnil,omitempty" name:"Level"` // CVSS score // Note: This field may return null, indicating that no valid values can be obtained. CVSSScore *string `json:"CVSSScore,omitnil,omitempty" name:"CVSSScore"` // CVE number // Note: This field may return null, indicating that no valid values can be obtained. CVEId *string `json:"CVEId,omitnil,omitempty" name:"CVEId"` // Vulnerability tag // Note: This field may return null, indicating that no valid values can be obtained. Tag *string `json:"Tag,omitnil,omitempty" name:"Tag"` // Vulnerability category: `1`: Web application vulnerabilities, `2`: System component vulnerabilities, `3`: Configuration risks // Note: This field may return null, indicating that no valid values can be obtained. VULCategory *uint64 `json:"VULCategory,omitnil,omitempty" name:"VULCategory"` // Operating systems affected by the vulnerability // Note: This field may return null, indicating that no valid values can be obtained. ImpactOs *string `json:"ImpactOs,omitnil,omitempty" name:"ImpactOs"` // Components affected by the vulnerability // Note: This field may return null, indicating that no valid values can be obtained. ImpactCOMPENT *string `json:"ImpactCOMPENT,omitnil,omitempty" name:"ImpactCOMPENT"` // Versions affected by the vulnerability // Note: This field may return null, indicating that no valid values can be obtained. ImpactVersion *string `json:"ImpactVersion,omitnil,omitempty" name:"ImpactVersion"` // Reference information of the vulnerability // Note: This field may return null, indicating that no valid values can be obtained. Reference *string `json:"Reference,omitnil,omitempty" name:"Reference"` // Vulnerability description // Note: This field may return null, indicating that no valid values can be obtained. VULDescribe *string `json:"VULDescribe,omitnil,omitempty" name:"VULDescribe"` // Fix suggestion // Note: This field may return null, indicating that no valid values can be obtained. Fix *string `json:"Fix,omitnil,omitempty" name:"Fix"` // Product support status. The real-time status is returned. // Note: This field may return null, indicating that no valid values can be obtained. ProSupport *uint64 `json:"ProSupport,omitnil,omitempty" name:"ProSupport"` // Specify whether the vulnerability is published as an emergency vulnerability. `1`: Published as an emergency vulnerability; `0`: Not an emergency vulnerability. // Note: This field may return null, indicating that no valid values can be obtained. IsPublish *uint64 `json:"IsPublish,omitnil,omitempty" name:"IsPublish"` // Disclosure time of the vulnerability. // Note: This field may return null, indicating that no valid values can be obtained. ReleaseTime *string `json:"ReleaseTime,omitnil,omitempty" name:"ReleaseTime"` // The time when the vulnerability is added to the vulnerability database. // Note: This field may return null, indicating that no valid values can be obtained. CreateTime *string `json:"CreateTime,omitnil,omitempty" name:"CreateTime"` // The last update time of the vulnerability in the database // Note: This field may return null, indicating that no valid values can be obtained. UpdateTime *string `json:"UpdateTime,omitnil,omitempty" name:"UpdateTime"` // Sub-category of the vulnerability // Note: This field may return null, indicating that no valid values can be obtained. SubCategory *string `json:"SubCategory,omitnil,omitempty" name:"SubCategory"` }
type CVMAssetVO ¶
type CVMAssetVO struct { // Asset ID // Note: This field may return·null, indicating that no valid values can be obtained. AssetId *string `json:"AssetId,omitnil,omitempty" name:"AssetId"` // Asset name // Note: This field may return·null, indicating that no valid values can be obtained. AssetName *string `json:"AssetName,omitnil,omitempty" name:"AssetName"` // Asset type // Note: This field may return·null, indicating that no valid values can be obtained. AssetType *string `json:"AssetType,omitnil,omitempty" name:"AssetType"` // Region // Note: This field may return·null, indicating that no valid values can be obtained. Region *string `json:"Region,omitnil,omitempty" name:"Region"` // Protection status // Note: This field may return·null, indicating that no valid values can be obtained. CWPStatus *uint64 `json:"CWPStatus,omitnil,omitempty" name:"CWPStatus"` // Asset creation time // Note: This field may return·null, indicating that no valid values can be obtained. AssetCreateTime *string `json:"AssetCreateTime,omitnil,omitempty" name:"AssetCreateTime"` // Public IP // Note: This field may return·null, indicating that no valid values can be obtained. PublicIp *string `json:"PublicIp,omitnil,omitempty" name:"PublicIp"` // Private IP // Note: This field may return·null, indicating that no valid values can be obtained. PrivateIp *string `json:"PrivateIp,omitnil,omitempty" name:"PrivateIp"` VpcId *string `json:"VpcId,omitnil,omitempty" name:"VpcId"` // VPC name // Note: This field may return·null, indicating that no valid values can be obtained. VpcName *string `json:"VpcName,omitnil,omitempty" name:"VpcName"` // App ID // Note: This field may return·null, indicating that no valid values can be obtained. AppId *uint64 `json:"AppId,omitnil,omitempty" name:"AppId"` // User `uin` // Note: This field may return·null, indicating that no valid values can be obtained. Uin *string `json:"Uin,omitnil,omitempty" name:"Uin"` // User name // Note: This field may return·null, indicating that no valid values can be obtained. NickName *string `json:"NickName,omitnil,omitempty" name:"NickName"` // Availability zone // Note: This field may return·null, indicating that no valid values can be obtained. AvailableArea *string `json:"AvailableArea,omitnil,omitempty" name:"AvailableArea"` // Whether it's a critical asset // Note: This field may return·null, indicating that no valid values can be obtained. IsCore *uint64 `json:"IsCore,omitnil,omitempty" name:"IsCore"` // Subnet ID // Note: This field may return·null, indicating that no valid values can be obtained. SubnetId *string `json:"SubnetId,omitnil,omitempty" name:"SubnetId"` // Subnet name // Note: This field may return·null, indicating that no valid values can be obtained. SubnetName *string `json:"SubnetName,omitnil,omitempty" name:"SubnetName"` // UUID of the instance // Note: This field may return·null, indicating that no valid values can be obtained. InstanceUuid *string `json:"InstanceUuid,omitnil,omitempty" name:"InstanceUuid"` // QUuid of the instance // Note: This field may return·null, indicating that no valid values can be obtained. InstanceQUuid *string `json:"InstanceQUuid,omitnil,omitempty" name:"InstanceQUuid"` // OS name // Note: This field may return·null, indicating that no valid values can be obtained. OsName *string `json:"OsName,omitnil,omitempty" name:"OsName"` // Number of partitions // Note: This field may return·null, indicating that no valid values can be obtained. PartitionCount *uint64 `json:"PartitionCount,omitnil,omitempty" name:"PartitionCount"` // CPU information // Note: This field may return·null, indicating that no valid values can be obtained. CPUInfo *string `json:"CPUInfo,omitnil,omitempty" name:"CPUInfo"` // CPU size // Note: This field may return·null, indicating that no valid values can be obtained. CPUSize *uint64 `json:"CPUSize,omitnil,omitempty" name:"CPUSize"` // CPU load // Note: This field may return·null, indicating that no valid values can be obtained. CPULoad *string `json:"CPULoad,omitnil,omitempty" name:"CPULoad"` // Memory size // Note: This field may return·null, indicating that no valid values can be obtained. MemorySize *string `json:"MemorySize,omitnil,omitempty" name:"MemorySize"` // Memory load // Note: This field may return·null, indicating that no valid values can be obtained. MemoryLoad *string `json:"MemoryLoad,omitnil,omitempty" name:"MemoryLoad"` // Disk size. // Note: This field may return·null, indicating that no valid values can be obtained. DiskSize *string `json:"DiskSize,omitnil,omitempty" name:"DiskSize"` // Disk load // Note: This field may return·null, indicating that no valid values can be obtained. DiskLoad *string `json:"DiskLoad,omitnil,omitempty" name:"DiskLoad"` // Number of accounts // Note: This field may return·null, indicating that no valid values can be obtained. AccountCount *string `json:"AccountCount,omitnil,omitempty" name:"AccountCount"` // Number of processes // Note: This field may return·null, indicating that no valid values can be obtained. ProcessCount *string `json:"ProcessCount,omitnil,omitempty" name:"ProcessCount"` // Number of applications // Note: This field may return·null, indicating that no valid values can be obtained. AppCount *string `json:"AppCount,omitnil,omitempty" name:"AppCount"` // Number of listened ports. // Note: This field may return·null, indicating that no valid values can be obtained. PortCount *uint64 `json:"PortCount,omitnil,omitempty" name:"PortCount"` // Number of network attacks // Note: This field may return·null, indicating that no valid values can be obtained. Attack *uint64 `json:"Attack,omitnil,omitempty" name:"Attack"` // Number of network access requests // Note: This field may return·null, indicating that no valid values can be obtained. Access *uint64 `json:"Access,omitnil,omitempty" name:"Access"` // Number of blocked attacks // Note: This field may return·null, indicating that no valid values can be obtained. Intercept *uint64 `json:"Intercept,omitnil,omitempty" name:"Intercept"` // Inbound peak bandwidth // Note: This field may return·null, indicating that no valid values can be obtained. InBandwidth *string `json:"InBandwidth,omitnil,omitempty" name:"InBandwidth"` // OutInbound peak bandwidth // Note: This field may return·null, indicating that no valid values can be obtained. OutBandwidth *string `json:"OutBandwidth,omitnil,omitempty" name:"OutBandwidth"` // Total inbound traffic // Note: This field may return·null, indicating that no valid values can be obtained. InFlow *string `json:"InFlow,omitnil,omitempty" name:"InFlow"` // Total outbound traffic // Note: This field may return·null, indicating that no valid values can be obtained. OutFlow *string `json:"OutFlow,omitnil,omitempty" name:"OutFlow"` // Last scan time // Note: This field may return·null, indicating that no valid values can be obtained. LastScanTime *string `json:"LastScanTime,omitnil,omitempty" name:"LastScanTime"` // Proactive malicious outgoing requests // Note: This field may return·null, indicating that no valid values can be obtained. NetWorkOut *uint64 `json:"NetWorkOut,omitnil,omitempty" name:"NetWorkOut"` // Port risks // Note: This field may return·null, indicating that no valid values can be obtained. PortRisk *uint64 `json:"PortRisk,omitnil,omitempty" name:"PortRisk"` // Vulnerabilities // Note: This field may return·null, indicating that no valid values can be obtained. VulnerabilityRisk *uint64 `json:"VulnerabilityRisk,omitnil,omitempty" name:"VulnerabilityRisk"` // Configuraiton risks // Note: This field may return·null, indicating that no valid values can be obtained. ConfigurationRisk *uint64 `json:"ConfigurationRisk,omitnil,omitempty" name:"ConfigurationRisk"` // Number of scan tasks // Note: This field may return·null, indicating that no valid values can be obtained. ScanTask *uint64 `json:"ScanTask,omitnil,omitempty" name:"ScanTask"` // Tags // Note: This field may return·null, indicating that no valid values can be obtained. Tag []*Tag `json:"Tag,omitnil,omitempty" name:"Tag"` // Member ID // Note: This field may return·null, indicating that no valid values can be obtained. MemberId *string `json:"MemberId,omitnil,omitempty" name:"MemberId"` // Full name of the operating system // Note: This field may return·null, indicating that no valid values can be obtained. Os *string `json:"Os,omitnil,omitempty" name:"Os"` // Risk exposure // Note: This field may return·null, indicating that no valid values can be obtained. RiskExposure *int64 `json:"RiskExposure,omitnil,omitempty" name:"RiskExposure"` // BAS toolkit status. `0`: Not installed; `1`: Installed; `2`: Offline. // Note: This field may return·null, indicating that no valid values can be obtained. BASAgentStatus *int64 `json:"BASAgentStatus,omitnil,omitempty" name:"BASAgentStatus"` // `1`: New asset; `0`: Not a new asset // Note: This field may return·null, indicating that no valid values can be obtained. IsNewAsset *uint64 `json:"IsNewAsset,omitnil,omitempty" name:"IsNewAsset"` }
type ClbListenerListInfo ¶
type ClbListenerListInfo struct { // Listener ID // Note: This field may return·null, indicating that no valid values can be obtained. ListenerId *string `json:"ListenerId,omitnil,omitempty" name:"ListenerId"` // The listener name. // Note: This field may return·null, indicating that no valid values can be obtained. ListenerName *string `json:"ListenerName,omitnil,omitempty" name:"ListenerName"` // Load balancer ID // Note: This field may return·null, indicating that no valid values can be obtained. LoadBalancerId *string `json:"LoadBalancerId,omitnil,omitempty" name:"LoadBalancerId"` // CLB instance name // Note: This field may return·null, indicating that no valid values can be obtained. LoadBalancerName *string `json:"LoadBalancerName,omitnil,omitempty" name:"LoadBalancerName"` // Network protocol // Note: This field may return·null, indicating that no valid values can be obtained. Protocol *string `json:"Protocol,omitnil,omitempty" name:"Protocol"` // Region // Note: This field may return·null, indicating that no valid values can be obtained. Region *string `json:"Region,omitnil,omitempty" name:"Region"` // CLB instance IP // Note: This field may return·null, indicating that no valid values can be obtained. Vip *string `json:"Vip,omitnil,omitempty" name:"Vip"` // Port // Note: This field may return·null, indicating that no valid values can be obtained. VPort *int64 `json:"VPort,omitnil,omitempty" name:"VPort"` // Availability zone // Note: This field may return·null, indicating that no valid values can be obtained. Zone *string `json:"Zone,omitnil,omitempty" name:"Zone"` // VPC ID // Note: This field may return·null, indicating that no valid values can be obtained. NumericalVpcId *int64 `json:"NumericalVpcId,omitnil,omitempty" name:"NumericalVpcId"` // CLB instance type // Note: This field may return·null, indicating that no valid values can be obtained. LoadBalancerType *string `json:"LoadBalancerType,omitnil,omitempty" name:"LoadBalancerType"` // Listener domain name // Note: This field may return·null, indicating that no valid values can be obtained. Domain *string `json:"Domain,omitnil,omitempty" name:"Domain"` // Load balancer domain name // Note: This field may return·null, indicating that no valid values can be obtained. LoadBalancerDomain *string `json:"LoadBalancerDomain,omitnil,omitempty" name:"LoadBalancerDomain"` }
type Client ¶
func NewClient ¶
func NewClient(credential common.CredentialIface, region string, clientProfile *profile.ClientProfile) (client *Client, err error)
func NewClientWithSecretId ¶
Deprecated
func (*Client) AddNewBindRoleUser ¶
func (c *Client) AddNewBindRoleUser(request *AddNewBindRoleUserRequest) (response *AddNewBindRoleUserResponse, err error)
AddNewBindRoleUser This API is used to add the CAM role of Cloud Security Center (CSC) to the current account. The name of the CAM role is "csip".
func (*Client) AddNewBindRoleUserWithContext ¶
func (c *Client) AddNewBindRoleUserWithContext(ctx context.Context, request *AddNewBindRoleUserRequest) (response *AddNewBindRoleUserResponse, err error)
AddNewBindRoleUser This API is used to add the CAM role of Cloud Security Center (CSC) to the current account. The name of the CAM role is "csip".
func (*Client) CreateDomainAndIp ¶
func (c *Client) CreateDomainAndIp(request *CreateDomainAndIpRequest) (response *CreateDomainAndIpResponse, err error)
CreateDomainAndIp This API is used to create an asset with the specific domain/IP.
error code that may be returned:
FAILEDOPERATION = "FailedOperation"
func (*Client) CreateDomainAndIpWithContext ¶
func (c *Client) CreateDomainAndIpWithContext(ctx context.Context, request *CreateDomainAndIpRequest) (response *CreateDomainAndIpResponse, err error)
CreateDomainAndIp This API is used to create an asset with the specific domain/IP.
error code that may be returned:
FAILEDOPERATION = "FailedOperation"
func (*Client) CreateRiskCenterScanTask ¶
func (c *Client) CreateRiskCenterScanTask(request *CreateRiskCenterScanTaskRequest) (response *CreateRiskCenterScanTaskResponse, err error)
CreateRiskCenterScanTask This API is used to create a risk scan task.
error code that may be returned:
AUTHFAILURE = "AuthFailure" DRYRUNOPERATION = "DryRunOperation" FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" REQUESTLIMITEXCEEDED = "RequestLimitExceeded" RESOURCEINUSE = "ResourceInUse" RESOURCEINSUFFICIENT = "ResourceInsufficient" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" RESOURCESSOLDOUT = "ResourcesSoldOut" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) CreateRiskCenterScanTaskWithContext ¶
func (c *Client) CreateRiskCenterScanTaskWithContext(ctx context.Context, request *CreateRiskCenterScanTaskRequest) (response *CreateRiskCenterScanTaskResponse, err error)
CreateRiskCenterScanTask This API is used to create a risk scan task.
error code that may be returned:
AUTHFAILURE = "AuthFailure" DRYRUNOPERATION = "DryRunOperation" FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" REQUESTLIMITEXCEEDED = "RequestLimitExceeded" RESOURCEINUSE = "ResourceInUse" RESOURCEINSUFFICIENT = "ResourceInsufficient" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" RESOURCESSOLDOUT = "ResourcesSoldOut" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DeleteDomainAndIp ¶
func (c *Client) DeleteDomainAndIp(request *DeleteDomainAndIpRequest) (response *DeleteDomainAndIpResponse, err error)
DeleteDomainAndIp This API is used to delete assets.
error code that may be returned:
AUTHFAILURE = "AuthFailure" DRYRUNOPERATION = "DryRunOperation" FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" REQUESTLIMITEXCEEDED = "RequestLimitExceeded" RESOURCEINUSE = "ResourceInUse" RESOURCEINSUFFICIENT = "ResourceInsufficient" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" RESOURCESSOLDOUT = "ResourcesSoldOut" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DeleteDomainAndIpWithContext ¶
func (c *Client) DeleteDomainAndIpWithContext(ctx context.Context, request *DeleteDomainAndIpRequest) (response *DeleteDomainAndIpResponse, err error)
DeleteDomainAndIp This API is used to delete assets.
error code that may be returned:
AUTHFAILURE = "AuthFailure" DRYRUNOPERATION = "DryRunOperation" FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" REQUESTLIMITEXCEEDED = "RequestLimitExceeded" RESOURCEINUSE = "ResourceInUse" RESOURCEINSUFFICIENT = "ResourceInsufficient" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" RESOURCESSOLDOUT = "ResourcesSoldOut" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DeleteRiskScanTask ¶
func (c *Client) DeleteRiskScanTask(request *DeleteRiskScanTaskRequest) (response *DeleteRiskScanTaskResponse, err error)
DeleteRiskScanTask This API is used to delete a risk scan task.
error code that may be returned:
AUTHFAILURE = "AuthFailure" DRYRUNOPERATION = "DryRunOperation" FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" REQUESTLIMITEXCEEDED = "RequestLimitExceeded" RESOURCEINUSE = "ResourceInUse" RESOURCEINSUFFICIENT = "ResourceInsufficient" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" RESOURCESSOLDOUT = "ResourcesSoldOut" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DeleteRiskScanTaskWithContext ¶
func (c *Client) DeleteRiskScanTaskWithContext(ctx context.Context, request *DeleteRiskScanTaskRequest) (response *DeleteRiskScanTaskResponse, err error)
DeleteRiskScanTask This API is used to delete a risk scan task.
error code that may be returned:
AUTHFAILURE = "AuthFailure" DRYRUNOPERATION = "DryRunOperation" FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" REQUESTLIMITEXCEEDED = "RequestLimitExceeded" RESOURCEINUSE = "ResourceInUse" RESOURCEINSUFFICIENT = "ResourceInsufficient" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" RESOURCESSOLDOUT = "ResourcesSoldOut" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeCVMAssetInfo ¶
func (c *Client) DescribeCVMAssetInfo(request *DescribeCVMAssetInfoRequest) (response *DescribeCVMAssetInfoResponse, err error)
DescribeCVMAssetInfo This API is used to query details of CVM assets.
error code that may be returned:
AUTHFAILURE = "AuthFailure" DRYRUNOPERATION = "DryRunOperation" FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" REQUESTLIMITEXCEEDED = "RequestLimitExceeded" RESOURCEINUSE = "ResourceInUse" RESOURCEINSUFFICIENT = "ResourceInsufficient" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" RESOURCESSOLDOUT = "ResourcesSoldOut" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeCVMAssetInfoWithContext ¶
func (c *Client) DescribeCVMAssetInfoWithContext(ctx context.Context, request *DescribeCVMAssetInfoRequest) (response *DescribeCVMAssetInfoResponse, err error)
DescribeCVMAssetInfo This API is used to query details of CVM assets.
error code that may be returned:
AUTHFAILURE = "AuthFailure" DRYRUNOPERATION = "DryRunOperation" FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" REQUESTLIMITEXCEEDED = "RequestLimitExceeded" RESOURCEINUSE = "ResourceInUse" RESOURCEINSUFFICIENT = "ResourceInsufficient" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" RESOURCESSOLDOUT = "ResourcesSoldOut" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeCVMAssets ¶
func (c *Client) DescribeCVMAssets(request *DescribeCVMAssetsRequest) (response *DescribeCVMAssetsResponse, err error)
DescribeCVMAssets This API is used to query the list of CVM assets.
error code that may be returned:
AUTHFAILURE = "AuthFailure" DRYRUNOPERATION = "DryRunOperation" FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" REQUESTLIMITEXCEEDED = "RequestLimitExceeded" RESOURCEINUSE = "ResourceInUse" RESOURCEINSUFFICIENT = "ResourceInsufficient" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" RESOURCESSOLDOUT = "ResourcesSoldOut" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeCVMAssetsWithContext ¶
func (c *Client) DescribeCVMAssetsWithContext(ctx context.Context, request *DescribeCVMAssetsRequest) (response *DescribeCVMAssetsResponse, err error)
DescribeCVMAssets This API is used to query the list of CVM assets.
error code that may be returned:
AUTHFAILURE = "AuthFailure" DRYRUNOPERATION = "DryRunOperation" FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" REQUESTLIMITEXCEEDED = "RequestLimitExceeded" RESOURCEINUSE = "ResourceInUse" RESOURCEINSUFFICIENT = "ResourceInsufficient" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" RESOURCESSOLDOUT = "ResourcesSoldOut" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeClusterPodAssets ¶
func (c *Client) DescribeClusterPodAssets(request *DescribeClusterPodAssetsRequest) (response *DescribeClusterPodAssetsResponse, err error)
DescribeClusterPodAssets This API is used to list cluster pods.
error code that may be returned:
AUTHFAILURE = "AuthFailure" DRYRUNOPERATION = "DryRunOperation" FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" REQUESTLIMITEXCEEDED = "RequestLimitExceeded" RESOURCEINUSE = "ResourceInUse" RESOURCEINSUFFICIENT = "ResourceInsufficient" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" RESOURCESSOLDOUT = "ResourcesSoldOut" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeClusterPodAssetsWithContext ¶
func (c *Client) DescribeClusterPodAssetsWithContext(ctx context.Context, request *DescribeClusterPodAssetsRequest) (response *DescribeClusterPodAssetsResponse, err error)
DescribeClusterPodAssets This API is used to list cluster pods.
error code that may be returned:
AUTHFAILURE = "AuthFailure" DRYRUNOPERATION = "DryRunOperation" FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" REQUESTLIMITEXCEEDED = "RequestLimitExceeded" RESOURCEINUSE = "ResourceInUse" RESOURCEINSUFFICIENT = "ResourceInsufficient" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" RESOURCESSOLDOUT = "ResourcesSoldOut" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeDbAssetInfo ¶
func (c *Client) DescribeDbAssetInfo(request *DescribeDbAssetInfoRequest) (response *DescribeDbAssetInfoResponse, err error)
DescribeDbAssetInfo This API is used to query details of a database asset.
error code that may be returned:
AUTHFAILURE = "AuthFailure" DRYRUNOPERATION = "DryRunOperation" FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" REQUESTLIMITEXCEEDED = "RequestLimitExceeded" RESOURCEINUSE = "ResourceInUse" RESOURCEINSUFFICIENT = "ResourceInsufficient" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" RESOURCESSOLDOUT = "ResourcesSoldOut" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeDbAssetInfoWithContext ¶
func (c *Client) DescribeDbAssetInfoWithContext(ctx context.Context, request *DescribeDbAssetInfoRequest) (response *DescribeDbAssetInfoResponse, err error)
DescribeDbAssetInfo This API is used to query details of a database asset.
error code that may be returned:
AUTHFAILURE = "AuthFailure" DRYRUNOPERATION = "DryRunOperation" FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" REQUESTLIMITEXCEEDED = "RequestLimitExceeded" RESOURCEINUSE = "ResourceInUse" RESOURCEINSUFFICIENT = "ResourceInsufficient" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" RESOURCESSOLDOUT = "ResourcesSoldOut" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeDbAssets ¶
func (c *Client) DescribeDbAssets(request *DescribeDbAssetsRequest) (response *DescribeDbAssetsResponse, err error)
DescribeDbAssets This API is used to list database assets.
error code that may be returned:
AUTHFAILURE = "AuthFailure" DRYRUNOPERATION = "DryRunOperation" FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" REQUESTLIMITEXCEEDED = "RequestLimitExceeded" RESOURCEINUSE = "ResourceInUse" RESOURCEINSUFFICIENT = "ResourceInsufficient" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" RESOURCESSOLDOUT = "ResourcesSoldOut" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeDbAssetsWithContext ¶
func (c *Client) DescribeDbAssetsWithContext(ctx context.Context, request *DescribeDbAssetsRequest) (response *DescribeDbAssetsResponse, err error)
DescribeDbAssets This API is used to list database assets.
error code that may be returned:
AUTHFAILURE = "AuthFailure" DRYRUNOPERATION = "DryRunOperation" FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" REQUESTLIMITEXCEEDED = "RequestLimitExceeded" RESOURCEINUSE = "ResourceInUse" RESOURCEINSUFFICIENT = "ResourceInsufficient" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" RESOURCESSOLDOUT = "ResourcesSoldOut" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeDomainAssets ¶
func (c *Client) DescribeDomainAssets(request *DescribeDomainAssetsRequest) (response *DescribeDomainAssetsResponse, err error)
DescribeDomainAssets This API is used to list domain assets.
error code that may be returned:
AUTHFAILURE = "AuthFailure" DRYRUNOPERATION = "DryRunOperation" FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" REQUESTLIMITEXCEEDED = "RequestLimitExceeded" RESOURCEINUSE = "ResourceInUse" RESOURCEINSUFFICIENT = "ResourceInsufficient" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" RESOURCESSOLDOUT = "ResourcesSoldOut" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeDomainAssetsWithContext ¶
func (c *Client) DescribeDomainAssetsWithContext(ctx context.Context, request *DescribeDomainAssetsRequest) (response *DescribeDomainAssetsResponse, err error)
DescribeDomainAssets This API is used to list domain assets.
error code that may be returned:
AUTHFAILURE = "AuthFailure" DRYRUNOPERATION = "DryRunOperation" FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" REQUESTLIMITEXCEEDED = "RequestLimitExceeded" RESOURCEINUSE = "ResourceInUse" RESOURCEINSUFFICIENT = "ResourceInsufficient" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" RESOURCESSOLDOUT = "ResourcesSoldOut" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeListenerList ¶
func (c *Client) DescribeListenerList(request *DescribeListenerListRequest) (response *DescribeListenerListResponse, err error)
DescribeListenerList This API is used to query the list of TCP listeners.
error code that may be returned:
AUTHFAILURE = "AuthFailure" DRYRUNOPERATION = "DryRunOperation" FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" REQUESTLIMITEXCEEDED = "RequestLimitExceeded" RESOURCEINUSE = "ResourceInUse" RESOURCEINSUFFICIENT = "ResourceInsufficient" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" RESOURCESSOLDOUT = "ResourcesSoldOut" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeListenerListWithContext ¶
func (c *Client) DescribeListenerListWithContext(ctx context.Context, request *DescribeListenerListRequest) (response *DescribeListenerListResponse, err error)
DescribeListenerList This API is used to query the list of TCP listeners.
error code that may be returned:
AUTHFAILURE = "AuthFailure" DRYRUNOPERATION = "DryRunOperation" FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" REQUESTLIMITEXCEEDED = "RequestLimitExceeded" RESOURCEINUSE = "ResourceInUse" RESOURCEINSUFFICIENT = "ResourceInsufficient" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" RESOURCESSOLDOUT = "ResourcesSoldOut" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribePublicIpAssets ¶
func (c *Client) DescribePublicIpAssets(request *DescribePublicIpAssetsRequest) (response *DescribePublicIpAssetsResponse, err error)
DescribePublicIpAssets This API is used to query the list of public IP assets.
error code that may be returned:
AUTHFAILURE = "AuthFailure" DRYRUNOPERATION = "DryRunOperation" FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" REQUESTLIMITEXCEEDED = "RequestLimitExceeded" RESOURCEINUSE = "ResourceInUse" RESOURCEINSUFFICIENT = "ResourceInsufficient" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" RESOURCESSOLDOUT = "ResourcesSoldOut" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribePublicIpAssetsWithContext ¶
func (c *Client) DescribePublicIpAssetsWithContext(ctx context.Context, request *DescribePublicIpAssetsRequest) (response *DescribePublicIpAssetsResponse, err error)
DescribePublicIpAssets This API is used to query the list of public IP assets.
error code that may be returned:
AUTHFAILURE = "AuthFailure" DRYRUNOPERATION = "DryRunOperation" FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" REQUESTLIMITEXCEEDED = "RequestLimitExceeded" RESOURCEINUSE = "ResourceInUse" RESOURCEINSUFFICIENT = "ResourceInsufficient" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" RESOURCESSOLDOUT = "ResourcesSoldOut" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeRiskCenterAssetViewCFGRiskList ¶
func (c *Client) DescribeRiskCenterAssetViewCFGRiskList(request *DescribeRiskCenterAssetViewCFGRiskListRequest) (response *DescribeRiskCenterAssetViewCFGRiskListResponse, err error)
DescribeRiskCenterAssetViewCFGRiskList This API is used to query the list of configuration risks by assets.
error code that may be returned:
AUTHFAILURE = "AuthFailure" DRYRUNOPERATION = "DryRunOperation" FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" REQUESTLIMITEXCEEDED = "RequestLimitExceeded" RESOURCEINUSE = "ResourceInUse" RESOURCEINSUFFICIENT = "ResourceInsufficient" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" RESOURCESSOLDOUT = "ResourcesSoldOut" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeRiskCenterAssetViewCFGRiskListWithContext ¶
func (c *Client) DescribeRiskCenterAssetViewCFGRiskListWithContext(ctx context.Context, request *DescribeRiskCenterAssetViewCFGRiskListRequest) (response *DescribeRiskCenterAssetViewCFGRiskListResponse, err error)
DescribeRiskCenterAssetViewCFGRiskList This API is used to query the list of configuration risks by assets.
error code that may be returned:
AUTHFAILURE = "AuthFailure" DRYRUNOPERATION = "DryRunOperation" FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" REQUESTLIMITEXCEEDED = "RequestLimitExceeded" RESOURCEINUSE = "ResourceInUse" RESOURCEINSUFFICIENT = "ResourceInsufficient" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" RESOURCESSOLDOUT = "ResourcesSoldOut" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeRiskCenterAssetViewPortRiskList ¶
func (c *Client) DescribeRiskCenterAssetViewPortRiskList(request *DescribeRiskCenterAssetViewPortRiskListRequest) (response *DescribeRiskCenterAssetViewPortRiskListResponse, err error)
DescribeRiskCenterAssetViewPortRiskList This API is used to query the list of port risks by assets.
error code that may be returned:
AUTHFAILURE = "AuthFailure" DRYRUNOPERATION = "DryRunOperation" FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDFILTER = "InvalidFilter" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_DECRYPTERROR = "InvalidParameter.DecryptError" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" REGIONERROR = "RegionError" REQUESTLIMITEXCEEDED = "RequestLimitExceeded" RESOURCEINUSE = "ResourceInUse" RESOURCEINSUFFICIENT = "ResourceInsufficient" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" RESOURCESSOLDOUT = "ResourcesSoldOut" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNAUTHORIZEDOPERATION_CLOUDAUDIT = "UnauthorizedOperation.CloudAudit" UNAUTHORIZEDOPERATION_COS = "UnauthorizedOperation.Cos" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeRiskCenterAssetViewPortRiskListWithContext ¶
func (c *Client) DescribeRiskCenterAssetViewPortRiskListWithContext(ctx context.Context, request *DescribeRiskCenterAssetViewPortRiskListRequest) (response *DescribeRiskCenterAssetViewPortRiskListResponse, err error)
DescribeRiskCenterAssetViewPortRiskList This API is used to query the list of port risks by assets.
error code that may be returned:
AUTHFAILURE = "AuthFailure" DRYRUNOPERATION = "DryRunOperation" FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDFILTER = "InvalidFilter" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_DECRYPTERROR = "InvalidParameter.DecryptError" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" REGIONERROR = "RegionError" REQUESTLIMITEXCEEDED = "RequestLimitExceeded" RESOURCEINUSE = "ResourceInUse" RESOURCEINSUFFICIENT = "ResourceInsufficient" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" RESOURCESSOLDOUT = "ResourcesSoldOut" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNAUTHORIZEDOPERATION_CLOUDAUDIT = "UnauthorizedOperation.CloudAudit" UNAUTHORIZEDOPERATION_COS = "UnauthorizedOperation.Cos" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeRiskCenterAssetViewVULRiskList ¶
func (c *Client) DescribeRiskCenterAssetViewVULRiskList(request *DescribeRiskCenterAssetViewVULRiskListRequest) (response *DescribeRiskCenterAssetViewVULRiskListResponse, err error)
DescribeRiskCenterAssetViewVULRiskList This API is used to query the list of vulnerabilities by assets.
error code that may be returned:
AUTHFAILURE = "AuthFailure" DRYRUNOPERATION = "DryRunOperation" FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDFILTER = "InvalidFilter" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_DECRYPTERROR = "InvalidParameter.DecryptError" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" REGIONERROR = "RegionError" REQUESTLIMITEXCEEDED = "RequestLimitExceeded" RESOURCEINUSE = "ResourceInUse" RESOURCEINSUFFICIENT = "ResourceInsufficient" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" RESOURCESSOLDOUT = "ResourcesSoldOut" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNAUTHORIZEDOPERATION_CLOUDAUDIT = "UnauthorizedOperation.CloudAudit" UNAUTHORIZEDOPERATION_COS = "UnauthorizedOperation.Cos" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeRiskCenterAssetViewVULRiskListWithContext ¶
func (c *Client) DescribeRiskCenterAssetViewVULRiskListWithContext(ctx context.Context, request *DescribeRiskCenterAssetViewVULRiskListRequest) (response *DescribeRiskCenterAssetViewVULRiskListResponse, err error)
DescribeRiskCenterAssetViewVULRiskList This API is used to query the list of vulnerabilities by assets.
error code that may be returned:
AUTHFAILURE = "AuthFailure" DRYRUNOPERATION = "DryRunOperation" FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDFILTER = "InvalidFilter" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_DECRYPTERROR = "InvalidParameter.DecryptError" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" REGIONERROR = "RegionError" REQUESTLIMITEXCEEDED = "RequestLimitExceeded" RESOURCEINUSE = "ResourceInUse" RESOURCEINSUFFICIENT = "ResourceInsufficient" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" RESOURCESSOLDOUT = "ResourcesSoldOut" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNAUTHORIZEDOPERATION_CLOUDAUDIT = "UnauthorizedOperation.CloudAudit" UNAUTHORIZEDOPERATION_COS = "UnauthorizedOperation.Cos" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeRiskCenterAssetViewWeakPasswordRiskList ¶
func (c *Client) DescribeRiskCenterAssetViewWeakPasswordRiskList(request *DescribeRiskCenterAssetViewWeakPasswordRiskListRequest) (response *DescribeRiskCenterAssetViewWeakPasswordRiskListResponse, err error)
DescribeRiskCenterAssetViewWeakPasswordRiskList This API is used to query the list of weak passwords by assets.
error code that may be returned:
AUTHFAILURE = "AuthFailure" DRYRUNOPERATION = "DryRunOperation" FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDFILTER = "InvalidFilter" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_DECRYPTERROR = "InvalidParameter.DecryptError" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" REGIONERROR = "RegionError" REQUESTLIMITEXCEEDED = "RequestLimitExceeded" RESOURCEINUSE = "ResourceInUse" RESOURCEINSUFFICIENT = "ResourceInsufficient" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" RESOURCESSOLDOUT = "ResourcesSoldOut" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNAUTHORIZEDOPERATION_CLOUDAUDIT = "UnauthorizedOperation.CloudAudit" UNAUTHORIZEDOPERATION_COS = "UnauthorizedOperation.Cos" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeRiskCenterAssetViewWeakPasswordRiskListWithContext ¶
func (c *Client) DescribeRiskCenterAssetViewWeakPasswordRiskListWithContext(ctx context.Context, request *DescribeRiskCenterAssetViewWeakPasswordRiskListRequest) (response *DescribeRiskCenterAssetViewWeakPasswordRiskListResponse, err error)
DescribeRiskCenterAssetViewWeakPasswordRiskList This API is used to query the list of weak passwords by assets.
error code that may be returned:
AUTHFAILURE = "AuthFailure" DRYRUNOPERATION = "DryRunOperation" FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDFILTER = "InvalidFilter" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_DECRYPTERROR = "InvalidParameter.DecryptError" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" REGIONERROR = "RegionError" REQUESTLIMITEXCEEDED = "RequestLimitExceeded" RESOURCEINUSE = "ResourceInUse" RESOURCEINSUFFICIENT = "ResourceInsufficient" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" RESOURCESSOLDOUT = "ResourcesSoldOut" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNAUTHORIZEDOPERATION_CLOUDAUDIT = "UnauthorizedOperation.CloudAudit" UNAUTHORIZEDOPERATION_COS = "UnauthorizedOperation.Cos" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeRiskCenterPortViewPortRiskList ¶
func (c *Client) DescribeRiskCenterPortViewPortRiskList(request *DescribeRiskCenterPortViewPortRiskListRequest) (response *DescribeRiskCenterPortViewPortRiskListResponse, err error)
DescribeRiskCenterPortViewPortRiskList This API is used to query the list of port risks by ports.
error code that may be returned:
AUTHFAILURE = "AuthFailure" DRYRUNOPERATION = "DryRunOperation" FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDFILTER = "InvalidFilter" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_DECRYPTERROR = "InvalidParameter.DecryptError" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" REGIONERROR = "RegionError" REQUESTLIMITEXCEEDED = "RequestLimitExceeded" RESOURCEINUSE = "ResourceInUse" RESOURCEINSUFFICIENT = "ResourceInsufficient" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" RESOURCESSOLDOUT = "ResourcesSoldOut" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNAUTHORIZEDOPERATION_CLOUDAUDIT = "UnauthorizedOperation.CloudAudit" UNAUTHORIZEDOPERATION_COS = "UnauthorizedOperation.Cos" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeRiskCenterPortViewPortRiskListWithContext ¶
func (c *Client) DescribeRiskCenterPortViewPortRiskListWithContext(ctx context.Context, request *DescribeRiskCenterPortViewPortRiskListRequest) (response *DescribeRiskCenterPortViewPortRiskListResponse, err error)
DescribeRiskCenterPortViewPortRiskList This API is used to query the list of port risks by ports.
error code that may be returned:
AUTHFAILURE = "AuthFailure" DRYRUNOPERATION = "DryRunOperation" FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDFILTER = "InvalidFilter" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_DECRYPTERROR = "InvalidParameter.DecryptError" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" REGIONERROR = "RegionError" REQUESTLIMITEXCEEDED = "RequestLimitExceeded" RESOURCEINUSE = "ResourceInUse" RESOURCEINSUFFICIENT = "ResourceInsufficient" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" RESOURCESSOLDOUT = "ResourcesSoldOut" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNAUTHORIZEDOPERATION_CLOUDAUDIT = "UnauthorizedOperation.CloudAudit" UNAUTHORIZEDOPERATION_COS = "UnauthorizedOperation.Cos" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeRiskCenterServerRiskList ¶
func (c *Client) DescribeRiskCenterServerRiskList(request *DescribeRiskCenterServerRiskListRequest) (response *DescribeRiskCenterServerRiskListResponse, err error)
DescribeRiskCenterServerRiskList This API is used to query the list of services in risk.
error code that may be returned:
AUTHFAILURE = "AuthFailure" DRYRUNOPERATION = "DryRunOperation" FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDFILTER = "InvalidFilter" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_DECRYPTERROR = "InvalidParameter.DecryptError" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" REGIONERROR = "RegionError" REQUESTLIMITEXCEEDED = "RequestLimitExceeded" RESOURCEINUSE = "ResourceInUse" RESOURCEINSUFFICIENT = "ResourceInsufficient" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" RESOURCESSOLDOUT = "ResourcesSoldOut" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNAUTHORIZEDOPERATION_CLOUDAUDIT = "UnauthorizedOperation.CloudAudit" UNAUTHORIZEDOPERATION_COS = "UnauthorizedOperation.Cos" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeRiskCenterServerRiskListWithContext ¶
func (c *Client) DescribeRiskCenterServerRiskListWithContext(ctx context.Context, request *DescribeRiskCenterServerRiskListRequest) (response *DescribeRiskCenterServerRiskListResponse, err error)
DescribeRiskCenterServerRiskList This API is used to query the list of services in risk.
error code that may be returned:
AUTHFAILURE = "AuthFailure" DRYRUNOPERATION = "DryRunOperation" FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDFILTER = "InvalidFilter" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_DECRYPTERROR = "InvalidParameter.DecryptError" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" REGIONERROR = "RegionError" REQUESTLIMITEXCEEDED = "RequestLimitExceeded" RESOURCEINUSE = "ResourceInUse" RESOURCEINSUFFICIENT = "ResourceInsufficient" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" RESOURCESSOLDOUT = "ResourcesSoldOut" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNAUTHORIZEDOPERATION_CLOUDAUDIT = "UnauthorizedOperation.CloudAudit" UNAUTHORIZEDOPERATION_COS = "UnauthorizedOperation.Cos" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeRiskCenterVULViewVULRiskList ¶
func (c *Client) DescribeRiskCenterVULViewVULRiskList(request *DescribeRiskCenterVULViewVULRiskListRequest) (response *DescribeRiskCenterVULViewVULRiskListResponse, err error)
DescribeRiskCenterVULViewVULRiskList This API is used to query the list of vulnerabilities by vulnerabilities.
error code that may be returned:
AUTHFAILURE = "AuthFailure" DRYRUNOPERATION = "DryRunOperation" FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" REQUESTLIMITEXCEEDED = "RequestLimitExceeded" RESOURCEINUSE = "ResourceInUse" RESOURCEINSUFFICIENT = "ResourceInsufficient" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" RESOURCESSOLDOUT = "ResourcesSoldOut" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeRiskCenterVULViewVULRiskListWithContext ¶
func (c *Client) DescribeRiskCenterVULViewVULRiskListWithContext(ctx context.Context, request *DescribeRiskCenterVULViewVULRiskListRequest) (response *DescribeRiskCenterVULViewVULRiskListResponse, err error)
DescribeRiskCenterVULViewVULRiskList This API is used to query the list of vulnerabilities by vulnerabilities.
error code that may be returned:
AUTHFAILURE = "AuthFailure" DRYRUNOPERATION = "DryRunOperation" FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" REQUESTLIMITEXCEEDED = "RequestLimitExceeded" RESOURCEINUSE = "ResourceInUse" RESOURCEINSUFFICIENT = "ResourceInsufficient" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" RESOURCESSOLDOUT = "ResourcesSoldOut" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeRiskCenterWebsiteRiskList ¶
func (c *Client) DescribeRiskCenterWebsiteRiskList(request *DescribeRiskCenterWebsiteRiskListRequest) (response *DescribeRiskCenterWebsiteRiskListResponse, err error)
DescribeRiskCenterWebsiteRiskList This API is used to get the list of content risks.
error code that may be returned:
AUTHFAILURE = "AuthFailure" DRYRUNOPERATION = "DryRunOperation" FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" REQUESTLIMITEXCEEDED = "RequestLimitExceeded" RESOURCEINUSE = "ResourceInUse" RESOURCEINSUFFICIENT = "ResourceInsufficient" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" RESOURCESSOLDOUT = "ResourcesSoldOut" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeRiskCenterWebsiteRiskListWithContext ¶
func (c *Client) DescribeRiskCenterWebsiteRiskListWithContext(ctx context.Context, request *DescribeRiskCenterWebsiteRiskListRequest) (response *DescribeRiskCenterWebsiteRiskListResponse, err error)
DescribeRiskCenterWebsiteRiskList This API is used to get the list of content risks.
error code that may be returned:
AUTHFAILURE = "AuthFailure" DRYRUNOPERATION = "DryRunOperation" FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" REQUESTLIMITEXCEEDED = "RequestLimitExceeded" RESOURCEINUSE = "ResourceInUse" RESOURCEINSUFFICIENT = "ResourceInsufficient" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" RESOURCESSOLDOUT = "ResourcesSoldOut" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeScanReportList ¶
func (c *Client) DescribeScanReportList(request *DescribeScanReportListRequest) (response *DescribeScanReportListResponse, err error)
DescribeScanReportList This API is used to get the list of scan reports.
error code that may be returned:
AUTHFAILURE = "AuthFailure" DRYRUNOPERATION = "DryRunOperation" FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" REQUESTLIMITEXCEEDED = "RequestLimitExceeded" RESOURCEINUSE = "ResourceInUse" RESOURCEINSUFFICIENT = "ResourceInsufficient" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" RESOURCESSOLDOUT = "ResourcesSoldOut" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeScanReportListWithContext ¶
func (c *Client) DescribeScanReportListWithContext(ctx context.Context, request *DescribeScanReportListRequest) (response *DescribeScanReportListResponse, err error)
DescribeScanReportList This API is used to get the list of scan reports.
error code that may be returned:
AUTHFAILURE = "AuthFailure" DRYRUNOPERATION = "DryRunOperation" FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" REQUESTLIMITEXCEEDED = "RequestLimitExceeded" RESOURCEINUSE = "ResourceInUse" RESOURCEINSUFFICIENT = "ResourceInsufficient" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" RESOURCESSOLDOUT = "ResourcesSoldOut" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeScanTaskList ¶
func (c *Client) DescribeScanTaskList(request *DescribeScanTaskListRequest) (response *DescribeScanTaskListResponse, err error)
DescribeScanTaskList This API is used to get the list of scan tasks.
error code that may be returned:
AUTHFAILURE = "AuthFailure" DRYRUNOPERATION = "DryRunOperation" FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" REQUESTLIMITEXCEEDED = "RequestLimitExceeded" RESOURCEINUSE = "ResourceInUse" RESOURCEINSUFFICIENT = "ResourceInsufficient" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" RESOURCESSOLDOUT = "ResourcesSoldOut" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeScanTaskListWithContext ¶
func (c *Client) DescribeScanTaskListWithContext(ctx context.Context, request *DescribeScanTaskListRequest) (response *DescribeScanTaskListResponse, err error)
DescribeScanTaskList This API is used to get the list of scan tasks.
error code that may be returned:
AUTHFAILURE = "AuthFailure" DRYRUNOPERATION = "DryRunOperation" FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" REQUESTLIMITEXCEEDED = "RequestLimitExceeded" RESOURCEINUSE = "ResourceInUse" RESOURCEINSUFFICIENT = "ResourceInsufficient" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" RESOURCESSOLDOUT = "ResourcesSoldOut" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeSearchBugInfo ¶
func (c *Client) DescribeSearchBugInfo(request *DescribeSearchBugInfoRequest) (response *DescribeSearchBugInfoResponse, err error)
DescribeSearchBugInfo This API is used to query information of a vulnerability.
error code that may be returned:
AUTHFAILURE = "AuthFailure" DRYRUNOPERATION = "DryRunOperation" FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" REQUESTLIMITEXCEEDED = "RequestLimitExceeded" RESOURCEINUSE = "ResourceInUse" RESOURCEINSUFFICIENT = "ResourceInsufficient" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" RESOURCESSOLDOUT = "ResourcesSoldOut" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeSearchBugInfoWithContext ¶
func (c *Client) DescribeSearchBugInfoWithContext(ctx context.Context, request *DescribeSearchBugInfoRequest) (response *DescribeSearchBugInfoResponse, err error)
DescribeSearchBugInfo This API is used to query information of a vulnerability.
error code that may be returned:
AUTHFAILURE = "AuthFailure" DRYRUNOPERATION = "DryRunOperation" FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" REQUESTLIMITEXCEEDED = "RequestLimitExceeded" RESOURCEINUSE = "ResourceInUse" RESOURCEINSUFFICIENT = "ResourceInsufficient" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" RESOURCESSOLDOUT = "ResourcesSoldOut" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeSubnetAssets ¶
func (c *Client) DescribeSubnetAssets(request *DescribeSubnetAssetsRequest) (response *DescribeSubnetAssetsResponse, err error)
DescribeSubnetAssets This API is used to get the list of subnets.
error code that may be returned:
AUTHFAILURE = "AuthFailure" DRYRUNOPERATION = "DryRunOperation" FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" REQUESTLIMITEXCEEDED = "RequestLimitExceeded" RESOURCEINUSE = "ResourceInUse" RESOURCEINSUFFICIENT = "ResourceInsufficient" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" RESOURCESSOLDOUT = "ResourcesSoldOut" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeSubnetAssetsWithContext ¶
func (c *Client) DescribeSubnetAssetsWithContext(ctx context.Context, request *DescribeSubnetAssetsRequest) (response *DescribeSubnetAssetsResponse, err error)
DescribeSubnetAssets This API is used to get the list of subnets.
error code that may be returned:
AUTHFAILURE = "AuthFailure" DRYRUNOPERATION = "DryRunOperation" FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" REQUESTLIMITEXCEEDED = "RequestLimitExceeded" RESOURCEINUSE = "ResourceInUse" RESOURCEINSUFFICIENT = "ResourceInsufficient" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" RESOURCESSOLDOUT = "ResourcesSoldOut" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeTaskLogList ¶
func (c *Client) DescribeTaskLogList(request *DescribeTaskLogListRequest) (response *DescribeTaskLogListResponse, err error)
DescribeTaskLogList This API is used to get the list of scan task reports.
error code that may be returned:
AUTHFAILURE = "AuthFailure" DRYRUNOPERATION = "DryRunOperation" FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" REQUESTLIMITEXCEEDED = "RequestLimitExceeded" RESOURCEINUSE = "ResourceInUse" RESOURCEINSUFFICIENT = "ResourceInsufficient" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" RESOURCESSOLDOUT = "ResourcesSoldOut" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeTaskLogListWithContext ¶
func (c *Client) DescribeTaskLogListWithContext(ctx context.Context, request *DescribeTaskLogListRequest) (response *DescribeTaskLogListResponse, err error)
DescribeTaskLogList This API is used to get the list of scan task reports.
error code that may be returned:
AUTHFAILURE = "AuthFailure" DRYRUNOPERATION = "DryRunOperation" FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" REQUESTLIMITEXCEEDED = "RequestLimitExceeded" RESOURCEINUSE = "ResourceInUse" RESOURCEINSUFFICIENT = "ResourceInsufficient" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" RESOURCESSOLDOUT = "ResourcesSoldOut" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeTaskLogURL ¶
func (c *Client) DescribeTaskLogURL(request *DescribeTaskLogURLRequest) (response *DescribeTaskLogURLResponse, err error)
DescribeTaskLogURL This API is used to get the temp download link of a report.
error code that may be returned:
AUTHFAILURE = "AuthFailure" DRYRUNOPERATION = "DryRunOperation" FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" REQUESTLIMITEXCEEDED = "RequestLimitExceeded" RESOURCEINUSE = "ResourceInUse" RESOURCEINSUFFICIENT = "ResourceInsufficient" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" RESOURCESSOLDOUT = "ResourcesSoldOut" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeTaskLogURLWithContext ¶
func (c *Client) DescribeTaskLogURLWithContext(ctx context.Context, request *DescribeTaskLogURLRequest) (response *DescribeTaskLogURLResponse, err error)
DescribeTaskLogURL This API is used to get the temp download link of a report.
error code that may be returned:
AUTHFAILURE = "AuthFailure" DRYRUNOPERATION = "DryRunOperation" FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" REQUESTLIMITEXCEEDED = "RequestLimitExceeded" RESOURCEINUSE = "ResourceInUse" RESOURCEINSUFFICIENT = "ResourceInsufficient" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" RESOURCESSOLDOUT = "ResourcesSoldOut" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeVULRiskAdvanceCFGList ¶
func (c *Client) DescribeVULRiskAdvanceCFGList(request *DescribeVULRiskAdvanceCFGListRequest) (response *DescribeVULRiskAdvanceCFGListResponse, err error)
DescribeVULRiskAdvanceCFGList This API is used to query the advanced configuration of vulnerability scan.
error code that may be returned:
AUTHFAILURE = "AuthFailure" DRYRUNOPERATION = "DryRunOperation" FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" REQUESTLIMITEXCEEDED = "RequestLimitExceeded" RESOURCEINUSE = "ResourceInUse" RESOURCEINSUFFICIENT = "ResourceInsufficient" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" RESOURCESSOLDOUT = "ResourcesSoldOut" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeVULRiskAdvanceCFGListWithContext ¶
func (c *Client) DescribeVULRiskAdvanceCFGListWithContext(ctx context.Context, request *DescribeVULRiskAdvanceCFGListRequest) (response *DescribeVULRiskAdvanceCFGListResponse, err error)
DescribeVULRiskAdvanceCFGList This API is used to query the advanced configuration of vulnerability scan.
error code that may be returned:
AUTHFAILURE = "AuthFailure" DRYRUNOPERATION = "DryRunOperation" FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" REQUESTLIMITEXCEEDED = "RequestLimitExceeded" RESOURCEINUSE = "ResourceInUse" RESOURCEINSUFFICIENT = "ResourceInsufficient" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" RESOURCESSOLDOUT = "ResourcesSoldOut" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeVpcAssets ¶
func (c *Client) DescribeVpcAssets(request *DescribeVpcAssetsRequest) (response *DescribeVpcAssetsResponse, err error)
DescribeVpcAssets This API is used to get the list of VPCs.
error code that may be returned:
AUTHFAILURE = "AuthFailure" DRYRUNOPERATION = "DryRunOperation" FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" REQUESTLIMITEXCEEDED = "RequestLimitExceeded" RESOURCEINUSE = "ResourceInUse" RESOURCEINSUFFICIENT = "ResourceInsufficient" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" RESOURCESSOLDOUT = "ResourcesSoldOut" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeVpcAssetsWithContext ¶
func (c *Client) DescribeVpcAssetsWithContext(ctx context.Context, request *DescribeVpcAssetsRequest) (response *DescribeVpcAssetsResponse, err error)
DescribeVpcAssets This API is used to get the list of VPCs.
error code that may be returned:
AUTHFAILURE = "AuthFailure" DRYRUNOPERATION = "DryRunOperation" FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" REQUESTLIMITEXCEEDED = "RequestLimitExceeded" RESOURCEINUSE = "ResourceInUse" RESOURCEINSUFFICIENT = "ResourceInsufficient" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" RESOURCESSOLDOUT = "ResourcesSoldOut" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) ModifyRiskCenterRiskStatus ¶
func (c *Client) ModifyRiskCenterRiskStatus(request *ModifyRiskCenterRiskStatusRequest) (response *ModifyRiskCenterRiskStatusResponse, err error)
ModifyRiskCenterRiskStatus This API is used to modify the status of a risk.
error code that may be returned:
AUTHFAILURE = "AuthFailure" DRYRUNOPERATION = "DryRunOperation" FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" REQUESTLIMITEXCEEDED = "RequestLimitExceeded" RESOURCEINUSE = "ResourceInUse" RESOURCEINSUFFICIENT = "ResourceInsufficient" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" RESOURCESSOLDOUT = "ResourcesSoldOut" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) ModifyRiskCenterRiskStatusWithContext ¶
func (c *Client) ModifyRiskCenterRiskStatusWithContext(ctx context.Context, request *ModifyRiskCenterRiskStatusRequest) (response *ModifyRiskCenterRiskStatusResponse, err error)
ModifyRiskCenterRiskStatus This API is used to modify the status of a risk.
error code that may be returned:
AUTHFAILURE = "AuthFailure" DRYRUNOPERATION = "DryRunOperation" FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" REQUESTLIMITEXCEEDED = "RequestLimitExceeded" RESOURCEINUSE = "ResourceInUse" RESOURCEINSUFFICIENT = "ResourceInsufficient" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" RESOURCESSOLDOUT = "ResourcesSoldOut" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) StopRiskCenterTask ¶
func (c *Client) StopRiskCenterTask(request *StopRiskCenterTaskRequest) (response *StopRiskCenterTaskResponse, err error)
StopRiskCenterTask This API is used to stop a scan task.
error code that may be returned:
AUTHFAILURE = "AuthFailure" DRYRUNOPERATION = "DryRunOperation" FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" REQUESTLIMITEXCEEDED = "RequestLimitExceeded" RESOURCEINUSE = "ResourceInUse" RESOURCEINSUFFICIENT = "ResourceInsufficient" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" RESOURCESSOLDOUT = "ResourcesSoldOut" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) StopRiskCenterTaskWithContext ¶
func (c *Client) StopRiskCenterTaskWithContext(ctx context.Context, request *StopRiskCenterTaskRequest) (response *StopRiskCenterTaskResponse, err error)
StopRiskCenterTask This API is used to stop a scan task.
error code that may be returned:
AUTHFAILURE = "AuthFailure" DRYRUNOPERATION = "DryRunOperation" FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" REQUESTLIMITEXCEEDED = "RequestLimitExceeded" RESOURCEINUSE = "ResourceInUse" RESOURCEINSUFFICIENT = "ResourceInsufficient" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" RESOURCESSOLDOUT = "ResourcesSoldOut" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
type CreateDomainAndIpRequest ¶
type CreateDomainAndIpRequest struct { *tchttp.BaseRequest // Public IP/domain name Content []*string `json:"Content,omitnil,omitempty" name:"Content"` // Asset tags Tags []*AssetTag `json:"Tags,omitnil,omitempty" name:"Tags"` }
func NewCreateDomainAndIpRequest ¶
func NewCreateDomainAndIpRequest() (request *CreateDomainAndIpRequest)
func (*CreateDomainAndIpRequest) FromJsonString ¶
func (r *CreateDomainAndIpRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateDomainAndIpRequest) ToJsonString ¶
func (r *CreateDomainAndIpRequest) ToJsonString() string
type CreateDomainAndIpRequestParams ¶
type CreateDomainAndIpRequestParams struct { // Public IP/domain name Content []*string `json:"Content,omitnil,omitempty" name:"Content"` // Asset tags Tags []*AssetTag `json:"Tags,omitnil,omitempty" name:"Tags"` }
Predefined struct for user
type CreateDomainAndIpResponse ¶
type CreateDomainAndIpResponse struct { *tchttp.BaseResponse Response *CreateDomainAndIpResponseParams `json:"Response"` }
func NewCreateDomainAndIpResponse ¶
func NewCreateDomainAndIpResponse() (response *CreateDomainAndIpResponse)
func (*CreateDomainAndIpResponse) FromJsonString ¶
func (r *CreateDomainAndIpResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateDomainAndIpResponse) ToJsonString ¶
func (r *CreateDomainAndIpResponse) ToJsonString() string
type CreateDomainAndIpResponseParams ¶
type CreateDomainAndIpResponseParams struct { // Number of created assets Data *int64 `json:"Data,omitnil,omitempty" name:"Data"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type CreateRiskCenterScanTaskRequest ¶
type CreateRiskCenterScanTaskRequest struct { *tchttp.BaseRequest // Task name TaskName *string `json:"TaskName,omitnil,omitempty" name:"TaskName"` // Values: `0` (Scan all); `1` (Scan specific assets); `2` (Scan all expect the specified assets); `3` (Custom assets). When `ScanAssetType=1/2`, `Assets` is required. When `ScanAssetType=3`, `SelfDefiningAssets` is required. ScanAssetType *int64 `json:"ScanAssetType,omitnil,omitempty" name:"ScanAssetType"` // Project to scan: port/poc/weakpass/webcontent/configrisk/exposedserver ScanItem []*string `json:"ScanItem,omitnil,omitempty" name:"ScanItem"` // Task type. `0`: Scheduled task, `1`: Scan immediately; `2`: Scanned at the specified time; `3`: Custom. When ScanPlanType=0,2,3, `ScanPlanContent` is required. ScanPlanType *int64 `json:"ScanPlanType,omitnil,omitempty" name:"ScanPlanType"` // List of assets to scan Assets []*TaskAssetObject `json:"Assets,omitnil,omitempty" name:"Assets"` // Details of a scheduled scan task ScanPlanContent *string `json:"ScanPlanContent,omitnil,omitempty" name:"ScanPlanContent"` // IP/Domain name/URL SelfDefiningAssets []*string `json:"SelfDefiningAssets,omitnil,omitempty" name:"SelfDefiningAssets"` // Request source. Values: `vss` (Vulnerability Scan Service), `csip` (Cloud Security Center). It defaults to `vss`. ScanFrom *string `json:"ScanFrom,omitnil,omitempty" name:"ScanFrom"` // Advanced settings TaskAdvanceCFG *TaskAdvanceCFG `json:"TaskAdvanceCFG,omitnil,omitempty" name:"TaskAdvanceCFG"` // Scan task mode: `0` (Standard), `1` (Quick), `2` (Advanced). Default: `0` TaskMode *int64 `json:"TaskMode,omitnil,omitempty" name:"TaskMode"` // Asset tags Tags *AssetTag `json:"Tags,omitnil,omitempty" name:"Tags"` }
func NewCreateRiskCenterScanTaskRequest ¶
func NewCreateRiskCenterScanTaskRequest() (request *CreateRiskCenterScanTaskRequest)
func (*CreateRiskCenterScanTaskRequest) FromJsonString ¶
func (r *CreateRiskCenterScanTaskRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateRiskCenterScanTaskRequest) ToJsonString ¶
func (r *CreateRiskCenterScanTaskRequest) ToJsonString() string
type CreateRiskCenterScanTaskRequestParams ¶
type CreateRiskCenterScanTaskRequestParams struct { // Task name TaskName *string `json:"TaskName,omitnil,omitempty" name:"TaskName"` // Values: `0` (Scan all); `1` (Scan specific assets); `2` (Scan all expect the specified assets); `3` (Custom assets). When `ScanAssetType=1/2`, `Assets` is required. When `ScanAssetType=3`, `SelfDefiningAssets` is required. ScanAssetType *int64 `json:"ScanAssetType,omitnil,omitempty" name:"ScanAssetType"` // Project to scan: port/poc/weakpass/webcontent/configrisk/exposedserver ScanItem []*string `json:"ScanItem,omitnil,omitempty" name:"ScanItem"` // Task type. `0`: Scheduled task, `1`: Scan immediately; `2`: Scanned at the specified time; `3`: Custom. When ScanPlanType=0,2,3, `ScanPlanContent` is required. ScanPlanType *int64 `json:"ScanPlanType,omitnil,omitempty" name:"ScanPlanType"` // List of assets to scan Assets []*TaskAssetObject `json:"Assets,omitnil,omitempty" name:"Assets"` // Details of a scheduled scan task ScanPlanContent *string `json:"ScanPlanContent,omitnil,omitempty" name:"ScanPlanContent"` // IP/Domain name/URL SelfDefiningAssets []*string `json:"SelfDefiningAssets,omitnil,omitempty" name:"SelfDefiningAssets"` // Request source. Values: `vss` (Vulnerability Scan Service), `csip` (Cloud Security Center). It defaults to `vss`. ScanFrom *string `json:"ScanFrom,omitnil,omitempty" name:"ScanFrom"` // Advanced settings TaskAdvanceCFG *TaskAdvanceCFG `json:"TaskAdvanceCFG,omitnil,omitempty" name:"TaskAdvanceCFG"` // Scan task mode: `0` (Standard), `1` (Quick), `2` (Advanced). Default: `0` TaskMode *int64 `json:"TaskMode,omitnil,omitempty" name:"TaskMode"` // Asset tags Tags *AssetTag `json:"Tags,omitnil,omitempty" name:"Tags"` }
Predefined struct for user
type CreateRiskCenterScanTaskResponse ¶
type CreateRiskCenterScanTaskResponse struct { *tchttp.BaseResponse Response *CreateRiskCenterScanTaskResponseParams `json:"Response"` }
func NewCreateRiskCenterScanTaskResponse ¶
func NewCreateRiskCenterScanTaskResponse() (response *CreateRiskCenterScanTaskResponse)
func (*CreateRiskCenterScanTaskResponse) FromJsonString ¶
func (r *CreateRiskCenterScanTaskResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateRiskCenterScanTaskResponse) ToJsonString ¶
func (r *CreateRiskCenterScanTaskResponse) ToJsonString() string
type CreateRiskCenterScanTaskResponseParams ¶
type CreateRiskCenterScanTaskResponseParams struct { // Task ID. TaskId *string `json:"TaskId,omitnil,omitempty" name:"TaskId"` // `0`: Task created successfully. `-1`: There are unauthorized assets. Status *int64 `json:"Status,omitnil,omitempty" name:"Status"` // List of unauthorized assets UnAuthAsset []*string `json:"UnAuthAsset,omitnil,omitempty" name:"UnAuthAsset"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DBAssetVO ¶
type DBAssetVO struct { // Asset ID // Note: This field may return·null, indicating that no valid values can be obtained. AssetId *string `json:"AssetId,omitnil,omitempty" name:"AssetId"` // Asset name // Note: This field may return·null, indicating that no valid values can be obtained. AssetName *string `json:"AssetName,omitnil,omitempty" name:"AssetName"` // Asset type // Note: This field may return·null, indicating that no valid values can be obtained. AssetType *string `json:"AssetType,omitnil,omitempty" name:"AssetType"` VpcId *string `json:"VpcId,omitnil,omitempty" name:"VpcId"` // VPC tags // Note: This field may return·null, indicating that no valid values can be obtained. VpcName *string `json:"VpcName,omitnil,omitempty" name:"VpcName"` // Region // Note: This field may return·null, indicating that no valid values can be obtained. Region *string `json:"Region,omitnil,omitempty" name:"Region"` // Domain name // Note: This field may return·null, indicating that no valid values can be obtained. Domain *string `json:"Domain,omitnil,omitempty" name:"Domain"` // Asset creation time // Note: This field may return·null, indicating that no valid values can be obtained. AssetCreateTime *string `json:"AssetCreateTime,omitnil,omitempty" name:"AssetCreateTime"` // Last scan time // Note: This field may return·null, indicating that no valid values can be obtained. LastScanTime *string `json:"LastScanTime,omitnil,omitempty" name:"LastScanTime"` // Configuration risks // Note: This field may return·null, indicating that no valid values can be obtained. ConfigurationRisk *uint64 `json:"ConfigurationRisk,omitnil,omitempty" name:"ConfigurationRisk"` // Network attacks // Note: This field may return·null, indicating that no valid values can be obtained. Attack *uint64 `json:"Attack,omitnil,omitempty" name:"Attack"` Access *uint64 `json:"Access,omitnil,omitempty" name:"Access"` // Scan tasks // Note: This field may return·null, indicating that no valid values can be obtained. ScanTask *uint64 `json:"ScanTask,omitnil,omitempty" name:"ScanTask"` // User `appid` // Note: This field may return·null, indicating that no valid values can be obtained. AppId *uint64 `json:"AppId,omitnil,omitempty" name:"AppId"` // User UIN // Note: This field may return·null, indicating that no valid values can be obtained. Uin *string `json:"Uin,omitnil,omitempty" name:"Uin"` // User name // Note: This field may return·null, indicating that no valid values can be obtained. NickName *string `json:"NickName,omitnil,omitempty" name:"NickName"` // Port // Note: This field may return·null, indicating that no valid values can be obtained. Port *uint64 `json:"Port,omitnil,omitempty" name:"Port"` // Tags // Note: This field may return·null, indicating that no valid values can be obtained. Tag []*Tag `json:"Tag,omitnil,omitempty" name:"Tag"` // Private IP // Note: This field may return·null, indicating that no valid values can be obtained. PrivateIp *string `json:"PrivateIp,omitnil,omitempty" name:"PrivateIp"` // Public IP // Note: This field may return·null, indicating that no valid values can be obtained. PublicIp *string `json:"PublicIp,omitnil,omitempty" name:"PublicIp"` // Status // Note: This field may return·null, indicating that no valid values can be obtained. Status *uint64 `json:"Status,omitnil,omitempty" name:"Status"` // Whether it's a critical asset // Note: This field may return·null, indicating that no valid values can be obtained. IsCore *uint64 `json:"IsCore,omitnil,omitempty" name:"IsCore"` // Whether it's a newly-added asset. Values: `1` (Yes), `0` (No) // Note: This field may return·null, indicating that no valid values can be obtained. IsNewAsset *uint64 `json:"IsNewAsset,omitnil,omitempty" name:"IsNewAsset"` }
type DataSearchBug ¶
type DataSearchBug struct { // Query status code StateCode *string `json:"StateCode,omitnil,omitempty" name:"StateCode"` // // Note: This field may return·null, indicating that no valid values can be obtained. DataBug []*BugInfoDetail `json:"DataBug,omitnil,omitempty" name:"DataBug"` // None // Note: This field may return·null, indicating that no valid values can be obtained. DataAsset []*AssetInfoDetail `json:"DataAsset,omitnil,omitempty" name:"DataAsset"` // `true`: Support vulnerability scan; `false`: Do not support vulnerability scan // Note: This field may return·null, indicating that no valid values can be obtained. VSSScan *bool `json:"VSSScan,omitnil,omitempty" name:"VSSScan"` // `0`: Do not support; `1`: Support // Note: This field may return·null, indicating that no valid values can be obtained. CWPScan *string `json:"CWPScan,omitnil,omitempty" name:"CWPScan"` // `1`: Support virtual patches; `0` or null: Do not support // Note: This field may return·null, indicating that no valid values can be obtained. CFWPatch *string `json:"CFWPatch,omitnil,omitempty" name:"CFWPatch"` // `0`: Do not support; `1`: Support // Note: This field may return·null, indicating that no valid values can be obtained. WafPatch *int64 `json:"WafPatch,omitnil,omitempty" name:"WafPatch"` // `0`: Do not support; `1`: Support // Note: This field may return·null, indicating that no valid values can be obtained. CWPFix *int64 `json:"CWPFix,omitnil,omitempty" name:"CWPFix"` }
type DbAssetInfo ¶
type DbAssetInfo struct { // CFW status // Note: This field may return·null, indicating that no valid values can be obtained. CFWStatus *uint64 `json:"CFWStatus,omitnil,omitempty" name:"CFWStatus"` // Asset ID // Note: This field may return·null, indicating that no valid values can be obtained. AssetId *string `json:"AssetId,omitnil,omitempty" name:"AssetId"` // VPC information // Note: This field may return·null, indicating that no valid values can be obtained. VpcName *string `json:"VpcName,omitnil,omitempty" name:"VpcName"` // Asset type // Note: This field may return·null, indicating that no valid values can be obtained. AssetType *string `json:"AssetType,omitnil,omitempty" name:"AssetType"` // Public IP // Note: This field may return·null, indicating that no valid values can be obtained. PublicIp *string `json:"PublicIp,omitnil,omitempty" name:"PublicIp"` // Private IP // Note: This field may return·null, indicating that no valid values can be obtained. PrivateIp *string `json:"PrivateIp,omitnil,omitempty" name:"PrivateIp"` // Region // Note: This field may return·null, indicating that no valid values can be obtained. Region *string `json:"Region,omitnil,omitempty" name:"Region"` VpcId *string `json:"VpcId,omitnil,omitempty" name:"VpcId"` // Asset name // Note: This field may return·null, indicating that no valid values can be obtained. AssetName *string `json:"AssetName,omitnil,omitempty" name:"AssetName"` // CFW edition // Note: This field may return·null, indicating that no valid values can be obtained. CFWProtectLevel *uint64 `json:"CFWProtectLevel,omitnil,omitempty" name:"CFWProtectLevel"` // Tag information // Note: This field may return·null, indicating that no valid values can be obtained. Tag []*Tag `json:"Tag,omitnil,omitempty" name:"Tag"` }
type DeleteDomainAndIpRequest ¶
type DeleteDomainAndIpRequest struct { *tchttp.BaseRequest // u200c- Content []*PublicIpDomainListKey `json:"Content,omitnil,omitempty" name:"Content"` // Whether to retain the path configuration. `1`: Retain; Others: Do not retain. It defaults to do not retain if not specified. RetainPath *int64 `json:"RetainPath,omitnil,omitempty" name:"RetainPath"` // Whether to ignore this asset in the future. `1`: Ignore; Others: Do not ignore. It defaults to ignore if not specified. IgnoreAsset *int64 `json:"IgnoreAsset,omitnil,omitempty" name:"IgnoreAsset"` // Asset tags Tags []*AssetTag `json:"Tags,omitnil,omitempty" name:"Tags"` // Deletion mode. Values: `ALL` (delete all). If it's not specified, `Content` is required. Type *string `json:"Type,omitnil,omitempty" name:"Type"` }
func NewDeleteDomainAndIpRequest ¶
func NewDeleteDomainAndIpRequest() (request *DeleteDomainAndIpRequest)
func (*DeleteDomainAndIpRequest) FromJsonString ¶
func (r *DeleteDomainAndIpRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteDomainAndIpRequest) ToJsonString ¶
func (r *DeleteDomainAndIpRequest) ToJsonString() string
type DeleteDomainAndIpRequestParams ¶
type DeleteDomainAndIpRequestParams struct { // u200c- Content []*PublicIpDomainListKey `json:"Content,omitnil,omitempty" name:"Content"` // Whether to retain the path configuration. `1`: Retain; Others: Do not retain. It defaults to do not retain if not specified. RetainPath *int64 `json:"RetainPath,omitnil,omitempty" name:"RetainPath"` // Whether to ignore this asset in the future. `1`: Ignore; Others: Do not ignore. It defaults to ignore if not specified. IgnoreAsset *int64 `json:"IgnoreAsset,omitnil,omitempty" name:"IgnoreAsset"` // Asset tags Tags []*AssetTag `json:"Tags,omitnil,omitempty" name:"Tags"` // Deletion mode. Values: `ALL` (delete all). If it's not specified, `Content` is required. Type *string `json:"Type,omitnil,omitempty" name:"Type"` }
Predefined struct for user
type DeleteDomainAndIpResponse ¶
type DeleteDomainAndIpResponse struct { *tchttp.BaseResponse Response *DeleteDomainAndIpResponseParams `json:"Response"` }
func NewDeleteDomainAndIpResponse ¶
func NewDeleteDomainAndIpResponse() (response *DeleteDomainAndIpResponse)
func (*DeleteDomainAndIpResponse) FromJsonString ¶
func (r *DeleteDomainAndIpResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteDomainAndIpResponse) ToJsonString ¶
func (r *DeleteDomainAndIpResponse) ToJsonString() string
type DeleteDomainAndIpResponseParams ¶
type DeleteDomainAndIpResponseParams struct { // Number of deleted assets Data *int64 `json:"Data,omitnil,omitempty" name:"Data"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DeleteRiskScanTaskRequest ¶
type DeleteRiskScanTaskRequest struct { *tchttp.BaseRequest // List of task IDs TaskIdList []*TaskIdListKey `json:"TaskIdList,omitnil,omitempty" name:"TaskIdList"` }
func NewDeleteRiskScanTaskRequest ¶
func NewDeleteRiskScanTaskRequest() (request *DeleteRiskScanTaskRequest)
func (*DeleteRiskScanTaskRequest) FromJsonString ¶
func (r *DeleteRiskScanTaskRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteRiskScanTaskRequest) ToJsonString ¶
func (r *DeleteRiskScanTaskRequest) ToJsonString() string
type DeleteRiskScanTaskRequestParams ¶
type DeleteRiskScanTaskRequestParams struct { // List of task IDs TaskIdList []*TaskIdListKey `json:"TaskIdList,omitnil,omitempty" name:"TaskIdList"` }
Predefined struct for user
type DeleteRiskScanTaskResponse ¶
type DeleteRiskScanTaskResponse struct { *tchttp.BaseResponse Response *DeleteRiskScanTaskResponseParams `json:"Response"` }
func NewDeleteRiskScanTaskResponse ¶
func NewDeleteRiskScanTaskResponse() (response *DeleteRiskScanTaskResponse)
func (*DeleteRiskScanTaskResponse) FromJsonString ¶
func (r *DeleteRiskScanTaskResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteRiskScanTaskResponse) ToJsonString ¶
func (r *DeleteRiskScanTaskResponse) ToJsonString() string
type DeleteRiskScanTaskResponseParams ¶
type DeleteRiskScanTaskResponseParams struct { // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeCVMAssetInfoRequest ¶
type DescribeCVMAssetInfoRequest struct { *tchttp.BaseRequest // u200c- AssetId *string `json:"AssetId,omitnil,omitempty" name:"AssetId"` }
func NewDescribeCVMAssetInfoRequest ¶
func NewDescribeCVMAssetInfoRequest() (request *DescribeCVMAssetInfoRequest)
func (*DescribeCVMAssetInfoRequest) FromJsonString ¶
func (r *DescribeCVMAssetInfoRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeCVMAssetInfoRequest) ToJsonString ¶
func (r *DescribeCVMAssetInfoRequest) ToJsonString() string
type DescribeCVMAssetInfoRequestParams ¶
type DescribeCVMAssetInfoRequestParams struct { // u200c- AssetId *string `json:"AssetId,omitnil,omitempty" name:"AssetId"` }
Predefined struct for user
type DescribeCVMAssetInfoResponse ¶
type DescribeCVMAssetInfoResponse struct { *tchttp.BaseResponse Response *DescribeCVMAssetInfoResponseParams `json:"Response"` }
func NewDescribeCVMAssetInfoResponse ¶
func NewDescribeCVMAssetInfoResponse() (response *DescribeCVMAssetInfoResponse)
func (*DescribeCVMAssetInfoResponse) FromJsonString ¶
func (r *DescribeCVMAssetInfoResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeCVMAssetInfoResponse) ToJsonString ¶
func (r *DescribeCVMAssetInfoResponse) ToJsonString() string
type DescribeCVMAssetInfoResponseParams ¶
type DescribeCVMAssetInfoResponseParams struct { // u200c- // Note: This field may return·null, indicating that no valid values can be obtained. Data *AssetBaseInfoResponse `json:"Data,omitnil,omitempty" name:"Data"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeCVMAssetsRequest ¶
type DescribeCVMAssetsRequest struct { *tchttp.BaseRequest // u200c- Filter *Filter `json:"Filter,omitnil,omitempty" name:"Filter"` }
func NewDescribeCVMAssetsRequest ¶
func NewDescribeCVMAssetsRequest() (request *DescribeCVMAssetsRequest)
func (*DescribeCVMAssetsRequest) FromJsonString ¶
func (r *DescribeCVMAssetsRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeCVMAssetsRequest) ToJsonString ¶
func (r *DescribeCVMAssetsRequest) ToJsonString() string
type DescribeCVMAssetsRequestParams ¶
type DescribeCVMAssetsRequestParams struct { // u200c- Filter *Filter `json:"Filter,omitnil,omitempty" name:"Filter"` }
Predefined struct for user
type DescribeCVMAssetsResponse ¶
type DescribeCVMAssetsResponse struct { *tchttp.BaseResponse Response *DescribeCVMAssetsResponseParams `json:"Response"` }
func NewDescribeCVMAssetsResponse ¶
func NewDescribeCVMAssetsResponse() (response *DescribeCVMAssetsResponse)
func (*DescribeCVMAssetsResponse) FromJsonString ¶
func (r *DescribeCVMAssetsResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeCVMAssetsResponse) ToJsonString ¶
func (r *DescribeCVMAssetsResponse) ToJsonString() string
type DescribeCVMAssetsResponseParams ¶
type DescribeCVMAssetsResponseParams struct { // u200c- // Note: This field may return·null, indicating that no valid values can be obtained. Total *uint64 `json:"Total,omitnil,omitempty" name:"Total"` // u200c- // Note: This field may return·null, indicating that no valid values can be obtained. Data []*CVMAssetVO `json:"Data,omitnil,omitempty" name:"Data"` // List of regions // Note: This field may return·null, indicating that no valid values can be obtained. RegionList []*FilterDataObject `json:"RegionList,omitnil,omitempty" name:"RegionList"` // Protection status // Note: This field may return·null, indicating that no valid values can be obtained. DefenseStatusList []*FilterDataObject `json:"DefenseStatusList,omitnil,omitempty" name:"DefenseStatusList"` // List of VPCs // Note: This field may return·null, indicating that no valid values can be obtained. VpcList []*FilterDataObject `json:"VpcList,omitnil,omitempty" name:"VpcList"` // List of asset types // Note: This field may return·null, indicating that no valid values can be obtained. AssetTypeList []*FilterDataObject `json:"AssetTypeList,omitnil,omitempty" name:"AssetTypeList"` // List of operating systems // Note: This field may return·null, indicating that no valid values can be obtained. SystemTypeList []*FilterDataObject `json:"SystemTypeList,omitnil,omitempty" name:"SystemTypeList"` // List of IP types // Note: This field may return·null, indicating that no valid values can be obtained. IpTypeList []*FilterDataObject `json:"IpTypeList,omitnil,omitempty" name:"IpTypeList"` // List of AppIds // Note: This field may return·null, indicating that no valid values can be obtained. AppIdList []*FilterDataObject `json:"AppIdList,omitnil,omitempty" name:"AppIdList"` // List of availability zones // Note: This field may return·null, indicating that no valid values can be obtained. ZoneList []*FilterDataObject `json:"ZoneList,omitnil,omitempty" name:"ZoneList"` // List of operating systems // Note: This field may return·null, indicating that no valid values can be obtained. OsList []*FilterDataObject `json:"OsList,omitnil,omitempty" name:"OsList"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeClusterPodAssetsRequest ¶
type DescribeClusterPodAssetsRequest struct { *tchttp.BaseRequest // Member id MemberId []*string `json:"MemberId,omitnil,omitempty" name:"MemberId"` // Filter conditions Filter *Filter `json:"Filter,omitnil,omitempty" name:"Filter"` }
func NewDescribeClusterPodAssetsRequest ¶
func NewDescribeClusterPodAssetsRequest() (request *DescribeClusterPodAssetsRequest)
func (*DescribeClusterPodAssetsRequest) FromJsonString ¶
func (r *DescribeClusterPodAssetsRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeClusterPodAssetsRequest) ToJsonString ¶
func (r *DescribeClusterPodAssetsRequest) ToJsonString() string
type DescribeClusterPodAssetsRequestParams ¶
type DescribeClusterPodAssetsRequestParams struct { // Member id MemberId []*string `json:"MemberId,omitnil,omitempty" name:"MemberId"` // Filter conditions Filter *Filter `json:"Filter,omitnil,omitempty" name:"Filter"` }
Predefined struct for user
type DescribeClusterPodAssetsResponse ¶
type DescribeClusterPodAssetsResponse struct { *tchttp.BaseResponse Response *DescribeClusterPodAssetsResponseParams `json:"Response"` }
func NewDescribeClusterPodAssetsResponse ¶
func NewDescribeClusterPodAssetsResponse() (response *DescribeClusterPodAssetsResponse)
func (*DescribeClusterPodAssetsResponse) FromJsonString ¶
func (r *DescribeClusterPodAssetsResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeClusterPodAssetsResponse) ToJsonString ¶
func (r *DescribeClusterPodAssetsResponse) ToJsonString() string
type DescribeClusterPodAssetsResponseParams ¶
type DescribeClusterPodAssetsResponseParams struct { // Data list Data []*AssetClusterPod `json:"Data,omitnil,omitempty" name:"Data"` // Total number of results TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"` // List of cluster pod status PodStatusList []*FilterDataObject `json:"PodStatusList,omitnil,omitempty" name:"PodStatusList"` // List of namespaces NamespaceList []*FilterDataObject `json:"NamespaceList,omitnil,omitempty" name:"NamespaceList"` // List of regions RegionList []*FilterDataObject `json:"RegionList,omitnil,omitempty" name:"RegionList"` // List of users (AppId) AppIdList []*FilterDataObject `json:"AppIdList,omitnil,omitempty" name:"AppIdList"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeDbAssetInfoRequest ¶
type DescribeDbAssetInfoRequest struct { *tchttp.BaseRequest // Asset ID AssetId *string `json:"AssetId,omitnil,omitempty" name:"AssetId"` }
func NewDescribeDbAssetInfoRequest ¶
func NewDescribeDbAssetInfoRequest() (request *DescribeDbAssetInfoRequest)
func (*DescribeDbAssetInfoRequest) FromJsonString ¶
func (r *DescribeDbAssetInfoRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeDbAssetInfoRequest) ToJsonString ¶
func (r *DescribeDbAssetInfoRequest) ToJsonString() string
type DescribeDbAssetInfoRequestParams ¶
type DescribeDbAssetInfoRequestParams struct { // Asset ID AssetId *string `json:"AssetId,omitnil,omitempty" name:"AssetId"` }
Predefined struct for user
type DescribeDbAssetInfoResponse ¶
type DescribeDbAssetInfoResponse struct { *tchttp.BaseResponse Response *DescribeDbAssetInfoResponseParams `json:"Response"` }
func NewDescribeDbAssetInfoResponse ¶
func NewDescribeDbAssetInfoResponse() (response *DescribeDbAssetInfoResponse)
func (*DescribeDbAssetInfoResponse) FromJsonString ¶
func (r *DescribeDbAssetInfoResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeDbAssetInfoResponse) ToJsonString ¶
func (r *DescribeDbAssetInfoResponse) ToJsonString() string
type DescribeDbAssetInfoResponseParams ¶
type DescribeDbAssetInfoResponseParams struct { // Details of a database asset. // Note: This field may return·null, indicating that no valid values can be obtained. Data *DbAssetInfo `json:"Data,omitnil,omitempty" name:"Data"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeDbAssetsRequest ¶
type DescribeDbAssetsRequest struct { *tchttp.BaseRequest // u200c- Filter *Filter `json:"Filter,omitnil,omitempty" name:"Filter"` // Asset types. Values: MYSQL/MARIADB/REDIS/MONGODB/POSTGRES/CTS/ES/KAFKA/COS/CBS/CFS AssetTypes []*string `json:"AssetTypes,omitnil,omitempty" name:"AssetTypes"` }
func NewDescribeDbAssetsRequest ¶
func NewDescribeDbAssetsRequest() (request *DescribeDbAssetsRequest)
func (*DescribeDbAssetsRequest) FromJsonString ¶
func (r *DescribeDbAssetsRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeDbAssetsRequest) ToJsonString ¶
func (r *DescribeDbAssetsRequest) ToJsonString() string
type DescribeDbAssetsRequestParams ¶
type DescribeDbAssetsRequestParams struct { // u200c- Filter *Filter `json:"Filter,omitnil,omitempty" name:"Filter"` // Asset types. Values: MYSQL/MARIADB/REDIS/MONGODB/POSTGRES/CTS/ES/KAFKA/COS/CBS/CFS AssetTypes []*string `json:"AssetTypes,omitnil,omitempty" name:"AssetTypes"` }
Predefined struct for user
type DescribeDbAssetsResponse ¶
type DescribeDbAssetsResponse struct { *tchttp.BaseResponse Response *DescribeDbAssetsResponseParams `json:"Response"` }
func NewDescribeDbAssetsResponse ¶
func NewDescribeDbAssetsResponse() (response *DescribeDbAssetsResponse)
func (*DescribeDbAssetsResponse) FromJsonString ¶
func (r *DescribeDbAssetsResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeDbAssetsResponse) ToJsonString ¶
func (r *DescribeDbAssetsResponse) ToJsonString() string
type DescribeDbAssetsResponseParams ¶
type DescribeDbAssetsResponseParams struct { // Total number of results // Note: This field may return·null, indicating that no valid values can be obtained. Total *uint64 `json:"Total,omitnil,omitempty" name:"Total"` // Total of assets // Note: This field may return·null, indicating that no valid values can be obtained. Data []*DBAssetVO `json:"Data,omitnil,omitempty" name:"Data"` // List of regions // Note: This field may return·null, indicating that no valid values can be obtained. RegionList []*FilterDataObject `json:"RegionList,omitnil,omitempty" name:"RegionList"` // List of asset types // Note: This field may return·null, indicating that no valid values can be obtained. AssetTypeList []*FilterDataObject `json:"AssetTypeList,omitnil,omitempty" name:"AssetTypeList"` // List of VPCs // Note: This field may return·null, indicating that no valid values can be obtained. VpcList []*FilterDataObject `json:"VpcList,omitnil,omitempty" name:"VpcList"` // List of users (AppId) // Note: This field may return·null, indicating that no valid values can be obtained. AppIdList []*FilterDataObject `json:"AppIdList,omitnil,omitempty" name:"AppIdList"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeDomainAssetsRequest ¶
type DescribeDomainAssetsRequest struct { *tchttp.BaseRequest // u200c- Filter *Filter `json:"Filter,omitnil,omitempty" name:"Filter"` // CSC tags of the asset Tags []*AssetTag `json:"Tags,omitnil,omitempty" name:"Tags"` }
func NewDescribeDomainAssetsRequest ¶
func NewDescribeDomainAssetsRequest() (request *DescribeDomainAssetsRequest)
func (*DescribeDomainAssetsRequest) FromJsonString ¶
func (r *DescribeDomainAssetsRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeDomainAssetsRequest) ToJsonString ¶
func (r *DescribeDomainAssetsRequest) ToJsonString() string
type DescribeDomainAssetsRequestParams ¶
type DescribeDomainAssetsRequestParams struct { // u200c- Filter *Filter `json:"Filter,omitnil,omitempty" name:"Filter"` // CSC tags of the asset Tags []*AssetTag `json:"Tags,omitnil,omitempty" name:"Tags"` }
Predefined struct for user
type DescribeDomainAssetsResponse ¶
type DescribeDomainAssetsResponse struct { *tchttp.BaseResponse Response *DescribeDomainAssetsResponseParams `json:"Response"` }
func NewDescribeDomainAssetsResponse ¶
func NewDescribeDomainAssetsResponse() (response *DescribeDomainAssetsResponse)
func (*DescribeDomainAssetsResponse) FromJsonString ¶
func (r *DescribeDomainAssetsResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeDomainAssetsResponse) ToJsonString ¶
func (r *DescribeDomainAssetsResponse) ToJsonString() string
type DescribeDomainAssetsResponseParams ¶
type DescribeDomainAssetsResponseParams struct { // u200c- // Note: This field may return·null, indicating that no valid values can be obtained. Total *uint64 `json:"Total,omitnil,omitempty" name:"Total"` // u200c- // Note: This field may return·null, indicating that no valid values can be obtained. Data []*DomainAssetVO `json:"Data,omitnil,omitempty" name:"Data"` // List of WAF protection status // Note: This field may return·null, indicating that no valid values can be obtained. DefenseStatusList []*FilterDataObject `json:"DefenseStatusList,omitnil,omitempty" name:"DefenseStatusList"` // List of asset locations // Note: This field may return·null, indicating that no valid values can be obtained. AssetLocationList []*FilterDataObject `json:"AssetLocationList,omitnil,omitempty" name:"AssetLocationList"` // List of asset types // Note: This field may return·null, indicating that no valid values can be obtained. SourceTypeList []*FilterDataObject `json:"SourceTypeList,omitnil,omitempty" name:"SourceTypeList"` // List of regions // Note: This field may return·null, indicating that no valid values can be obtained. RegionList []*FilterDataObject `json:"RegionList,omitnil,omitempty" name:"RegionList"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeListenerListRequest ¶
type DescribeListenerListRequest struct { *tchttp.BaseRequest // u200c- Filter *Filter `json:"Filter,omitnil,omitempty" name:"Filter"` }
func NewDescribeListenerListRequest ¶
func NewDescribeListenerListRequest() (request *DescribeListenerListRequest)
func (*DescribeListenerListRequest) FromJsonString ¶
func (r *DescribeListenerListRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeListenerListRequest) ToJsonString ¶
func (r *DescribeListenerListRequest) ToJsonString() string
type DescribeListenerListRequestParams ¶
type DescribeListenerListRequestParams struct { // u200c- Filter *Filter `json:"Filter,omitnil,omitempty" name:"Filter"` }
Predefined struct for user
type DescribeListenerListResponse ¶
type DescribeListenerListResponse struct { *tchttp.BaseResponse Response *DescribeListenerListResponseParams `json:"Response"` }
func NewDescribeListenerListResponse ¶
func NewDescribeListenerListResponse() (response *DescribeListenerListResponse)
func (*DescribeListenerListResponse) FromJsonString ¶
func (r *DescribeListenerListResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeListenerListResponse) ToJsonString ¶
func (r *DescribeListenerListResponse) ToJsonString() string
type DescribeListenerListResponseParams ¶
type DescribeListenerListResponseParams struct { // Total number of results // Note: This field may return·null, indicating that no valid values can be obtained. Total *uint64 `json:"Total,omitnil,omitempty" name:"Total"` // List of listeners // Note: This field may return·null, indicating that no valid values can be obtained. Data []*ClbListenerListInfo `json:"Data,omitnil,omitempty" name:"Data"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribePublicIpAssetsRequest ¶
type DescribePublicIpAssetsRequest struct { *tchttp.BaseRequest // Filter conditions Filter *Filter `json:"Filter,omitnil,omitempty" name:"Filter"` // CSC tags of the asset Tags []*AssetTag `json:"Tags,omitnil,omitempty" name:"Tags"` }
func NewDescribePublicIpAssetsRequest ¶
func NewDescribePublicIpAssetsRequest() (request *DescribePublicIpAssetsRequest)
func (*DescribePublicIpAssetsRequest) FromJsonString ¶
func (r *DescribePublicIpAssetsRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribePublicIpAssetsRequest) ToJsonString ¶
func (r *DescribePublicIpAssetsRequest) ToJsonString() string
type DescribePublicIpAssetsRequestParams ¶
type DescribePublicIpAssetsRequestParams struct { // Filter conditions Filter *Filter `json:"Filter,omitnil,omitempty" name:"Filter"` // CSC tags of the asset Tags []*AssetTag `json:"Tags,omitnil,omitempty" name:"Tags"` }
Predefined struct for user
type DescribePublicIpAssetsResponse ¶
type DescribePublicIpAssetsResponse struct { *tchttp.BaseResponse Response *DescribePublicIpAssetsResponseParams `json:"Response"` }
func NewDescribePublicIpAssetsResponse ¶
func NewDescribePublicIpAssetsResponse() (response *DescribePublicIpAssetsResponse)
func (*DescribePublicIpAssetsResponse) FromJsonString ¶
func (r *DescribePublicIpAssetsResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribePublicIpAssetsResponse) ToJsonString ¶
func (r *DescribePublicIpAssetsResponse) ToJsonString() string
type DescribePublicIpAssetsResponseParams ¶
type DescribePublicIpAssetsResponseParams struct { // Data list // Note: This field may return·null, indicating that no valid values can be obtained. Data []*IpAssetListVO `json:"Data,omitnil,omitempty" name:"Data"` // Total number of results Total *uint64 `json:"Total,omitnil,omitempty" name:"Total"` // List of asset locations // Note: This field may return·null, indicating that no valid values can be obtained. AssetLocationList []*FilterDataObject `json:"AssetLocationList,omitnil,omitempty" name:"AssetLocationList"` // List of IP types // Note: This field may return·null, indicating that no valid values can be obtained. IpTypeList []*FilterDataObject `json:"IpTypeList,omitnil,omitempty" name:"IpTypeList"` // List of regions // Note: This field may return·null, indicating that no valid values can be obtained. RegionList []*FilterDataObject `json:"RegionList,omitnil,omitempty" name:"RegionList"` // List of protection status // Note: This field may return·null, indicating that no valid values can be obtained. DefenseStatusList []*FilterDataObject `json:"DefenseStatusList,omitnil,omitempty" name:"DefenseStatusList"` // List of asset types // Note: This field may return·null, indicating that no valid values can be obtained. AssetTypeList []*FilterDataObject `json:"AssetTypeList,omitnil,omitempty" name:"AssetTypeList"` // List of AppIds // Note: This field may return·null, indicating that no valid values can be obtained. AppIdList []*FilterDataObject `json:"AppIdList,omitnil,omitempty" name:"AppIdList"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeRiskCenterAssetViewCFGRiskListRequest ¶
type DescribeRiskCenterAssetViewCFGRiskListRequest struct { *tchttp.BaseRequest // Filter conditions Filter *Filter `json:"Filter,omitnil,omitempty" name:"Filter"` // Asset tags Tags []*AssetTag `json:"Tags,omitnil,omitempty" name:"Tags"` }
func NewDescribeRiskCenterAssetViewCFGRiskListRequest ¶
func NewDescribeRiskCenterAssetViewCFGRiskListRequest() (request *DescribeRiskCenterAssetViewCFGRiskListRequest)
func (*DescribeRiskCenterAssetViewCFGRiskListRequest) FromJsonString ¶
func (r *DescribeRiskCenterAssetViewCFGRiskListRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeRiskCenterAssetViewCFGRiskListRequest) ToJsonString ¶
func (r *DescribeRiskCenterAssetViewCFGRiskListRequest) ToJsonString() string
type DescribeRiskCenterAssetViewCFGRiskListRequestParams ¶
type DescribeRiskCenterAssetViewCFGRiskListRequestParams struct { // Filter conditions Filter *Filter `json:"Filter,omitnil,omitempty" name:"Filter"` // Asset tags Tags []*AssetTag `json:"Tags,omitnil,omitempty" name:"Tags"` }
Predefined struct for user
type DescribeRiskCenterAssetViewCFGRiskListResponse ¶
type DescribeRiskCenterAssetViewCFGRiskListResponse struct { *tchttp.BaseResponse Response *DescribeRiskCenterAssetViewCFGRiskListResponseParams `json:"Response"` }
func NewDescribeRiskCenterAssetViewCFGRiskListResponse ¶
func NewDescribeRiskCenterAssetViewCFGRiskListResponse() (response *DescribeRiskCenterAssetViewCFGRiskListResponse)
func (*DescribeRiskCenterAssetViewCFGRiskListResponse) FromJsonString ¶
func (r *DescribeRiskCenterAssetViewCFGRiskListResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeRiskCenterAssetViewCFGRiskListResponse) ToJsonString ¶
func (r *DescribeRiskCenterAssetViewCFGRiskListResponse) ToJsonString() string
type DescribeRiskCenterAssetViewCFGRiskListResponseParams ¶
type DescribeRiskCenterAssetViewCFGRiskListResponseParams struct { // Total number of entries TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"` // List of configuration risks Data []*AssetViewCFGRisk `json:"Data,omitnil,omitempty" name:"Data"` // List of risk handling status StatusLists []*FilterDataObject `json:"StatusLists,omitnil,omitempty" name:"StatusLists"` // List of risk levels LevelLists []*FilterDataObject `json:"LevelLists,omitnil,omitempty" name:"LevelLists"` // List of configuration names CFGNameLists []*FilterDataObject `json:"CFGNameLists,omitnil,omitempty" name:"CFGNameLists"` // List of check types CheckTypeLists []*FilterDataObject `json:"CheckTypeLists,omitnil,omitempty" name:"CheckTypeLists"` // List of asset types InstanceTypeLists []*FilterDataObject `json:"InstanceTypeLists,omitnil,omitempty" name:"InstanceTypeLists"` // List of check source FromLists []*FilterDataObject `json:"FromLists,omitnil,omitempty" name:"FromLists"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeRiskCenterAssetViewPortRiskListRequest ¶
type DescribeRiskCenterAssetViewPortRiskListRequest struct { *tchttp.BaseRequest // Filter conditions Filter *Filter `json:"Filter,omitnil,omitempty" name:"Filter"` // Asset tags Tags []*AssetTag `json:"Tags,omitnil,omitempty" name:"Tags"` }
func NewDescribeRiskCenterAssetViewPortRiskListRequest ¶
func NewDescribeRiskCenterAssetViewPortRiskListRequest() (request *DescribeRiskCenterAssetViewPortRiskListRequest)
func (*DescribeRiskCenterAssetViewPortRiskListRequest) FromJsonString ¶
func (r *DescribeRiskCenterAssetViewPortRiskListRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeRiskCenterAssetViewPortRiskListRequest) ToJsonString ¶
func (r *DescribeRiskCenterAssetViewPortRiskListRequest) ToJsonString() string
type DescribeRiskCenterAssetViewPortRiskListRequestParams ¶
type DescribeRiskCenterAssetViewPortRiskListRequestParams struct { // Filter conditions Filter *Filter `json:"Filter,omitnil,omitempty" name:"Filter"` // Asset tags Tags []*AssetTag `json:"Tags,omitnil,omitempty" name:"Tags"` }
Predefined struct for user
type DescribeRiskCenterAssetViewPortRiskListResponse ¶
type DescribeRiskCenterAssetViewPortRiskListResponse struct { *tchttp.BaseResponse Response *DescribeRiskCenterAssetViewPortRiskListResponseParams `json:"Response"` }
func NewDescribeRiskCenterAssetViewPortRiskListResponse ¶
func NewDescribeRiskCenterAssetViewPortRiskListResponse() (response *DescribeRiskCenterAssetViewPortRiskListResponse)
func (*DescribeRiskCenterAssetViewPortRiskListResponse) FromJsonString ¶
func (r *DescribeRiskCenterAssetViewPortRiskListResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeRiskCenterAssetViewPortRiskListResponse) ToJsonString ¶
func (r *DescribeRiskCenterAssetViewPortRiskListResponse) ToJsonString() string
type DescribeRiskCenterAssetViewPortRiskListResponseParams ¶
type DescribeRiskCenterAssetViewPortRiskListResponseParams struct { // Total number of entries TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"` // List of configuration risks Data []*AssetViewPortRisk `json:"Data,omitnil,omitempty" name:"Data"` // List of risk handling status StatusLists []*FilterDataObject `json:"StatusLists,omitnil,omitempty" name:"StatusLists"` // List of risk levels LevelLists []*FilterDataObject `json:"LevelLists,omitnil,omitempty" name:"LevelLists"` // List of fix suggestions SuggestionLists []*FilterDataObject `json:"SuggestionLists,omitnil,omitempty" name:"SuggestionLists"` // List of asset types InstanceTypeLists []*FilterDataObject `json:"InstanceTypeLists,omitnil,omitempty" name:"InstanceTypeLists"` // List of check source FromLists []*FilterDataObject `json:"FromLists,omitnil,omitempty" name:"FromLists"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeRiskCenterAssetViewVULRiskListRequest ¶
type DescribeRiskCenterAssetViewVULRiskListRequest struct { *tchttp.BaseRequest // Filter conditions Filter *Filter `json:"Filter,omitnil,omitempty" name:"Filter"` // Asset tags Tags []*AssetTag `json:"Tags,omitnil,omitempty" name:"Tags"` }
func NewDescribeRiskCenterAssetViewVULRiskListRequest ¶
func NewDescribeRiskCenterAssetViewVULRiskListRequest() (request *DescribeRiskCenterAssetViewVULRiskListRequest)
func (*DescribeRiskCenterAssetViewVULRiskListRequest) FromJsonString ¶
func (r *DescribeRiskCenterAssetViewVULRiskListRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeRiskCenterAssetViewVULRiskListRequest) ToJsonString ¶
func (r *DescribeRiskCenterAssetViewVULRiskListRequest) ToJsonString() string
type DescribeRiskCenterAssetViewVULRiskListRequestParams ¶
type DescribeRiskCenterAssetViewVULRiskListRequestParams struct { // Filter conditions Filter *Filter `json:"Filter,omitnil,omitempty" name:"Filter"` // Asset tags Tags []*AssetTag `json:"Tags,omitnil,omitempty" name:"Tags"` }
Predefined struct for user
type DescribeRiskCenterAssetViewVULRiskListResponse ¶
type DescribeRiskCenterAssetViewVULRiskListResponse struct { *tchttp.BaseResponse Response *DescribeRiskCenterAssetViewVULRiskListResponseParams `json:"Response"` }
func NewDescribeRiskCenterAssetViewVULRiskListResponse ¶
func NewDescribeRiskCenterAssetViewVULRiskListResponse() (response *DescribeRiskCenterAssetViewVULRiskListResponse)
func (*DescribeRiskCenterAssetViewVULRiskListResponse) FromJsonString ¶
func (r *DescribeRiskCenterAssetViewVULRiskListResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeRiskCenterAssetViewVULRiskListResponse) ToJsonString ¶
func (r *DescribeRiskCenterAssetViewVULRiskListResponse) ToJsonString() string
type DescribeRiskCenterAssetViewVULRiskListResponseParams ¶
type DescribeRiskCenterAssetViewVULRiskListResponseParams struct { // Total number of entries TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"` // List of vulnerabilities Data []*AssetViewVULRisk `json:"Data,omitnil,omitempty" name:"Data"` // List of risk handling status StatusLists []*FilterDataObject `json:"StatusLists,omitnil,omitempty" name:"StatusLists"` // List of risk levels LevelLists []*FilterDataObject `json:"LevelLists,omitnil,omitempty" name:"LevelLists"` // List of check source FromLists []*FilterDataObject `json:"FromLists,omitnil,omitempty" name:"FromLists"` // List of vulnerability types VULTypeLists []*FilterDataObject `json:"VULTypeLists,omitnil,omitempty" name:"VULTypeLists"` // List of asset types InstanceTypeLists []*FilterDataObject `json:"InstanceTypeLists,omitnil,omitempty" name:"InstanceTypeLists"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeRiskCenterAssetViewWeakPasswordRiskListRequest ¶
type DescribeRiskCenterAssetViewWeakPasswordRiskListRequest struct { *tchttp.BaseRequest // Filter conditions Filter *Filter `json:"Filter,omitnil,omitempty" name:"Filter"` // Asset tags Tags []*AssetTag `json:"Tags,omitnil,omitempty" name:"Tags"` }
func NewDescribeRiskCenterAssetViewWeakPasswordRiskListRequest ¶
func NewDescribeRiskCenterAssetViewWeakPasswordRiskListRequest() (request *DescribeRiskCenterAssetViewWeakPasswordRiskListRequest)
func (*DescribeRiskCenterAssetViewWeakPasswordRiskListRequest) FromJsonString ¶
func (r *DescribeRiskCenterAssetViewWeakPasswordRiskListRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeRiskCenterAssetViewWeakPasswordRiskListRequest) ToJsonString ¶
func (r *DescribeRiskCenterAssetViewWeakPasswordRiskListRequest) ToJsonString() string
type DescribeRiskCenterAssetViewWeakPasswordRiskListRequestParams ¶
type DescribeRiskCenterAssetViewWeakPasswordRiskListRequestParams struct { // Filter conditions Filter *Filter `json:"Filter,omitnil,omitempty" name:"Filter"` // Asset tags Tags []*AssetTag `json:"Tags,omitnil,omitempty" name:"Tags"` }
Predefined struct for user
type DescribeRiskCenterAssetViewWeakPasswordRiskListResponse ¶
type DescribeRiskCenterAssetViewWeakPasswordRiskListResponse struct { *tchttp.BaseResponse Response *DescribeRiskCenterAssetViewWeakPasswordRiskListResponseParams `json:"Response"` }
func NewDescribeRiskCenterAssetViewWeakPasswordRiskListResponse ¶
func NewDescribeRiskCenterAssetViewWeakPasswordRiskListResponse() (response *DescribeRiskCenterAssetViewWeakPasswordRiskListResponse)
func (*DescribeRiskCenterAssetViewWeakPasswordRiskListResponse) FromJsonString ¶
func (r *DescribeRiskCenterAssetViewWeakPasswordRiskListResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeRiskCenterAssetViewWeakPasswordRiskListResponse) ToJsonString ¶
func (r *DescribeRiskCenterAssetViewWeakPasswordRiskListResponse) ToJsonString() string
type DescribeRiskCenterAssetViewWeakPasswordRiskListResponseParams ¶
type DescribeRiskCenterAssetViewWeakPasswordRiskListResponseParams struct { // Total number of entries TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"` // List of risks Data []*AssetViewWeakPassRisk `json:"Data,omitnil,omitempty" name:"Data"` // List of risk handling status StatusLists []*FilterDataObject `json:"StatusLists,omitnil,omitempty" name:"StatusLists"` // List of risk levels LevelLists []*FilterDataObject `json:"LevelLists,omitnil,omitempty" name:"LevelLists"` // List of check source FromLists []*FilterDataObject `json:"FromLists,omitnil,omitempty" name:"FromLists"` // List of asset types InstanceTypeLists []*FilterDataObject `json:"InstanceTypeLists,omitnil,omitempty" name:"InstanceTypeLists"` // List of weak password types PasswordTypeLists []*FilterDataObject `json:"PasswordTypeLists,omitnil,omitempty" name:"PasswordTypeLists"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeRiskCenterPortViewPortRiskListRequest ¶
type DescribeRiskCenterPortViewPortRiskListRequest struct { *tchttp.BaseRequest // Filter conditions Filter *Filter `json:"Filter,omitnil,omitempty" name:"Filter"` // Asset tags Tags []*AssetTag `json:"Tags,omitnil,omitempty" name:"Tags"` }
func NewDescribeRiskCenterPortViewPortRiskListRequest ¶
func NewDescribeRiskCenterPortViewPortRiskListRequest() (request *DescribeRiskCenterPortViewPortRiskListRequest)
func (*DescribeRiskCenterPortViewPortRiskListRequest) FromJsonString ¶
func (r *DescribeRiskCenterPortViewPortRiskListRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeRiskCenterPortViewPortRiskListRequest) ToJsonString ¶
func (r *DescribeRiskCenterPortViewPortRiskListRequest) ToJsonString() string
type DescribeRiskCenterPortViewPortRiskListRequestParams ¶
type DescribeRiskCenterPortViewPortRiskListRequestParams struct { // Filter conditions Filter *Filter `json:"Filter,omitnil,omitempty" name:"Filter"` // Asset tags Tags []*AssetTag `json:"Tags,omitnil,omitempty" name:"Tags"` }
Predefined struct for user
type DescribeRiskCenterPortViewPortRiskListResponse ¶
type DescribeRiskCenterPortViewPortRiskListResponse struct { *tchttp.BaseResponse Response *DescribeRiskCenterPortViewPortRiskListResponseParams `json:"Response"` }
func NewDescribeRiskCenterPortViewPortRiskListResponse ¶
func NewDescribeRiskCenterPortViewPortRiskListResponse() (response *DescribeRiskCenterPortViewPortRiskListResponse)
func (*DescribeRiskCenterPortViewPortRiskListResponse) FromJsonString ¶
func (r *DescribeRiskCenterPortViewPortRiskListResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeRiskCenterPortViewPortRiskListResponse) ToJsonString ¶
func (r *DescribeRiskCenterPortViewPortRiskListResponse) ToJsonString() string
type DescribeRiskCenterPortViewPortRiskListResponseParams ¶
type DescribeRiskCenterPortViewPortRiskListResponseParams struct { // Total number of entries TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"` // List of port risks by assets Data []*PortViewPortRisk `json:"Data,omitnil,omitempty" name:"Data"` // List of risk levels LevelLists []*FilterDataObject `json:"LevelLists,omitnil,omitempty" name:"LevelLists"` // List of suggestions SuggestionLists []*FilterDataObject `json:"SuggestionLists,omitnil,omitempty" name:"SuggestionLists"` // List of check source FromLists []*FilterDataObject `json:"FromLists,omitnil,omitempty" name:"FromLists"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeRiskCenterServerRiskListRequest ¶
type DescribeRiskCenterServerRiskListRequest struct { *tchttp.BaseRequest // Filter conditions Filter *Filter `json:"Filter,omitnil,omitempty" name:"Filter"` // Asset tags Tags []*AssetTag `json:"Tags,omitnil,omitempty" name:"Tags"` }
func NewDescribeRiskCenterServerRiskListRequest ¶
func NewDescribeRiskCenterServerRiskListRequest() (request *DescribeRiskCenterServerRiskListRequest)
func (*DescribeRiskCenterServerRiskListRequest) FromJsonString ¶
func (r *DescribeRiskCenterServerRiskListRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeRiskCenterServerRiskListRequest) ToJsonString ¶
func (r *DescribeRiskCenterServerRiskListRequest) ToJsonString() string
type DescribeRiskCenterServerRiskListRequestParams ¶
type DescribeRiskCenterServerRiskListRequestParams struct { // Filter conditions Filter *Filter `json:"Filter,omitnil,omitempty" name:"Filter"` // Asset tags Tags []*AssetTag `json:"Tags,omitnil,omitempty" name:"Tags"` }
Predefined struct for user
type DescribeRiskCenterServerRiskListResponse ¶
type DescribeRiskCenterServerRiskListResponse struct { *tchttp.BaseResponse Response *DescribeRiskCenterServerRiskListResponseParams `json:"Response"` }
func NewDescribeRiskCenterServerRiskListResponse ¶
func NewDescribeRiskCenterServerRiskListResponse() (response *DescribeRiskCenterServerRiskListResponse)
func (*DescribeRiskCenterServerRiskListResponse) FromJsonString ¶
func (r *DescribeRiskCenterServerRiskListResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeRiskCenterServerRiskListResponse) ToJsonString ¶
func (r *DescribeRiskCenterServerRiskListResponse) ToJsonString() string
type DescribeRiskCenterServerRiskListResponseParams ¶
type DescribeRiskCenterServerRiskListResponseParams struct { // Total number of entries TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"` // List of services in risk Data []*ServerRisk `json:"Data,omitnil,omitempty" name:"Data"` // List of asset types InstanceTypeLists []*FilterDataObject `json:"InstanceTypeLists,omitnil,omitempty" name:"InstanceTypeLists"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeRiskCenterVULViewVULRiskListRequest ¶
type DescribeRiskCenterVULViewVULRiskListRequest struct { *tchttp.BaseRequest // Filter conditions Filter *Filter `json:"Filter,omitnil,omitempty" name:"Filter"` // Asset tags Tags []*AssetTag `json:"Tags,omitnil,omitempty" name:"Tags"` }
func NewDescribeRiskCenterVULViewVULRiskListRequest ¶
func NewDescribeRiskCenterVULViewVULRiskListRequest() (request *DescribeRiskCenterVULViewVULRiskListRequest)
func (*DescribeRiskCenterVULViewVULRiskListRequest) FromJsonString ¶
func (r *DescribeRiskCenterVULViewVULRiskListRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeRiskCenterVULViewVULRiskListRequest) ToJsonString ¶
func (r *DescribeRiskCenterVULViewVULRiskListRequest) ToJsonString() string
type DescribeRiskCenterVULViewVULRiskListRequestParams ¶
type DescribeRiskCenterVULViewVULRiskListRequestParams struct { // Filter conditions Filter *Filter `json:"Filter,omitnil,omitempty" name:"Filter"` // Asset tags Tags []*AssetTag `json:"Tags,omitnil,omitempty" name:"Tags"` }
Predefined struct for user
type DescribeRiskCenterVULViewVULRiskListResponse ¶
type DescribeRiskCenterVULViewVULRiskListResponse struct { *tchttp.BaseResponse Response *DescribeRiskCenterVULViewVULRiskListResponseParams `json:"Response"` }
func NewDescribeRiskCenterVULViewVULRiskListResponse ¶
func NewDescribeRiskCenterVULViewVULRiskListResponse() (response *DescribeRiskCenterVULViewVULRiskListResponse)
func (*DescribeRiskCenterVULViewVULRiskListResponse) FromJsonString ¶
func (r *DescribeRiskCenterVULViewVULRiskListResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeRiskCenterVULViewVULRiskListResponse) ToJsonString ¶
func (r *DescribeRiskCenterVULViewVULRiskListResponse) ToJsonString() string
type DescribeRiskCenterVULViewVULRiskListResponseParams ¶
type DescribeRiskCenterVULViewVULRiskListResponseParams struct { // Total number of entries TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"` // List of vulnerabilities Data []*VULViewVULRisk `json:"Data,omitnil,omitempty" name:"Data"` // List of risk levels LevelLists []*FilterDataObject `json:"LevelLists,omitnil,omitempty" name:"LevelLists"` // List of check source FromLists []*FilterDataObject `json:"FromLists,omitnil,omitempty" name:"FromLists"` // List of vulnerability types VULTypeLists []*FilterDataObject `json:"VULTypeLists,omitnil,omitempty" name:"VULTypeLists"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeRiskCenterWebsiteRiskListRequest ¶
type DescribeRiskCenterWebsiteRiskListRequest struct { *tchttp.BaseRequest // Filter conditions Filter *Filter `json:"Filter,omitnil,omitempty" name:"Filter"` // Asset tags Tags []*AssetTag `json:"Tags,omitnil,omitempty" name:"Tags"` }
func NewDescribeRiskCenterWebsiteRiskListRequest ¶
func NewDescribeRiskCenterWebsiteRiskListRequest() (request *DescribeRiskCenterWebsiteRiskListRequest)
func (*DescribeRiskCenterWebsiteRiskListRequest) FromJsonString ¶
func (r *DescribeRiskCenterWebsiteRiskListRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeRiskCenterWebsiteRiskListRequest) ToJsonString ¶
func (r *DescribeRiskCenterWebsiteRiskListRequest) ToJsonString() string
type DescribeRiskCenterWebsiteRiskListRequestParams ¶
type DescribeRiskCenterWebsiteRiskListRequestParams struct { // Filter conditions Filter *Filter `json:"Filter,omitnil,omitempty" name:"Filter"` // Asset tags Tags []*AssetTag `json:"Tags,omitnil,omitempty" name:"Tags"` }
Predefined struct for user
type DescribeRiskCenterWebsiteRiskListResponse ¶
type DescribeRiskCenterWebsiteRiskListResponse struct { *tchttp.BaseResponse Response *DescribeRiskCenterWebsiteRiskListResponseParams `json:"Response"` }
func NewDescribeRiskCenterWebsiteRiskListResponse ¶
func NewDescribeRiskCenterWebsiteRiskListResponse() (response *DescribeRiskCenterWebsiteRiskListResponse)
func (*DescribeRiskCenterWebsiteRiskListResponse) FromJsonString ¶
func (r *DescribeRiskCenterWebsiteRiskListResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeRiskCenterWebsiteRiskListResponse) ToJsonString ¶
func (r *DescribeRiskCenterWebsiteRiskListResponse) ToJsonString() string
type DescribeRiskCenterWebsiteRiskListResponseParams ¶
type DescribeRiskCenterWebsiteRiskListResponseParams struct { // Total number of entries TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"` // List of content risks Data []*WebsiteRisk `json:"Data,omitnil,omitempty" name:"Data"` // List of risk handling status StatusLists []*FilterDataObject `json:"StatusLists,omitnil,omitempty" name:"StatusLists"` // List of risk levels LevelLists []*FilterDataObject `json:"LevelLists,omitnil,omitempty" name:"LevelLists"` // List of asset types InstanceTypeLists []*FilterDataObject `json:"InstanceTypeLists,omitnil,omitempty" name:"InstanceTypeLists"` // List of risk types DetectEngineLists []*FilterDataObject `json:"DetectEngineLists,omitnil,omitempty" name:"DetectEngineLists"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeScanReportListRequest ¶
type DescribeScanReportListRequest struct { *tchttp.BaseRequest // Filter conditions Filter *Filter `json:"Filter,omitnil,omitempty" name:"Filter"` }
func NewDescribeScanReportListRequest ¶
func NewDescribeScanReportListRequest() (request *DescribeScanReportListRequest)
func (*DescribeScanReportListRequest) FromJsonString ¶
func (r *DescribeScanReportListRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeScanReportListRequest) ToJsonString ¶
func (r *DescribeScanReportListRequest) ToJsonString() string
type DescribeScanReportListRequestParams ¶
type DescribeScanReportListRequestParams struct { // Filter conditions Filter *Filter `json:"Filter,omitnil,omitempty" name:"Filter"` }
Predefined struct for user
type DescribeScanReportListResponse ¶
type DescribeScanReportListResponse struct { *tchttp.BaseResponse Response *DescribeScanReportListResponseParams `json:"Response"` }
func NewDescribeScanReportListResponse ¶
func NewDescribeScanReportListResponse() (response *DescribeScanReportListResponse)
func (*DescribeScanReportListResponse) FromJsonString ¶
func (r *DescribeScanReportListResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeScanReportListResponse) ToJsonString ¶
func (r *DescribeScanReportListResponse) ToJsonString() string
type DescribeScanReportListResponseParams ¶
type DescribeScanReportListResponseParams struct { // Total number of entries // Note: This field may return null, indicating that no valid values can be obtained. TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"` // List of scan reports // Note: This field may return·null, indicating that no valid values can be obtained. Data []*ScanTaskInfo `json:"Data,omitnil,omitempty" name:"Data"` // List of account UINs UINList []*string `json:"UINList,omitnil,omitempty" name:"UINList"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeScanTaskListRequest ¶
type DescribeScanTaskListRequest struct { *tchttp.BaseRequest // Filter conditions Filter *Filter `json:"Filter,omitnil,omitempty" name:"Filter"` // Tags Tags []*Tags `json:"Tags,omitnil,omitempty" name:"Tags"` }
func NewDescribeScanTaskListRequest ¶
func NewDescribeScanTaskListRequest() (request *DescribeScanTaskListRequest)
func (*DescribeScanTaskListRequest) FromJsonString ¶
func (r *DescribeScanTaskListRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeScanTaskListRequest) ToJsonString ¶
func (r *DescribeScanTaskListRequest) ToJsonString() string
type DescribeScanTaskListRequestParams ¶
type DescribeScanTaskListRequestParams struct { // Filter conditions Filter *Filter `json:"Filter,omitnil,omitempty" name:"Filter"` // Tags Tags []*Tags `json:"Tags,omitnil,omitempty" name:"Tags"` }
Predefined struct for user
type DescribeScanTaskListResponse ¶
type DescribeScanTaskListResponse struct { *tchttp.BaseResponse Response *DescribeScanTaskListResponseParams `json:"Response"` }
func NewDescribeScanTaskListResponse ¶
func NewDescribeScanTaskListResponse() (response *DescribeScanTaskListResponse)
func (*DescribeScanTaskListResponse) FromJsonString ¶
func (r *DescribeScanTaskListResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeScanTaskListResponse) ToJsonString ¶
func (r *DescribeScanTaskListResponse) ToJsonString() string
type DescribeScanTaskListResponseParams ¶
type DescribeScanTaskListResponseParams struct { // Total number of entries // Note: This field may return null, indicating that no valid values can be obtained. TotalCount *uint64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"` // List of scan tasks // Note: This field may return·null, indicating that no valid values can be obtained. Data []*ScanTaskInfoList `json:"Data,omitnil,omitempty" name:"Data"` // List of account UINs // Note: This field may return·null, indicating that no valid values can be obtained. UINList []*string `json:"UINList,omitnil,omitempty" name:"UINList"` // List of task modes // Note: This field may return·null, indicating that no valid values can be obtained. TaskModeList []*FilterDataObject `json:"TaskModeList,omitnil,omitempty" name:"TaskModeList"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeSearchBugInfoRequest ¶
type DescribeSearchBugInfoRequest struct { *tchttp.BaseRequest // Type of the query action. `1`: Query emergency vulnerabilities; `2`: Query all vulnerabilities; `3`: Query a specific vulnerability. When `Id=3`, `CVEId` is required. Id *string `json:"Id,omitnil,omitempty" name:"Id"` // CVE number of the vulnerability. It's required when `Id=3`. CVEId *string `json:"CVEId,omitnil,omitempty" name:"CVEId"` }
func NewDescribeSearchBugInfoRequest ¶
func NewDescribeSearchBugInfoRequest() (request *DescribeSearchBugInfoRequest)
func (*DescribeSearchBugInfoRequest) FromJsonString ¶
func (r *DescribeSearchBugInfoRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeSearchBugInfoRequest) ToJsonString ¶
func (r *DescribeSearchBugInfoRequest) ToJsonString() string
type DescribeSearchBugInfoRequestParams ¶
type DescribeSearchBugInfoRequestParams struct { // Type of the query action. `1`: Query emergency vulnerabilities; `2`: Query all vulnerabilities; `3`: Query a specific vulnerability. When `Id=3`, `CVEId` is required. Id *string `json:"Id,omitnil,omitempty" name:"Id"` // CVE number of the vulnerability. It's required when `Id=3`. CVEId *string `json:"CVEId,omitnil,omitempty" name:"CVEId"` }
Predefined struct for user
type DescribeSearchBugInfoResponse ¶
type DescribeSearchBugInfoResponse struct { *tchttp.BaseResponse Response *DescribeSearchBugInfoResponseParams `json:"Response"` }
func NewDescribeSearchBugInfoResponse ¶
func NewDescribeSearchBugInfoResponse() (response *DescribeSearchBugInfoResponse)
func (*DescribeSearchBugInfoResponse) FromJsonString ¶
func (r *DescribeSearchBugInfoResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeSearchBugInfoResponse) ToJsonString ¶
func (r *DescribeSearchBugInfoResponse) ToJsonString() string
type DescribeSearchBugInfoResponseParams ¶
type DescribeSearchBugInfoResponseParams struct { // Vulnerability and asset information // Note: This field may return·null, indicating that no valid values can be obtained. Data *DataSearchBug `json:"Data,omitnil,omitempty" name:"Data"` // Status code. Valid values: 0: successful; others: failed. ReturnCode *int64 `json:"ReturnCode,omitnil,omitempty" name:"ReturnCode"` // Status message. Valid values: success: successful query; fail: failed query. ReturnMsg *string `json:"ReturnMsg,omitnil,omitempty" name:"ReturnMsg"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeSubnetAssetsRequest ¶
type DescribeSubnetAssetsRequest struct { *tchttp.BaseRequest // Filter parameters Filter *Filter `json:"Filter,omitnil,omitempty" name:"Filter"` }
func NewDescribeSubnetAssetsRequest ¶
func NewDescribeSubnetAssetsRequest() (request *DescribeSubnetAssetsRequest)
func (*DescribeSubnetAssetsRequest) FromJsonString ¶
func (r *DescribeSubnetAssetsRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeSubnetAssetsRequest) ToJsonString ¶
func (r *DescribeSubnetAssetsRequest) ToJsonString() string
type DescribeSubnetAssetsRequestParams ¶
type DescribeSubnetAssetsRequestParams struct { // Filter parameters Filter *Filter `json:"Filter,omitnil,omitempty" name:"Filter"` }
Predefined struct for user
type DescribeSubnetAssetsResponse ¶
type DescribeSubnetAssetsResponse struct { *tchttp.BaseResponse Response *DescribeSubnetAssetsResponseParams `json:"Response"` }
func NewDescribeSubnetAssetsResponse ¶
func NewDescribeSubnetAssetsResponse() (response *DescribeSubnetAssetsResponse)
func (*DescribeSubnetAssetsResponse) FromJsonString ¶
func (r *DescribeSubnetAssetsResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeSubnetAssetsResponse) ToJsonString ¶
func (r *DescribeSubnetAssetsResponse) ToJsonString() string
type DescribeSubnetAssetsResponseParams ¶
type DescribeSubnetAssetsResponseParams struct { // Data list Data []*SubnetAsset `json:"Data,omitnil,omitempty" name:"Data"` // Total number of results TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"` // List of regions RegionList []*FilterDataObject `json:"RegionList,omitnil,omitempty" name:"RegionList"` // List of VPCs VpcList []*FilterDataObject `json:"VpcList,omitnil,omitempty" name:"VpcList"` // List of AppIds AppIdList []*FilterDataObject `json:"AppIdList,omitnil,omitempty" name:"AppIdList"` // List of availability zones ZoneList []*FilterDataObject `json:"ZoneList,omitnil,omitempty" name:"ZoneList"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeTaskLogListRequest ¶
type DescribeTaskLogListRequest struct { *tchttp.BaseRequest // Filter conditions Filter *Filter `json:"Filter,omitnil,omitempty" name:"Filter"` }
func NewDescribeTaskLogListRequest ¶
func NewDescribeTaskLogListRequest() (request *DescribeTaskLogListRequest)
func (*DescribeTaskLogListRequest) FromJsonString ¶
func (r *DescribeTaskLogListRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeTaskLogListRequest) ToJsonString ¶
func (r *DescribeTaskLogListRequest) ToJsonString() string
type DescribeTaskLogListRequestParams ¶
type DescribeTaskLogListRequestParams struct { // Filter conditions Filter *Filter `json:"Filter,omitnil,omitempty" name:"Filter"` }
Predefined struct for user
type DescribeTaskLogListResponse ¶
type DescribeTaskLogListResponse struct { *tchttp.BaseResponse Response *DescribeTaskLogListResponseParams `json:"Response"` }
func NewDescribeTaskLogListResponse ¶
func NewDescribeTaskLogListResponse() (response *DescribeTaskLogListResponse)
func (*DescribeTaskLogListResponse) FromJsonString ¶
func (r *DescribeTaskLogListResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeTaskLogListResponse) ToJsonString ¶
func (r *DescribeTaskLogListResponse) ToJsonString() string
type DescribeTaskLogListResponseParams ¶
type DescribeTaskLogListResponseParams struct { // Total number of entries // Note: This field may return null, indicating that no valid values can be obtained. TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"` // List of reports // Note: This field may return·null, indicating that no valid values can be obtained. Data []*TaskLogInfo `json:"Data,omitnil,omitempty" name:"Data"` // Number of reports pending viewed // Note: This field may return·null, indicating that no valid values can be obtained. NotViewNumber *int64 `json:"NotViewNumber,omitnil,omitempty" name:"NotViewNumber"` // Number of report templates // Note: This field may return·null, indicating that no valid values can be obtained. ReportTemplateNumber *int64 `json:"ReportTemplateNumber,omitnil,omitempty" name:"ReportTemplateNumber"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeTaskLogURLRequest ¶
type DescribeTaskLogURLRequest struct { *tchttp.BaseRequest // Type of the task. `0`: Preview; `1`: Download Type *int64 `json:"Type,omitnil,omitempty" name:"Type"` // List of task report IDs ReportItemKeyList []*ReportItemKey `json:"ReportItemKeyList,omitnil,omitempty" name:"ReportItemKeyList"` // List of task IDs in the report ReportTaskIdList []*ReportTaskIdList `json:"ReportTaskIdList,omitnil,omitempty" name:"ReportTaskIdList"` }
func NewDescribeTaskLogURLRequest ¶
func NewDescribeTaskLogURLRequest() (request *DescribeTaskLogURLRequest)
func (*DescribeTaskLogURLRequest) FromJsonString ¶
func (r *DescribeTaskLogURLRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeTaskLogURLRequest) ToJsonString ¶
func (r *DescribeTaskLogURLRequest) ToJsonString() string
type DescribeTaskLogURLRequestParams ¶
type DescribeTaskLogURLRequestParams struct { // Type of the task. `0`: Preview; `1`: Download Type *int64 `json:"Type,omitnil,omitempty" name:"Type"` // List of task report IDs ReportItemKeyList []*ReportItemKey `json:"ReportItemKeyList,omitnil,omitempty" name:"ReportItemKeyList"` // List of task IDs in the report ReportTaskIdList []*ReportTaskIdList `json:"ReportTaskIdList,omitnil,omitempty" name:"ReportTaskIdList"` }
Predefined struct for user
type DescribeTaskLogURLResponse ¶
type DescribeTaskLogURLResponse struct { *tchttp.BaseResponse Response *DescribeTaskLogURLResponseParams `json:"Response"` }
func NewDescribeTaskLogURLResponse ¶
func NewDescribeTaskLogURLResponse() (response *DescribeTaskLogURLResponse)
func (*DescribeTaskLogURLResponse) FromJsonString ¶
func (r *DescribeTaskLogURLResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeTaskLogURLResponse) ToJsonString ¶
func (r *DescribeTaskLogURLResponse) ToJsonString() string
type DescribeTaskLogURLResponseParams ¶
type DescribeTaskLogURLResponseParams struct { // Temp download URL of the report Data []*TaskLogURL `json:"Data,omitnil,omitempty" name:"Data"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeVULRiskAdvanceCFGListRequest ¶
type DescribeVULRiskAdvanceCFGListRequest struct { *tchttp.BaseRequest // Task ID TaskId *string `json:"TaskId,omitnil,omitempty" name:"TaskId"` // Filter conditions. Filter *Filter `json:"Filter,omitnil,omitempty" name:"Filter"` }
func NewDescribeVULRiskAdvanceCFGListRequest ¶
func NewDescribeVULRiskAdvanceCFGListRequest() (request *DescribeVULRiskAdvanceCFGListRequest)
func (*DescribeVULRiskAdvanceCFGListRequest) FromJsonString ¶
func (r *DescribeVULRiskAdvanceCFGListRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeVULRiskAdvanceCFGListRequest) ToJsonString ¶
func (r *DescribeVULRiskAdvanceCFGListRequest) ToJsonString() string
type DescribeVULRiskAdvanceCFGListRequestParams ¶
type DescribeVULRiskAdvanceCFGListRequestParams struct { // Task ID TaskId *string `json:"TaskId,omitnil,omitempty" name:"TaskId"` // Filter conditions. Filter *Filter `json:"Filter,omitnil,omitempty" name:"Filter"` }
Predefined struct for user
type DescribeVULRiskAdvanceCFGListResponse ¶
type DescribeVULRiskAdvanceCFGListResponse struct { *tchttp.BaseResponse Response *DescribeVULRiskAdvanceCFGListResponseParams `json:"Response"` }
func NewDescribeVULRiskAdvanceCFGListResponse ¶
func NewDescribeVULRiskAdvanceCFGListResponse() (response *DescribeVULRiskAdvanceCFGListResponse)
func (*DescribeVULRiskAdvanceCFGListResponse) FromJsonString ¶
func (r *DescribeVULRiskAdvanceCFGListResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeVULRiskAdvanceCFGListResponse) ToJsonString ¶
func (r *DescribeVULRiskAdvanceCFGListResponse) ToJsonString() string
type DescribeVULRiskAdvanceCFGListResponseParams ¶
type DescribeVULRiskAdvanceCFGListResponseParams struct { // List of configuration items // Note: This field may return·null, indicating that no valid values can be obtained. Data []*VULRiskAdvanceCFGList `json:"Data,omitnil,omitempty" name:"Data"` // Total number of results TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"` // List of risk levels // Note: This field may return·null, indicating that no valid values can be obtained. RiskLevelLists []*FilterDataObject `json:"RiskLevelLists,omitnil,omitempty" name:"RiskLevelLists"` // List of vulnerabilities types // Note: This field may return·null, indicating that no valid values can be obtained. VULTypeLists []*FilterDataObject `json:"VULTypeLists,omitnil,omitempty" name:"VULTypeLists"` // List of check source // Note: This field may return·null, indicating that no valid values can be obtained. CheckFromLists []*FilterDataObject `json:"CheckFromLists,omitnil,omitempty" name:"CheckFromLists"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeVpcAssetsRequest ¶
type DescribeVpcAssetsRequest struct { *tchttp.BaseRequest // Filter parameters Filter *Filter `json:"Filter,omitnil,omitempty" name:"Filter"` }
func NewDescribeVpcAssetsRequest ¶
func NewDescribeVpcAssetsRequest() (request *DescribeVpcAssetsRequest)
func (*DescribeVpcAssetsRequest) FromJsonString ¶
func (r *DescribeVpcAssetsRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeVpcAssetsRequest) ToJsonString ¶
func (r *DescribeVpcAssetsRequest) ToJsonString() string
type DescribeVpcAssetsRequestParams ¶
type DescribeVpcAssetsRequestParams struct { // Filter parameters Filter *Filter `json:"Filter,omitnil,omitempty" name:"Filter"` }
Predefined struct for user
type DescribeVpcAssetsResponse ¶
type DescribeVpcAssetsResponse struct { *tchttp.BaseResponse Response *DescribeVpcAssetsResponseParams `json:"Response"` }
func NewDescribeVpcAssetsResponse ¶
func NewDescribeVpcAssetsResponse() (response *DescribeVpcAssetsResponse)
func (*DescribeVpcAssetsResponse) FromJsonString ¶
func (r *DescribeVpcAssetsResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeVpcAssetsResponse) ToJsonString ¶
func (r *DescribeVpcAssetsResponse) ToJsonString() string
type DescribeVpcAssetsResponseParams ¶
type DescribeVpcAssetsResponseParams struct { // Data list Data []*Vpc `json:"Data,omitnil,omitempty" name:"Data"` // Total number of results TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"` // List of VPCs VpcList []*FilterDataObject `json:"VpcList,omitnil,omitempty" name:"VpcList"` // List of regions RegionList []*FilterDataObject `json:"RegionList,omitnil,omitempty" name:"RegionList"` // List of AppIds AppIdList []*FilterDataObject `json:"AppIdList,omitnil,omitempty" name:"AppIdList"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DomainAssetVO ¶
type DomainAssetVO struct { // Asset ID // Note: This field may return·null, indicating that no valid values can be obtained. AssetId []*string `json:"AssetId,omitnil,omitempty" name:"AssetId"` // Asset name // Note: This field may return·null, indicating that no valid values can be obtained. AssetName []*string `json:"AssetName,omitnil,omitempty" name:"AssetName"` // Asset type // Note: This field may return·null, indicating that no valid values can be obtained. AssetType []*string `json:"AssetType,omitnil,omitempty" name:"AssetType"` // Region // Note: This field may return·null, indicating that no valid values can be obtained. Region []*string `json:"Region,omitnil,omitempty" name:"Region"` // WAF status // Note: This field may return·null, indicating that no valid values can be obtained. WAFStatus *uint64 `json:"WAFStatus,omitnil,omitempty" name:"WAFStatus"` // Asset creation time // Note: This field may return·null, indicating that no valid values can be obtained. AssetCreateTime *string `json:"AssetCreateTime,omitnil,omitempty" name:"AssetCreateTime"` // Appid // Note: This field may return·null, indicating that no valid values can be obtained. AppId *uint64 `json:"AppId,omitnil,omitempty" name:"AppId"` // Account ID // Note: This field may return·null, indicating that no valid values can be obtained. Uin *string `json:"Uin,omitnil,omitempty" name:"Uin"` // Account name // Note: This field may return·null, indicating that no valid values can be obtained. NickName *string `json:"NickName,omitnil,omitempty" name:"NickName"` // Whether it's a critical asset // Note: This field may return·null, indicating that no valid values can be obtained. IsCore *uint64 `json:"IsCore,omitnil,omitempty" name:"IsCore"` // Whether it's a cloud asset // Note: This field may return·null, indicating that no valid values can be obtained. IsCloud *uint64 `json:"IsCloud,omitnil,omitempty" name:"IsCloud"` // Network attacks // Note: This field may return·null, indicating that no valid values can be obtained. Attack *uint64 `json:"Attack,omitnil,omitempty" name:"Attack"` // Network access // Note: This field may return·null, indicating that no valid values can be obtained. Access *uint64 `json:"Access,omitnil,omitempty" name:"Access"` // Number of blocked attacks // Note: This field may return·null, indicating that no valid values can be obtained. Intercept *uint64 `json:"Intercept,omitnil,omitempty" name:"Intercept"` // Inbound peak bandwidth // Note: This field may return·null, indicating that no valid values can be obtained. InBandwidth *string `json:"InBandwidth,omitnil,omitempty" name:"InBandwidth"` // Outbound peak bandwidth // Note: This field may return·null, indicating that no valid values can be obtained. OutBandwidth *string `json:"OutBandwidth,omitnil,omitempty" name:"OutBandwidth"` // Total inbound traffic // Note: This field may return·null, indicating that no valid values can be obtained. InFlow *string `json:"InFlow,omitnil,omitempty" name:"InFlow"` // Total outbound traffic // Note: This field may return·null, indicating that no valid values can be obtained. OutFlow *string `json:"OutFlow,omitnil,omitempty" name:"OutFlow"` // Last scan time // Note: This field may return·null, indicating that no valid values can be obtained. LastScanTime *string `json:"LastScanTime,omitnil,omitempty" name:"LastScanTime"` // Port risks // Note: This field may return·null, indicating that no valid values can be obtained. PortRisk *uint64 `json:"PortRisk,omitnil,omitempty" name:"PortRisk"` // Vulnerabilities // Note: This field may return·null, indicating that no valid values can be obtained. VulnerabilityRisk *uint64 `json:"VulnerabilityRisk,omitnil,omitempty" name:"VulnerabilityRisk"` // Configuration risks // Note: This field may return·null, indicating that no valid values can be obtained. ConfigurationRisk *uint64 `json:"ConfigurationRisk,omitnil,omitempty" name:"ConfigurationRisk"` // Scan tasks // Note: This field may return·null, indicating that no valid values can be obtained. ScanTask *uint64 `json:"ScanTask,omitnil,omitempty" name:"ScanTask"` // Domain name // Note: This field may return·null, indicating that no valid values can be obtained. SubDomain *string `json:"SubDomain,omitnil,omitempty" name:"SubDomain"` // Resolved IP // Note: This field may return·null, indicating that no valid values can be obtained. SeverIp []*string `json:"SeverIp,omitnil,omitempty" name:"SeverIp"` // Bot access requests // Note: This field may return·null, indicating that no valid values can be obtained. BotCount *uint64 `json:"BotCount,omitnil,omitempty" name:"BotCount"` // Weak password risks // Note: This field may return·null, indicating that no valid values can be obtained. WeakPassword *uint64 `json:"WeakPassword,omitnil,omitempty" name:"WeakPassword"` // Content risks // Note: This field may return·null, indicating that no valid values can be obtained. WebContentRisk *uint64 `json:"WebContentRisk,omitnil,omitempty" name:"WebContentRisk"` // Tags // Note: This field may return·null, indicating that no valid values can be obtained. Tag []*Tag `json:"Tag,omitnil,omitempty" name:"Tag"` // The type of associated instances. // Note: This field may return·null, indicating that no valid values can be obtained. SourceType *string `json:"SourceType,omitnil,omitempty" name:"SourceType"` // Member ID // Note: This field may return·null, indicating that no valid values can be obtained. MemberId *string `json:"MemberId,omitnil,omitempty" name:"MemberId"` // CC attacks // Note: This field may return·null, indicating that no valid values can be obtained. CCAttack *int64 `json:"CCAttack,omitnil,omitempty" name:"CCAttack"` // Web attack // Note: This field may return·null, indicating that no valid values can be obtained. WebAttack *int64 `json:"WebAttack,omitnil,omitempty" name:"WebAttack"` // Services exposed to risks // Note: This field may return·null, indicating that no valid values can be obtained. ServiceRisk *uint64 `json:"ServiceRisk,omitnil,omitempty" name:"ServiceRisk"` // Whether it's a newly-added asset. Values: `1` (Yes), `0` (No) // Note: This field may return·null, indicating that no valid values can be obtained. IsNewAsset *uint64 `json:"IsNewAsset,omitnil,omitempty" name:"IsNewAsset"` // Random third-level domain name of the asset pending ownership verification // Note: This field may return·null, indicating that no valid values can be obtained. VerifyDomain *string `json:"VerifyDomain,omitnil,omitempty" name:"VerifyDomain"` // TXT record of the asset pending ownership verification // Note: This field may return·null, indicating that no valid values can be obtained. VerifyTXTRecord *string `json:"VerifyTXTRecord,omitnil,omitempty" name:"VerifyTXTRecord"` // Ownership verification status of the asset. `0`: Pending verification; `1`: Verified; `2`: Verifying; `3`: TXT record verification failed; `4`: Human verification failed. // Note: This field may return·null, indicating that no valid values can be obtained. VerifyStatus *int64 `json:"VerifyStatus,omitnil,omitempty" name:"VerifyStatus"` // u200cNumber of bot attacks // Note: This field may return·null, indicating that no valid values can be obtained. BotAccessCount *int64 `json:"BotAccessCount,omitnil,omitempty" name:"BotAccessCount"` }
type Filter ¶
type Filter struct { // Max number of returned results Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"` // Query offset Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"` // Sorting order. Values: `asc` (ascending), `desc` (descending). Order *string `json:"Order,omitnil,omitempty" name:"Order"` // Specify the field used for sorting By *string `json:"By,omitnil,omitempty" name:"By"` // Filtered columns and content Filters []*WhereFilter `json:"Filters,omitnil,omitempty" name:"Filters"` // Start time of the query period. StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"` // End time of the query period. EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"` }
type FilterDataObject ¶
type IpAssetListVO ¶
type IpAssetListVO struct { // Asset ID // Note: This field may return·null, indicating that no valid values can be obtained. AssetId *string `json:"AssetId,omitnil,omitempty" name:"AssetId"` // Asset name // Note: This field may return·null, indicating that no valid values can be obtained. AssetName *string `json:"AssetName,omitnil,omitempty" name:"AssetName"` // Asset type // Note: This field may return·null, indicating that no valid values can be obtained. AssetType *string `json:"AssetType,omitnil,omitempty" name:"AssetType"` // Region // Note: This field may return·null, indicating that no valid values can be obtained. Region *string `json:"Region,omitnil,omitempty" name:"Region"` // CFW status // Note: This field may return·null, indicating that no valid values can be obtained. CFWStatus *uint64 `json:"CFWStatus,omitnil,omitempty" name:"CFWStatus"` // Asset creation time // Note: This field may return·null, indicating that no valid values can be obtained. AssetCreateTime *string `json:"AssetCreateTime,omitnil,omitempty" name:"AssetCreateTime"` // Public IP // Note: This field may return·null, indicating that no valid values can be obtained. PublicIp *string `json:"PublicIp,omitnil,omitempty" name:"PublicIp"` // Public IP type // Note: This field may return·null, indicating that no valid values can be obtained. PublicIpType *uint64 `json:"PublicIpType,omitnil,omitempty" name:"PublicIpType"` VpcId *string `json:"VpcId,omitnil,omitempty" name:"VpcId"` // VPC name // Note: This field may return·null, indicating that no valid values can be obtained. VpcName *string `json:"VpcName,omitnil,omitempty" name:"VpcName"` // appid // Note: This field may return·null, indicating that no valid values can be obtained. AppId *uint64 `json:"AppId,omitnil,omitempty" name:"AppId"` // User `uin` // Note: This field may return·null, indicating that no valid values can be obtained. Uin *string `json:"Uin,omitnil,omitempty" name:"Uin"` // Name // Note: This field may return·null, indicating that no valid values can be obtained. NickName *string `json:"NickName,omitnil,omitempty" name:"NickName"` // Whether it's a critical asset // Note: This field may return·null, indicating that no valid values can be obtained. IsCore *uint64 `json:"IsCore,omitnil,omitempty" name:"IsCore"` // Whether it's a cloud asset // Note: This field may return·null, indicating that no valid values can be obtained. IsCloud *uint64 `json:"IsCloud,omitnil,omitempty" name:"IsCloud"` // Number of network attacks // Note: This field may return·null, indicating that no valid values can be obtained. Attack *uint64 `json:"Attack,omitnil,omitempty" name:"Attack"` // Number of network access requests // Note: This field may return·null, indicating that no valid values can be obtained. Access *uint64 `json:"Access,omitnil,omitempty" name:"Access"` // Number of blocked attacks // Note: This field may return·null, indicating that no valid values can be obtained. Intercept *uint64 `json:"Intercept,omitnil,omitempty" name:"Intercept"` // Inbound bandwidth // Note: This field may return·null, indicating that no valid values can be obtained. InBandwidth *string `json:"InBandwidth,omitnil,omitempty" name:"InBandwidth"` // Outbound bandwidthtraffic peak bandwidth (bps) // Note: This field may return·null, indicating that no valid values can be obtained. OutBandwidth *string `json:"OutBandwidth,omitnil,omitempty" name:"OutBandwidth"` // Inbound traffic // Note: This field may return·null, indicating that no valid values can be obtained. InFlow *string `json:"InFlow,omitnil,omitempty" name:"InFlow"` // Outbound traffic // Note: This field may return·null, indicating that no valid values can be obtained. OutFlow *string `json:"OutFlow,omitnil,omitempty" name:"OutFlow"` // Last scan time // Note: This field may return·null, indicating that no valid values can be obtained. LastScanTime *string `json:"LastScanTime,omitnil,omitempty" name:"LastScanTime"` // Port risks // Note: This field may return·null, indicating that no valid values can be obtained. PortRisk *uint64 `json:"PortRisk,omitnil,omitempty" name:"PortRisk"` // Vulnerabilities // Note: This field may return·null, indicating that no valid values can be obtained. VulnerabilityRisk *uint64 `json:"VulnerabilityRisk,omitnil,omitempty" name:"VulnerabilityRisk"` // Configuration risks // Note: This field may return·null, indicating that no valid values can be obtained. ConfigurationRisk *uint64 `json:"ConfigurationRisk,omitnil,omitempty" name:"ConfigurationRisk"` // Scan tasks // Note: This field may return·null, indicating that no valid values can be obtained. ScanTask *uint64 `json:"ScanTask,omitnil,omitempty" name:"ScanTask"` // Weak passwords // Note: This field may return·null, indicating that no valid values can be obtained. WeakPassword *uint64 `json:"WeakPassword,omitnil,omitempty" name:"WeakPassword"` // Content risks // Note: This field may return·null, indicating that no valid values can be obtained. WebContentRisk *uint64 `json:"WebContentRisk,omitnil,omitempty" name:"WebContentRisk"` // Tags // Note: This field may return·null, indicating that no valid values can be obtained. Tag []*Tag `json:"Tag,omitnil,omitempty" name:"Tag"` // EIP ID // Note: This field may return·null, indicating that no valid values can be obtained. AddressId *string `json:"AddressId,omitnil,omitempty" name:"AddressId"` // Member ID // Note: This field may return·null, indicating that no valid values can be obtained. MemberId *string `json:"MemberId,omitnil,omitempty" name:"MemberId"` // Risk exposure // Note: This field may return·null, indicating that no valid values can be obtained. RiskExposure *int64 `json:"RiskExposure,omitnil,omitempty" name:"RiskExposure"` // Whether it's a newly-added asset. Values: `1` (Yes), `0` (No) // Note: This field may return·null, indicating that no valid values can be obtained. IsNewAsset *uint64 `json:"IsNewAsset,omitnil,omitempty" name:"IsNewAsset"` // Asset ownership verification status. `0`: Pending verification; `1`: Verified; `2`: Verifying; `3` and above: Verification failed // Note: This field may return·null, indicating that no valid values can be obtained. VerifyStatus *int64 `json:"VerifyStatus,omitnil,omitempty" name:"VerifyStatus"` }
type ModifyRiskCenterRiskStatusRequest ¶
type ModifyRiskCenterRiskStatusRequest struct { *tchttp.BaseRequest // Data of risk assets RiskStatusKeys []*RiskCenterStatusKey `json:"RiskStatusKeys,omitnil,omitempty" name:"RiskStatusKeys"` // Specify how you want to change the risk status. `1`: Change to Handled, `2`: Change to Ignored; `3`: Remove from Handled; `4`: Remove from Ignored Status *uint64 `json:"Status,omitnil,omitempty" name:"Status"` // Risk type. `0`: Port risk; `1`: Vulnerability; `2`: Weak password; `3`: Website content risk; `4`: Configuration risk; `5`: Risk services Type *uint64 `json:"Type,omitnil,omitempty" name:"Type"` }
func NewModifyRiskCenterRiskStatusRequest ¶
func NewModifyRiskCenterRiskStatusRequest() (request *ModifyRiskCenterRiskStatusRequest)
func (*ModifyRiskCenterRiskStatusRequest) FromJsonString ¶
func (r *ModifyRiskCenterRiskStatusRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyRiskCenterRiskStatusRequest) ToJsonString ¶
func (r *ModifyRiskCenterRiskStatusRequest) ToJsonString() string
type ModifyRiskCenterRiskStatusRequestParams ¶
type ModifyRiskCenterRiskStatusRequestParams struct { // Data of risk assets RiskStatusKeys []*RiskCenterStatusKey `json:"RiskStatusKeys,omitnil,omitempty" name:"RiskStatusKeys"` // Specify how you want to change the risk status. `1`: Change to Handled, `2`: Change to Ignored; `3`: Remove from Handled; `4`: Remove from Ignored Status *uint64 `json:"Status,omitnil,omitempty" name:"Status"` // Risk type. `0`: Port risk; `1`: Vulnerability; `2`: Weak password; `3`: Website content risk; `4`: Configuration risk; `5`: Risk services Type *uint64 `json:"Type,omitnil,omitempty" name:"Type"` }
Predefined struct for user
type ModifyRiskCenterRiskStatusResponse ¶
type ModifyRiskCenterRiskStatusResponse struct { *tchttp.BaseResponse Response *ModifyRiskCenterRiskStatusResponseParams `json:"Response"` }
func NewModifyRiskCenterRiskStatusResponse ¶
func NewModifyRiskCenterRiskStatusResponse() (response *ModifyRiskCenterRiskStatusResponse)
func (*ModifyRiskCenterRiskStatusResponse) FromJsonString ¶
func (r *ModifyRiskCenterRiskStatusResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyRiskCenterRiskStatusResponse) ToJsonString ¶
func (r *ModifyRiskCenterRiskStatusResponse) ToJsonString() string
type ModifyRiskCenterRiskStatusResponseParams ¶
type ModifyRiskCenterRiskStatusResponseParams struct { // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type PortViewPortRisk ¶
type PortViewPortRisk struct { // Affected assets NoHandleCount *int64 `json:"NoHandleCount,omitnil,omitempty" name:"NoHandleCount"` // Risk level Level *string `json:"Level,omitnil,omitempty" name:"Level"` // Network protocol Protocol *string `json:"Protocol,omitnil,omitempty" name:"Protocol"` // Components Component *string `json:"Component,omitnil,omitempty" name:"Component"` // Port Port *int64 `json:"Port,omitnil,omitempty" name:"Port"` // Last detected RecentTime *string `json:"RecentTime,omitnil,omitempty" name:"RecentTime"` // First detected FirstTime *string `json:"FirstTime,omitnil,omitempty" name:"FirstTime"` // Suggested action. `0`: Keep as it is; `1`: Block access requests; `2`: Block the port Suggestion *uint64 `json:"Suggestion,omitnil,omitempty" name:"Suggestion"` // Status of the risk. `0`: Not handled, `1`: Handled; `2`: Ignored AffectAssetCount *string `json:"AffectAssetCount,omitnil,omitempty" name:"AffectAssetCount"` // Unique ID of the asset Id *string `json:"Id,omitnil,omitempty" name:"Id"` // Asset sub-category From *string `json:"From,omitnil,omitempty" name:"From"` // Data entry key Index *string `json:"Index,omitnil,omitempty" name:"Index"` // User AppId AppId *string `json:"AppId,omitnil,omitempty" name:"AppId"` // User name. // Note: This field may return·null, indicating that no valid values can be obtained. Nick *string `json:"Nick,omitnil,omitempty" name:"Nick"` // User `uin` // Note: This field may return·null, indicating that no valid values can be obtained. Uin *string `json:"Uin,omitnil,omitempty" name:"Uin"` // Service Service *string `json:"Service,omitnil,omitempty" name:"Service"` }
type PublicIpDomainListKey ¶
type PublicIpDomainListKey struct { // IP/Domain Asset *string `json:"Asset,omitnil,omitempty" name:"Asset"` }
type ReportItemKey ¶
type ReportItemKey struct { // List of report IDs. TaskLogList []*string `json:"TaskLogList,omitnil,omitempty" name:"TaskLogList"` }
type ReportTaskIdList ¶
type RiskCenterStatusKey ¶
type RiskCenterStatusKey struct { // Risk ID Id *string `json:"Id,omitnil,omitempty" name:"Id"` // User AppId AppId *string `json:"AppId,omitnil,omitempty" name:"AppId"` // Public IP/domain name PublicIPDomain *string `json:"PublicIPDomain,omitnil,omitempty" name:"PublicIPDomain"` // Instance ID. InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` }
type ScanTaskInfo ¶
type ScanTaskInfo struct { // Task ID Id // Note: This field may return·null, indicating that no valid values can be obtained. TaskId *string `json:"TaskId,omitnil,omitempty" name:"TaskId"` // Task name // Note: This field may return·null, indicating that no valid values can be obtained. TaskName *string `json:"TaskName,omitnil,omitempty" name:"TaskName"` // Task status. `1`: Pending start; `2`: Scanning; `3`: Failed; `4`: Completed // Note: This field may return·null, indicating that no valid values can be obtained. Status *int64 `json:"Status,omitnil,omitempty" name:"Status"` // Task progress // Note: This field may return·null, indicating that no valid values can be obtained. Progress *int64 `json:"Progress,omitnil,omitempty" name:"Progress"` // Displayed time point // Note: This field may return·null, indicating that no valid values can be obtained. TaskTime *string `json:"TaskTime,omitnil,omitempty" name:"TaskTime"` // Report ID // Note: This field may return·null, indicating that no valid values can be obtained. ReportId *string `json:"ReportId,omitnil,omitempty" name:"ReportId"` // Report name // Note: This field may return·null, indicating that no valid values can be obtained. ReportName *string `json:"ReportName,omitnil,omitempty" name:"ReportName"` // Task type. `0`: Scheduled task, `1`: Scan immediately; `2`: Scanned at the specified time; `3`: Custom. // Note: This field may return·null, indicating that no valid values can be obtained. ScanPlan *int64 `json:"ScanPlan,omitnil,omitempty" name:"ScanPlan"` // Number of associated assets // Note: This field may return·null, indicating that no valid values can be obtained. AssetCount *int64 `json:"AssetCount,omitnil,omitempty" name:"AssetCount"` // User AppId // Note: This field may return·null, indicating that no valid values can be obtained. AppId *string `json:"AppId,omitnil,omitempty" name:"AppId"` // User UIN // Note: This field may return·null, indicating that no valid values can be obtained. UIN *string `json:"UIN,omitnil,omitempty" name:"UIN"` // User name. // Note: This field may return·null, indicating that no valid values can be obtained. UserName *string `json:"UserName,omitnil,omitempty" name:"UserName"` }
type ScanTaskInfoList ¶
type ScanTaskInfoList struct { // Task name // Note: This field may return null, indicating that no valid values can be obtained. TaskName *string `json:"TaskName,omitnil,omitempty" name:"TaskName"` // Start time of the task // Note: This field may return null, indicating that no valid values can be obtained. StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"` // Task end time // Note: This field may return null, indicating that no valid values can be obtained. EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"` // CRON format // Note: This field may return null, indicating that no valid values can be obtained. ScanPlanContent *string `json:"ScanPlanContent,omitnil,omitempty" name:"ScanPlanContent"` // Task type. `0`: Scheduled task, `1`: Scan immediately; `2`: Scanned at the specified time; `3`: Custom. // Note: This field may return null, indicating that no valid values can be obtained. TaskType *int64 `json:"TaskType,omitnil,omitempty" name:"TaskType"` // Creation time // Note: This field may return `null`, indicating that no valid values can be obtained. InsertTime *string `json:"InsertTime,omitnil,omitempty" name:"InsertTime"` // Task ID // Note: This field may return null, indicating that no valid values can be obtained. TaskId *string `json:"TaskId,omitnil,omitempty" name:"TaskId"` // Custom list of assets to scan // Note: This field may return null, indicating that no valid values can be obtained. SelfDefiningAssets []*string `json:"SelfDefiningAssets,omitnil,omitempty" name:"SelfDefiningAssets"` // Estimated period to complete the task // Note: This field may return null, indicating that no valid values can be obtained. PredictTime *int64 `json:"PredictTime,omitnil,omitempty" name:"PredictTime"` // Estimated completion time of the task // Note: This field may return null, indicating that no valid values can be obtained. PredictEndTime *string `json:"PredictEndTime,omitnil,omitempty" name:"PredictEndTime"` // Number of reports // Note: This field may return null, indicating that no valid values can be obtained. ReportNumber *int64 `json:"ReportNumber,omitnil,omitempty" name:"ReportNumber"` // Number of assets // Note: This field may return null, indicating that no valid values can be obtained. AssetNumber *int64 `json:"AssetNumber,omitnil,omitempty" name:"AssetNumber"` // Scanning status. `0`: (default) Not scanned; `1`: Scanning; `2`: Scan completed; `3`: Error while scanning; `4`: Scanning stopped // Note: This field may return null, indicating that no valid values can be obtained. ScanStatus *int64 `json:"ScanStatus,omitnil,omitempty" name:"ScanStatus"` // Task progress // Note: This field may return null, indicating that no valid values can be obtained. Percent *float64 `json:"Percent,omitnil,omitempty" name:"Percent"` // port/poc/weakpass/webcontent/configrisk // Note: This field may return null, indicating that no valid values can be obtained. ScanItem *string `json:"ScanItem,omitnil,omitempty" name:"ScanItem"` // Values: `0` (Scan all); `1` (Scan specific assets); `2` (Scan all expect the specified assets); `3` (Custom assets). // Note: This field may return null, indicating that no valid values can be obtained. ScanAssetType *int64 `json:"ScanAssetType,omitnil,omitempty" name:"ScanAssetType"` // VSS subtask ID // Note: This field may return null, indicating that no valid values can be obtained. VSSTaskId *string `json:"VSSTaskId,omitnil,omitempty" name:"VSSTaskId"` // CSPM subtask ID // Note: This field may return null, indicating that no valid values can be obtained. CSPMTaskId *string `json:"CSPMTaskId,omitnil,omitempty" name:"CSPMTaskId"` // CWPP vulnerability scan task IDHost missed scan subtask id // Note: This field may return null, indicating that no valid values can be obtained. CWPPOCId *string `json:"CWPPOCId,omitnil,omitempty" name:"CWPPOCId"` // CWPP baseline check task ID // Note: This field may return null, indicating that no valid values can be obtained. CWPBlId *string `json:"CWPBlId,omitnil,omitempty" name:"CWPBlId"` // VSS task progess // Note: This field may return null, indicating that no valid values can be obtained. VSSTaskProcess *int64 `json:"VSSTaskProcess,omitnil,omitempty" name:"VSSTaskProcess"` // CSPM task progress // Note: This field may return null, indicating that no valid values can be obtained. CSPMTaskProcess *uint64 `json:"CSPMTaskProcess,omitnil,omitempty" name:"CSPMTaskProcess"` // CWPP vulnerability scan task progress // Note: This field may return null, indicating that no valid values can be obtained. CWPPOCProcess *int64 `json:"CWPPOCProcess,omitnil,omitempty" name:"CWPPOCProcess"` // CWPP baseline check task progress // Note: This field may return null, indicating that no valid values can be obtained. CWPBlProcess *uint64 `json:"CWPBlProcess,omitnil,omitempty" name:"CWPBlProcess"` ErrorCode *int64 `json:"ErrorCode,omitnil,omitempty" name:"ErrorCode"` // Exception information // Note: This field may return null, indicating that no valid values can be obtained. ErrorInfo *string `json:"ErrorInfo,omitnil,omitempty" name:"ErrorInfo"` // Day of the month to start the scheduled task // Note: This field may return null, indicating that no valid values can be obtained. StartDay *int64 `json:"StartDay,omitnil,omitempty" name:"StartDay"` // Scan frequency in days. `1`: Every day; `7`: Every seven days; `30`: Every 30 days; `0`: Scan once only // Note: This field may return null, indicating that no valid values can be obtained. Frequency *int64 `json:"Frequency,omitnil,omitempty" name:"Frequency"` // Number of completed tasks // Note: This field may return null, indicating that no valid values can be obtained. CompleteNumber *int64 `json:"CompleteNumber,omitnil,omitempty" name:"CompleteNumber"` // Number of scanned assets // Note: This field may return null, indicating that no valid values can be obtained. CompleteAssetNumber *int64 `json:"CompleteAssetNumber,omitnil,omitempty" name:"CompleteAssetNumber"` // Number of risks // Note: This field may return null, indicating that no valid values can be obtained. RiskCount *int64 `json:"RiskCount,omitnil,omitempty" name:"RiskCount"` // Assets // Note: This field may return null, indicating that no valid values can be obtained. Assets []*TaskAssetObject `json:"Assets,omitnil,omitempty" name:"Assets"` // User `Appid` // Note: This field may return null, indicating that no valid values can be obtained. AppId *string `json:"AppId,omitnil,omitempty" name:"AppId"` // User UIN // Note: This field may return null, indicating that no valid values can be obtained. UIN *string `json:"UIN,omitnil,omitempty" name:"UIN"` // User name. // Note: This field may return null, indicating that no valid values can be obtained. UserName *string `json:"UserName,omitnil,omitempty" name:"UserName"` // Scan task mode: `0` (Standard), `1` (Quick), `2` (Advanced). // Note: This field may return null, indicating that no valid values can be obtained. TaskMode *int64 `json:"TaskMode,omitnil,omitempty" name:"TaskMode"` // Source of scanning request // Note: This field may return null, indicating that no valid values can be obtained. ScanFrom *string `json:"ScanFrom,omitnil,omitempty" name:"ScanFrom"` // Whether it's a limited-time free health check. `0`: No; `1`: Yes // Note: This field may return null, indicating that no valid values can be obtained. IsFree *int64 `json:"IsFree,omitnil,omitempty" name:"IsFree"` // Whether the user is authorized to delete this task. `1` :Yes; `0`: No. It's available for multi-account management. // Note: This field may return null, indicating that no valid values can be obtained. IsDelete *int64 `json:"IsDelete,omitnil,omitempty" name:"IsDelete"` // Source of the task. `0`: Default, `1`: Assistant; `2`: Health check // Note: This field may return null, indicating that no valid values can be obtained. SourceType *int64 `json:"SourceType,omitnil,omitempty" name:"SourceType"` }
type ServerRisk ¶
type ServerRisk struct { // Service tag ServiceTag *string `json:"ServiceTag,omitnil,omitempty" name:"ServiceTag"` // Port // Note: This field may return·null, indicating that no valid values can be obtained. Port *uint64 `json:"Port,omitnil,omitempty" name:"Port"` // Affected assets AffectAsset *string `json:"AffectAsset,omitnil,omitempty" name:"AffectAsset"` // Instance ID InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // Instance name InstanceName *string `json:"InstanceName,omitnil,omitempty" name:"InstanceName"` // Asset type InstanceType *string `json:"InstanceType,omitnil,omitempty" name:"InstanceType"` // Risk level Level *string `json:"Level,omitnil,omitempty" name:"Level"` // Network protocol Protocol *string `json:"Protocol,omitnil,omitempty" name:"Protocol"` // Components Component *string `json:"Component,omitnil,omitempty" name:"Component"` // Service Service *string `json:"Service,omitnil,omitempty" name:"Service"` // Last detected RecentTime *string `json:"RecentTime,omitnil,omitempty" name:"RecentTime"` // First detected FirstTime *string `json:"FirstTime,omitnil,omitempty" name:"FirstTime"` // Risk Details // Note: This field may return·null, indicating that no valid values can be obtained. RiskDetails *string `json:"RiskDetails,omitnil,omitempty" name:"RiskDetails"` // Handling suggestion Suggestion *string `json:"Suggestion,omitnil,omitempty" name:"Suggestion"` // Status of the risk. `0`: Not handled, `1`: Handled; `2`: Ignored Status *uint64 `json:"Status,omitnil,omitempty" name:"Status"` // Unique ID of the asset Id *string `json:"Id,omitnil,omitempty" name:"Id"` // User `appid` AppId *string `json:"AppId,omitnil,omitempty" name:"AppId"` // User name. // Note: This field may return·null, indicating that no valid values can be obtained. Nick *string `json:"Nick,omitnil,omitempty" name:"Nick"` // User `uin` // Note: This field may return·null, indicating that no valid values can be obtained. Uin *string `json:"Uin,omitnil,omitempty" name:"Uin"` // Service snapshot // Note: This field may return·null, indicating that no valid values can be obtained. ServiceSnapshot *string `json:"ServiceSnapshot,omitnil,omitempty" name:"ServiceSnapshot"` // Service access URL. // Note: This field may return·null, indicating that no valid values can be obtained. Url *string `json:"Url,omitnil,omitempty" name:"Url"` // Data entry key // Note: This field may return·null, indicating that no valid values can be obtained. Index *string `json:"Index,omitnil,omitempty" name:"Index"` // List of risks // Note: This field may return·null, indicating that no valid values can be obtained. RiskList []*ServerRiskSuggestion `json:"RiskList,omitnil,omitempty" name:"RiskList"` // List of fix suggestions // Note: This field may return·null, indicating that no valid values can be obtained. SuggestionList []*ServerRiskSuggestion `json:"SuggestionList,omitnil,omitempty" name:"SuggestionList"` // HTTP response code // Note: This field may return·null, indicating that no valid values can be obtained. StatusCode *string `json:"StatusCode,omitnil,omitempty" name:"StatusCode"` }
type ServerRiskSuggestion ¶
type ServerRiskSuggestion struct { // Risk title // Note: This field may return·null, indicating that no valid values can be obtained. Title *string `json:"Title,omitnil,omitempty" name:"Title"` // Risk details // Note: This field may return·null, indicating that no valid values can be obtained. Body *string `json:"Body,omitnil,omitempty" name:"Body"` }
type StopRiskCenterTaskRequest ¶
type StopRiskCenterTaskRequest struct { *tchttp.BaseRequest // List of task IDs TaskIdList []*TaskIdListKey `json:"TaskIdList,omitnil,omitempty" name:"TaskIdList"` }
func NewStopRiskCenterTaskRequest ¶
func NewStopRiskCenterTaskRequest() (request *StopRiskCenterTaskRequest)
func (*StopRiskCenterTaskRequest) FromJsonString ¶
func (r *StopRiskCenterTaskRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*StopRiskCenterTaskRequest) ToJsonString ¶
func (r *StopRiskCenterTaskRequest) ToJsonString() string
type StopRiskCenterTaskRequestParams ¶
type StopRiskCenterTaskRequestParams struct { // List of task IDs TaskIdList []*TaskIdListKey `json:"TaskIdList,omitnil,omitempty" name:"TaskIdList"` }
Predefined struct for user
type StopRiskCenterTaskResponse ¶
type StopRiskCenterTaskResponse struct { *tchttp.BaseResponse Response *StopRiskCenterTaskResponseParams `json:"Response"` }
func NewStopRiskCenterTaskResponse ¶
func NewStopRiskCenterTaskResponse() (response *StopRiskCenterTaskResponse)
func (*StopRiskCenterTaskResponse) FromJsonString ¶
func (r *StopRiskCenterTaskResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*StopRiskCenterTaskResponse) ToJsonString ¶
func (r *StopRiskCenterTaskResponse) ToJsonString() string
type StopRiskCenterTaskResponseParams ¶
type StopRiskCenterTaskResponseParams struct { // `0`: Operation succeeded; Others: failed Status *int64 `json:"Status,omitnil,omitempty" name:"Status"` // The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type SubnetAsset ¶
type SubnetAsset struct { // appid AppId *string `json:"AppId,omitnil,omitempty" name:"AppId"` // UIN Uin *string `json:"Uin,omitnil,omitempty" name:"Uin"` // Asset ID AssetId *string `json:"AssetId,omitnil,omitempty" name:"AssetId"` // Asset name AssetName *string `json:"AssetName,omitnil,omitempty" name:"AssetName"` // Region Region *string `json:"Region,omitnil,omitempty" name:"Region"` // VPC ID VpcId *string `json:"VpcId,omitnil,omitempty" name:"VpcId"` // VPC name VpcName *string `json:"VpcName,omitnil,omitempty" name:"VpcName"` // Tags // Note: This field may return·null, indicating that no valid values can be obtained. Tag []*Tag `json:"Tag,omitnil,omitempty" name:"Tag"` // User name Nick *string `json:"Nick,omitnil,omitempty" name:"Nick"` // CIDR block CIDR *string `json:"CIDR,omitnil,omitempty" name:"CIDR"` // Availability zone Zone *string `json:"Zone,omitnil,omitempty" name:"Zone"` // Number of CVMs CVM *int64 `json:"CVM,omitnil,omitempty" name:"CVM"` // Number of available IPs AvailableIp *int64 `json:"AvailableIp,omitnil,omitempty" name:"AvailableIp"` // Creation time CreateTime *string `json:"CreateTime,omitnil,omitempty" name:"CreateTime"` // Configuration risks ConfigureRisk *int64 `json:"ConfigureRisk,omitnil,omitempty" name:"ConfigureRisk"` // Number of tasks. ScanTask *int64 `json:"ScanTask,omitnil,omitempty" name:"ScanTask"` // Last scan time LastScanTime *string `json:"LastScanTime,omitnil,omitempty" name:"LastScanTime"` // Whether it's a critical asset // Note: This field may return·null, indicating that no valid values can be obtained. IsCore *uint64 `json:"IsCore,omitnil,omitempty" name:"IsCore"` // Whether it's a newly-added asset. Values: `1` (Yes), `0` (No) // Note: This field may return·null, indicating that no valid values can be obtained. IsNewAsset *uint64 `json:"IsNewAsset,omitnil,omitempty" name:"IsNewAsset"` }
type Tags ¶
type Tags struct { // None // Note: This field may return·null, indicating that no valid values can be obtained. TagKey *string `json:"TagKey,omitnil,omitempty" name:"TagKey"` // None // Note: This field may return·null, indicating that no valid values can be obtained. TagValue *string `json:"TagValue,omitnil,omitempty" name:"TagValue"` }
type TaskAdvanceCFG ¶
type TaskAdvanceCFG struct { // Advanced vulnerability scan configuration VulRisk []*TaskCenterVulRiskInputParam `json:"VulRisk,omitnil,omitempty" name:"VulRisk"` // Advanced weak password check configuration WeakPwdRisk []*TaskCenterWeakPwdRiskInputParam `json:"WeakPwdRisk,omitnil,omitempty" name:"WeakPwdRisk"` // Advanced configuration risk scan configuration CFGRisk []*TaskCenterCFGRiskInputParam `json:"CFGRisk,omitnil,omitempty" name:"CFGRisk"` }
type TaskAssetObject ¶
type TaskAssetObject struct { // Asset name // Note: This field may return·null, indicating that no valid values can be obtained. AssetName *string `json:"AssetName,omitnil,omitempty" name:"AssetName"` // Asset category // Note: This field may return·null, indicating that no valid values can be obtained. InstanceType *string `json:"InstanceType,omitnil,omitempty" name:"InstanceType"` // Asset sub-category // Note: This field may return·null, indicating that no valid values can be obtained. AssetType *string `json:"AssetType,omitnil,omitempty" name:"AssetType"` // IP, domain name, asset ID, database ID, and more Asset *string `json:"Asset,omitnil,omitempty" name:"Asset"` // Region // Note: This field may return·null, indicating that no valid values can be obtained. Region *string `json:"Region,omitnil,omitempty" name:"Region"` // The ID specific for an asset synched from another cloud platform // Note: This field may return·null, indicating that no valid values can be obtained. Arn *string `json:"Arn,omitnil,omitempty" name:"Arn"` }
type TaskCenterCFGRiskInputParam ¶
type TaskCenterCFGRiskInputParam struct { // Check item ID ItemId *string `json:"ItemId,omitnil,omitempty" name:"ItemId"` // Whether to enable. `0`: no, `1`: yes. Enable *int64 `json:"Enable,omitnil,omitempty" name:"Enable"` // Resource type ResourceType *string `json:"ResourceType,omitnil,omitempty" name:"ResourceType"` }
type TaskIdListKey ¶
type TaskIdListKey struct { // Task ID TaskId *string `json:"TaskId,omitnil,omitempty" name:"TaskId"` }
type TaskLogInfo ¶
type TaskLogInfo struct { // Report name // Note: This field may return·null, indicating that no valid values can be obtained. TaskLogName *string `json:"TaskLogName,omitnil,omitempty" name:"TaskLogName"` // Report ID. TaskLogId *string `json:"TaskLogId,omitnil,omitempty" name:"TaskLogId"` // Number of associated assets // Note: This field may return·null, indicating that no valid values can be obtained. AssetsNumber *int64 `json:"AssetsNumber,omitnil,omitempty" name:"AssetsNumber"` // Number of risks // Note: This field may return·null, indicating that no valid values can be obtained. RiskNumber *int64 `json:"RiskNumber,omitnil,omitempty" name:"RiskNumber"` // Report generation time // Note: This field may return·null, indicating that no valid values can be obtained. Time *string `json:"Time,omitnil,omitempty" name:"Time"` // Task status. `0`: Initial value; `1`: Scanning; `2`: Completed; `3`: Failed; `4`: Stopped; `5`: Paused; `6`: Retried // Note: This field may return·null, indicating that no valid values can be obtained. Status *int64 `json:"Status,omitnil,omitempty" name:"Status"` // Name of the associated task // Note: This field may return·null, indicating that no valid values can be obtained. TaskName *string `json:"TaskName,omitnil,omitempty" name:"TaskName"` // Scan start time // Note: This field may return·null, indicating that no valid values can be obtained. StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"` // Scan task ID // Note: This field may return·null, indicating that no valid values can be obtained. TaskCenterTaskId *string `json:"TaskCenterTaskId,omitnil,omitempty" name:"TaskCenterTaskId"` // User AppId // Note: This field may return·null, indicating that no valid values can be obtained. AppId *string `json:"AppId,omitnil,omitempty" name:"AppId"` // User UIN // Note: This field may return·null, indicating that no valid values can be obtained. UIN *string `json:"UIN,omitnil,omitempty" name:"UIN"` // User name. // Note: This field may return·null, indicating that no valid values can be obtained. UserName *string `json:"UserName,omitnil,omitempty" name:"UserName"` // Report type: `1`: Health check report; `2`: Daily report; `3`: Weekly report; `4`: Monthly report // Note: This field may return·null, indicating that no valid values can be obtained. ReportType *int64 `json:"ReportType,omitnil,omitempty" name:"ReportType"` // Report template ID // Note: This field may return·null, indicating that no valid values can be obtained. TemplateId *int64 `json:"TemplateId,omitnil,omitempty" name:"TemplateId"` }
type TaskLogURL ¶
type TaskLogURL struct { // Temp download URL for the report // Note: This field may return·null, indicating that no valid values can be obtained. URL *string `json:"URL,omitnil,omitempty" name:"URL"` // Task report ID // Note: This field may return·null, indicating that no valid values can be obtained. LogId *string `json:"LogId,omitnil,omitempty" name:"LogId"` // Task report name // Note: This field may return·null, indicating that no valid values can be obtained. TaskLogName *string `json:"TaskLogName,omitnil,omitempty" name:"TaskLogName"` // APP ID // Note: This field may return·null, indicating that no valid values can be obtained. AppId *string `json:"AppId,omitnil,omitempty" name:"AppId"` }
type VULRiskAdvanceCFGList ¶
type VULRiskAdvanceCFGList struct { // Risk ID RiskId *string `json:"RiskId,omitnil,omitempty" name:"RiskId"` // Vulnerability name VULName *string `json:"VULName,omitnil,omitempty" name:"VULName"` // Risk level RiskLevel *string `json:"RiskLevel,omitnil,omitempty" name:"RiskLevel"` // Source of the check task CheckFrom *string `json:"CheckFrom,omitnil,omitempty" name:"CheckFrom"` // Whether it's enabled. `1`: Enable; `0`: Disabled // Note: This field may return·null, indicating that no valid values can be obtained. Enable *int64 `json:"Enable,omitnil,omitempty" name:"Enable"` // Risk type. VULType *string `json:"VULType,omitnil,omitempty" name:"VULType"` // Affected versions ImpactVersion *string `json:"ImpactVersion,omitnil,omitempty" name:"ImpactVersion"` // CVE number // Note: This field may return·null, indicating that no valid values can be obtained. CVE *string `json:"CVE,omitnil,omitempty" name:"CVE"` // Vulnerability tag VULTag []*string `json:"VULTag,omitnil,omitempty" name:"VULTag"` // Fix solution // Note: This field may return·null, indicating that no valid values can be obtained. FixMethod []*string `json:"FixMethod,omitnil,omitempty" name:"FixMethod"` // Disclosure time // Note: This field may return·null, indicating that no valid values can be obtained. ReleaseTime *string `json:"ReleaseTime,omitnil,omitempty" name:"ReleaseTime"` // Whether it's an emergency vulnerability. Values: `1` (emergency vulnerability); `0` (non-emergency vulnerability // Note: This field may return·null, indicating that no valid values can be obtained. EMGCVulType *int64 `json:"EMGCVulType,omitnil,omitempty" name:"EMGCVulType"` // Vulnerability description // Note: This field may return·null, indicating that no valid values can be obtained. VULDescribe *string `json:"VULDescribe,omitnil,omitempty" name:"VULDescribe"` // Affected components // Note: This field may return·null, indicating that no valid values can be obtained. ImpactComponent *string `json:"ImpactComponent,omitnil,omitempty" name:"ImpactComponent"` }
type VULViewVULRisk ¶
type VULViewVULRisk struct { // Port Port *string `json:"Port,omitnil,omitempty" name:"Port"` // Affected assets NoHandleCount *int64 `json:"NoHandleCount,omitnil,omitempty" name:"NoHandleCount"` // Risk level Level *string `json:"Level,omitnil,omitempty" name:"Level"` // Components Component *string `json:"Component,omitnil,omitempty" name:"Component"` // Last detected RecentTime *string `json:"RecentTime,omitnil,omitempty" name:"RecentTime"` // First detected FirstTime *string `json:"FirstTime,omitnil,omitempty" name:"FirstTime"` // Status of the risk. `0`: Not handled, `1`: Handled; `2`: Ignored AffectAssetCount *uint64 `json:"AffectAssetCount,omitnil,omitempty" name:"AffectAssetCount"` // Unique ID of the asset Id *string `json:"Id,omitnil,omitempty" name:"Id"` // Asset sub-category From *string `json:"From,omitnil,omitempty" name:"From"` // Frontend index Index *string `json:"Index,omitnil,omitempty" name:"Index"` // Vulnerability type VULType *string `json:"VULType,omitnil,omitempty" name:"VULType"` // Vulnerability name VULName *string `json:"VULName,omitnil,omitempty" name:"VULName"` // CVE number CVE *string `json:"CVE,omitnil,omitempty" name:"CVE"` // Description Describe *string `json:"Describe,omitnil,omitempty" name:"Describe"` // Pay load Payload *string `json:"Payload,omitnil,omitempty" name:"Payload"` // Affected components AppName *string `json:"AppName,omitnil,omitempty" name:"AppName"` // Reference information of the vulnerability References *string `json:"References,omitnil,omitempty" name:"References"` // Affected version AppVersion *string `json:"AppVersion,omitnil,omitempty" name:"AppVersion"` // Vulnerability URL VULURL *string `json:"VULURL,omitnil,omitempty" name:"VULURL"` // User name. // Note: This field may return·null, indicating that no valid values can be obtained. Nick *string `json:"Nick,omitnil,omitempty" name:"Nick"` // User `appid` AppId *string `json:"AppId,omitnil,omitempty" name:"AppId"` // User `uin` // Note: This field may return·null, indicating that no valid values can be obtained. Uin *string `json:"Uin,omitnil,omitempty" name:"Uin"` // Fix suggestion // Note: This field may return·null, indicating that no valid values can be obtained. Fix *string `json:"Fix,omitnil,omitempty" name:"Fix"` // Whether it's an emergency vulnerability. Values: `1` (emergency vulnerability); `0` (non-emergency vulnerability // Note: This field may return·null, indicating that no valid values can be obtained. EMGCVulType *int64 `json:"EMGCVulType,omitnil,omitempty" name:"EMGCVulType"` }
type Vpc ¶
type Vpc struct { // Subnet (32-bit mask) Subnet *uint64 `json:"Subnet,omitnil,omitempty" name:"Subnet"` // Connected VPC (32-bit mask) ConnectedVpc *uint64 `json:"ConnectedVpc,omitnil,omitempty" name:"ConnectedVpc"` // Asset ID AssetId *string `json:"AssetId,omitnil,omitempty" name:"AssetId"` // Region Region *string `json:"Region,omitnil,omitempty" name:"Region"` // CVM (only 32-bit) CVM *uint64 `json:"CVM,omitnil,omitempty" name:"CVM"` // Tags // Note: This field may return·null, indicating that no valid values can be obtained. Tag []*Tag `json:"Tag,omitnil,omitempty" name:"Tag"` // DNS domain // Note: This field may return·null, indicating that no valid values can be obtained. DNS []*string `json:"DNS,omitnil,omitempty" name:"DNS"` // Asset name AssetName *string `json:"AssetName,omitnil,omitempty" name:"AssetName"` // CIDR block CIDR *string `json:"CIDR,omitnil,omitempty" name:"CIDR"` // Asset creation time CreateTime *string `json:"CreateTime,omitnil,omitempty" name:"CreateTime"` // appid AppId *string `json:"AppId,omitnil,omitempty" name:"AppId"` // UIN Uin *string `json:"Uin,omitnil,omitempty" name:"Uin"` // User name Nick *string `json:"Nick,omitnil,omitempty" name:"Nick"` // Whether it's a newly-added asset. Values: `1` (Yes), `0` (No) // Note: This field may return·null, indicating that no valid values can be obtained. IsNewAsset *uint64 `json:"IsNewAsset,omitnil,omitempty" name:"IsNewAsset"` // Whether it's a critical asset. `1`: Yes; `2`: No // Note: This field may return·null, indicating that no valid values can be obtained. IsCore *uint64 `json:"IsCore,omitnil,omitempty" name:"IsCore"` }
type WebsiteRisk ¶
type WebsiteRisk struct { // Affected assets AffectAsset *string `json:"AffectAsset,omitnil,omitempty" name:"AffectAsset"` // Risk level Level *string `json:"Level,omitnil,omitempty" name:"Level"` // Last detected RecentTime *string `json:"RecentTime,omitnil,omitempty" name:"RecentTime"` // First detected FirstTime *string `json:"FirstTime,omitnil,omitempty" name:"FirstTime"` // Status of the risk. `0`: Not handled, `1`: Handled; `2`: Ignored Status *uint64 `json:"Status,omitnil,omitempty" name:"Status"` // Unique ID of the asset Id *string `json:"Id,omitnil,omitempty" name:"Id"` // Frontend index Index *string `json:"Index,omitnil,omitempty" name:"Index"` // Instance ID InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // Instance name InstanceName *string `json:"InstanceName,omitnil,omitempty" name:"InstanceName"` // User `appid` AppId *string `json:"AppId,omitnil,omitempty" name:"AppId"` // User name. // Note: This field may return·null, indicating that no valid values can be obtained. Nick *string `json:"Nick,omitnil,omitempty" name:"Nick"` // User `uin` // Note: This field may return·null, indicating that no valid values can be obtained. Uin *string `json:"Uin,omitnil,omitempty" name:"Uin"` // URL of the risk URL *string `json:"URL,omitnil,omitempty" name:"URL"` // URL of the risk file URLPath *string `json:"URLPath,omitnil,omitempty" name:"URLPath"` // Instance type InstanceType *string `json:"InstanceType,omitnil,omitempty" name:"InstanceType"` // Check type. DetectEngine *string `json:"DetectEngine,omitnil,omitempty" name:"DetectEngine"` // Result description. ResultDescribe *string `json:"ResultDescribe,omitnil,omitempty" name:"ResultDescribe"` // Source URL SourceURL *string `json:"SourceURL,omitnil,omitempty" name:"SourceURL"` // Source file URL SourceURLPath *string `json:"SourceURLPath,omitnil,omitempty" name:"SourceURLPath"` }
type WhereFilter ¶
type WhereFilter struct { // Filter item Name *string `json:"Name,omitnil,omitempty" name:"Name"` // Filter value Values []*string `json:"Values,omitnil,omitempty" name:"Values"` // // `1`: =; `2`: >; `3`: <; `4`: ≥; `5`: ≤; `6`: ≠; // `7`: Exact match; `9`: Fuzzy match; `13`: Non-fuzzy match; `14`: AND OperatorType *int64 `json:"OperatorType,omitnil,omitempty" name:"OperatorType"` }