Documentation
¶
Index ¶
- Constants
- type AggregationObj
- type Asset
- type AssetDetail
- type AssetList
- type Bucket
- type CheckAssetItem
- type CheckConfigDetail
- type Client
- func (c *Client) DescribeAssetDetail(request *DescribeAssetDetailRequest) (response *DescribeAssetDetailResponse, err error)
- func (c *Client) DescribeAssetList(request *DescribeAssetListRequest) (response *DescribeAssetListResponse, err error)
- func (c *Client) DescribeAssetsMappingList(request *DescribeAssetsMappingListRequest) (response *DescribeAssetsMappingListResponse, err error)
- func (c *Client) DescribeCheckConfigAssetList(request *DescribeCheckConfigAssetListRequest) (response *DescribeCheckConfigAssetListResponse, err error)
- func (c *Client) DescribeCheckConfigDetail(request *DescribeCheckConfigDetailRequest) (response *DescribeCheckConfigDetailResponse, err error)
- func (c *Client) DescribeComplianceAssetList(request *DescribeComplianceAssetListRequest) (response *DescribeComplianceAssetListResponse, err error)
- func (c *Client) DescribeComplianceDetail(request *DescribeComplianceDetailRequest) (response *DescribeComplianceDetailResponse, err error)
- func (c *Client) DescribeComplianceList(request *DescribeComplianceListRequest) (response *DescribeComplianceListResponse, err error)
- func (c *Client) DescribeConfigList(request *DescribeConfigListRequest) (response *DescribeConfigListResponse, err error)
- func (c *Client) DescribeEventDetail(request *DescribeEventDetailRequest) (response *DescribeEventDetailResponse, err error)
- func (c *Client) DescribeLeakDetectionList(request *DescribeLeakDetectionListRequest) (response *DescribeLeakDetectionListResponse, err error)
- func (c *Client) DescribeSafetyEventList(request *DescribeSafetyEventListRequest) (response *DescribeSafetyEventListResponse, err error)
- func (c *Client) DescribeVulDetail(request *DescribeVulDetailRequest) (response *DescribeVulDetailResponse, err error)
- func (c *Client) DescribeVulList(request *DescribeVulListRequest) (response *DescribeVulListResponse, err error)
- func (c *Client) SaDivulgeDataQueryPub(request *SaDivulgeDataQueryPubRequest) (response *SaDivulgeDataQueryPubResponse, err error)
- type ComplianceCheckDetail
- type DataAssetMapping
- type DataCheck
- type DataCompliance
- type DataEvent
- type DescribeAssetDetailRequest
- type DescribeAssetDetailResponse
- type DescribeAssetListRequest
- type DescribeAssetListResponse
- type DescribeAssetsMappingListRequest
- type DescribeAssetsMappingListResponse
- type DescribeCheckConfigAssetListRequest
- type DescribeCheckConfigAssetListResponse
- type DescribeCheckConfigDetailRequest
- type DescribeCheckConfigDetailResponse
- type DescribeComplianceAssetListRequest
- type DescribeComplianceAssetListResponse
- type DescribeComplianceDetailRequest
- type DescribeComplianceDetailResponse
- type DescribeComplianceListRequest
- type DescribeComplianceListResponse
- type DescribeConfigListRequest
- type DescribeConfigListResponse
- type DescribeEventDetailRequest
- type DescribeEventDetailResponse
- type DescribeLeakDetectionListRequest
- type DescribeLeakDetectionListResponse
- type DescribeSafetyEventListRequest
- type DescribeSafetyEventListResponse
- type DescribeVulDetailRequest
- type DescribeVulDetailResponse
- type DescribeVulListRequest
- type DescribeVulListResponse
- type Filter
- type SaDivulgeDataQueryPub
- type SaDivulgeDataQueryPubList
- type SaDivulgeDataQueryPubRequest
- type SaDivulgeDataQueryPubResponse
- type Tag
- type VulItem
- type VulList
Constants ¶
View Source
const APIVersion = "2018-06-08"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AggregationObj ¶
type Asset ¶
type Asset struct { // 资产类型 AssetType *string `json:"AssetType,omitempty" name:"AssetType"` // 名字 Name *string `json:"Name,omitempty" name:"Name"` // 区域 AssetRegionName *string `json:"AssetRegionName,omitempty" name:"AssetRegionName"` // 所属网络 AssetVpcid *string `json:"AssetVpcid,omitempty" name:"AssetVpcid"` // 主机类型 InstanceType *string `json:"InstanceType,omitempty" name:"InstanceType"` // 主机状态 InstanceState *string `json:"InstanceState,omitempty" name:"InstanceState"` // 引擎版本 EngineVersion *string `json:"EngineVersion,omitempty" name:"EngineVersion"` // 数据库标识 Id *string `json:"Id,omitempty" name:"Id"` // 标签 Tag []*Tag `json:"Tag,omitempty" name:"Tag" list` // 配置风险统计数 AssetCspmRiskNum *int64 `json:"AssetCspmRiskNum,omitempty" name:"AssetCspmRiskNum"` // 主机IP PublicIpAddresses []*string `json:"PublicIpAddresses,omitempty" name:"PublicIpAddresses" list` // 资产唯一标识 AssetUniqid *string `json:"AssetUniqid,omitempty" name:"AssetUniqid"` // 付费类型 ChargeType *string `json:"ChargeType,omitempty" name:"ChargeType"` // 安全事件统计数 AssetEventNum *int64 `json:"AssetEventNum,omitempty" name:"AssetEventNum"` // 漏洞统计数 AssetVulNum *int64 `json:"AssetVulNum,omitempty" name:"AssetVulNum"` // 主机IP内网 PrivateIpAddresses []*string `json:"PrivateIpAddresses,omitempty" name:"PrivateIpAddresses" list` // 所属分组 GroupName *string `json:"GroupName,omitempty" name:"GroupName"` // 发现时间 // 注意:此字段可能返回 null,表示取不到有效值。 SsaAssetDiscoverTime *string `json:"SsaAssetDiscoverTime,omitempty" name:"SsaAssetDiscoverTime"` // 下线时间 // 注意:此字段可能返回 null,表示取不到有效值。 SsaAssetDeleteTime *string `json:"SsaAssetDeleteTime,omitempty" name:"SsaAssetDeleteTime"` // 是否是新增资产 // 注意:此字段可能返回 null,表示取不到有效值。 IsNew *bool `json:"IsNew,omitempty" name:"IsNew"` // 所属子网 // 注意:此字段可能返回 null,表示取不到有效值。 AssetSubnetId *string `json:"AssetSubnetId,omitempty" name:"AssetSubnetId"` // 子网名称 // 注意:此字段可能返回 null,表示取不到有效值。 AssetSubnetName *string `json:"AssetSubnetName,omitempty" name:"AssetSubnetName"` // vpc名称 // 注意:此字段可能返回 null,表示取不到有效值。 AssetVpcName *string `json:"AssetVpcName,omitempty" name:"AssetVpcName"` // 集群类型 // 注意:此字段可能返回 null,表示取不到有效值。 ClusterType *int64 `json:"ClusterType,omitempty" name:"ClusterType"` // 命名空间 // 注意:此字段可能返回 null,表示取不到有效值。 NameSpace *string `json:"NameSpace,omitempty" name:"NameSpace"` // 负载均衡实例的网络类型 // 注意:此字段可能返回 null,表示取不到有效值。 LoadBalancerType *string `json:"LoadBalancerType,omitempty" name:"LoadBalancerType"` // 负载均衡实例的vip列表 // 注意:此字段可能返回 null,表示取不到有效值。 LoadBalancerVips []*string `json:"LoadBalancerVips,omitempty" name:"LoadBalancerVips" list` // ipv6信息 // 注意:此字段可能返回 null,表示取不到有效值。 AssetIpv6 []*string `json:"AssetIpv6,omitempty" name:"AssetIpv6" list` // ssh端口暴露风险 // 注意:此字段可能返回 null,表示取不到有效值。 SSHRisk *string `json:"SSHRisk,omitempty" name:"SSHRisk"` // rdp端口暴露风险 // 注意:此字段可能返回 null,表示取不到有效值。 RDPRisk *string `json:"RDPRisk,omitempty" name:"RDPRisk"` // 资产失陷事件风险 // 注意:此字段可能返回 null,表示取不到有效值。 EventRisk *string `json:"EventRisk,omitempty" name:"EventRisk"` }
type AssetDetail ¶
type AssetDetail struct { // 资产类型 AssetType *string `json:"AssetType,omitempty" name:"AssetType"` // 名字 Name *string `json:"Name,omitempty" name:"Name"` // 区域 Region *string `json:"Region,omitempty" name:"Region"` // 所属网络 VpcId *string `json:"VpcId,omitempty" name:"VpcId"` // 主机类型 InstanceType *string `json:"InstanceType,omitempty" name:"InstanceType"` // 主机状态 InstanceState *string `json:"InstanceState,omitempty" name:"InstanceState"` // 主机IP-公网 PublicIpAddresses []*string `json:"PublicIpAddresses,omitempty" name:"PublicIpAddresses" list` // 引擎版本 EngineVersion *string `json:"EngineVersion,omitempty" name:"EngineVersion"` // 标识 Id *string `json:"Id,omitempty" name:"Id"` // 标签 Tag []*Tag `json:"Tag,omitempty" name:"Tag" list` // 内网IP地址 // 注意:此字段可能返回 null,表示取不到有效值。 Vip *string `json:"Vip,omitempty" name:"Vip"` // 状态 // 注意:此字段可能返回 null,表示取不到有效值。 Status *int64 `json:"Status,omitempty" name:"Status"` // 负载均衡示例的vip列表 // 注意:此字段可能返回 null,表示取不到有效值。 LoadBalancerVips []*string `json:"LoadBalancerVips,omitempty" name:"LoadBalancerVips" list` // 账号ID // 注意:此字段可能返回 null,表示取不到有效值。 Uin *int64 `json:"Uin,omitempty" name:"Uin"` // 创建时间 // 注意:此字段可能返回 null,表示取不到有效值。 CreationDate *string `json:"CreationDate,omitempty" name:"CreationDate"` // 访问域名 // 注意:此字段可能返回 null,表示取不到有效值。 Domain *string `json:"Domain,omitempty" name:"Domain"` // 资产唯一id AssetUniqid *string `json:"AssetUniqid,omitempty" name:"AssetUniqid"` // 关联实例 // 注意:此字段可能返回 null,表示取不到有效值。 InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // 配置硬盘类型 // 注意:此字段可能返回 null,表示取不到有效值。 DiskType *string `json:"DiskType,omitempty" name:"DiskType"` // 配置硬盘大小 // 注意:此字段可能返回 null,表示取不到有效值。 DiskSize *int64 `json:"DiskSize,omitempty" name:"DiskSize"` // 云硬盘/证书状态 // 注意:此字段可能返回 null,表示取不到有效值。 AssetStatus *string `json:"AssetStatus,omitempty" name:"AssetStatus"` // 证书类型 // 注意:此字段可能返回 null,表示取不到有效值。 CertType *string `json:"CertType,omitempty" name:"CertType"` // 所属项目 // 注意:此字段可能返回 null,表示取不到有效值。 ProjectName *string `json:"ProjectName,omitempty" name:"ProjectName"` // 到期时间 // 注意:此字段可能返回 null,表示取不到有效值。 CertEndTime *string `json:"CertEndTime,omitempty" name:"CertEndTime"` // nosql引擎/版本 // 注意:此字段可能返回 null,表示取不到有效值。 ProductType *int64 `json:"ProductType,omitempty" name:"ProductType"` // 主机IP-内网 PrivateIpAddresses []*string `json:"PrivateIpAddresses,omitempty" name:"PrivateIpAddresses" list` // 证书有效期 // 注意:此字段可能返回 null,表示取不到有效值。 ValidityPeriod *string `json:"ValidityPeriod,omitempty" name:"ValidityPeriod"` // 分组名称 // 注意:此字段可能返回 null,表示取不到有效值。 GroupName *string `json:"GroupName,omitempty" name:"GroupName"` // 端口服务数组 // 注意:此字段可能返回 null,表示取不到有效值。 Port []*string `json:"Port,omitempty" name:"Port" list` // 配置风险数组 // 注意:此字段可能返回 null,表示取不到有效值。 RiskConfig []*string `json:"RiskConfig,omitempty" name:"RiskConfig" list` // 相关待处理事件 // 注意:此字段可能返回 null,表示取不到有效值。 Event *string `json:"Event,omitempty" name:"Event"` // 相关待处理漏洞 // 注意:此字段可能返回 null,表示取不到有效值。 Vul *string `json:"Vul,omitempty" name:"Vul"` // 资产发现时间 // 注意:此字段可能返回 null,表示取不到有效值。 SsaAssetDiscoverTime *string `json:"SsaAssetDiscoverTime,omitempty" name:"SsaAssetDiscoverTime"` // 所属子网 // 注意:此字段可能返回 null,表示取不到有效值。 AssetSubnetId *string `json:"AssetSubnetId,omitempty" name:"AssetSubnetId"` // 子网名称 // 注意:此字段可能返回 null,表示取不到有效值。 AssetSubnetName *string `json:"AssetSubnetName,omitempty" name:"AssetSubnetName"` // vpc名称 // 注意:此字段可能返回 null,表示取不到有效值。 AssetVpcName *string `json:"AssetVpcName,omitempty" name:"AssetVpcName"` // 集群类型 // 注意:此字段可能返回 null,表示取不到有效值。 ClusterType *int64 `json:"ClusterType,omitempty" name:"ClusterType"` // 命名空间 // 注意:此字段可能返回 null,表示取不到有效值。 NameSpace *string `json:"NameSpace,omitempty" name:"NameSpace"` // 创建时间 // 注意:此字段可能返回 null,表示取不到有效值。 AssetCreateTime *string `json:"AssetCreateTime,omitempty" name:"AssetCreateTime"` // 负载均衡网络类型 // 注意:此字段可能返回 null,表示取不到有效值。 LoadBalancerType *string `json:"LoadBalancerType,omitempty" name:"LoadBalancerType"` // ipv6信息 // 注意:此字段可能返回 null,表示取不到有效值。 AssetIpv6 []*string `json:"AssetIpv6,omitempty" name:"AssetIpv6" list` // ssh风险 // 注意:此字段可能返回 null,表示取不到有效值。 SSHRisk *string `json:"SSHRisk,omitempty" name:"SSHRisk"` // rdp风险 // 注意:此字段可能返回 null,表示取不到有效值。 RDPRisk *string `json:"RDPRisk,omitempty" name:"RDPRisk"` // 安全事件风险 // 注意:此字段可能返回 null,表示取不到有效值。 EventRisk *string `json:"EventRisk,omitempty" name:"EventRisk"` // 漏洞数量 // 注意:此字段可能返回 null,表示取不到有效值。 AssetVulNum *int64 `json:"AssetVulNum,omitempty" name:"AssetVulNum"` }
type CheckAssetItem ¶
type CheckAssetItem struct { // 检查项下资产组ID Id *int64 `json:"Id,omitempty" name:"Id"` // 资产组实例id Instid *string `json:"Instid,omitempty" name:"Instid"` // 处置跳转URL Url *string `json:"Url,omitempty" name:"Url"` // 检查任务id Taskid *string `json:"Taskid,omitempty" name:"Taskid"` // 检查结果 Result *int64 `json:"Result,omitempty" name:"Result"` // 更新时间 Updatetime *string `json:"Updatetime,omitempty" name:"Updatetime"` // 标签 // 注意:此字段可能返回 null,表示取不到有效值。 Tag *string `json:"Tag,omitempty" name:"Tag"` // 是否忽略 IsIgnore *int64 `json:"IsIgnore,omitempty" name:"IsIgnore"` // 检查状态 IsChecked *int64 `json:"IsChecked,omitempty" name:"IsChecked"` // 资产组信息 AssetInfo *string `json:"AssetInfo,omitempty" name:"AssetInfo"` // 资产组ES的_id AssetId *string `json:"AssetId,omitempty" name:"AssetId"` // 详情 Detail *string `json:"Detail,omitempty" name:"Detail"` // 备注内容 Remarks *string `json:"Remarks,omitempty" name:"Remarks"` }
type CheckConfigDetail ¶
type CheckConfigDetail struct { // 检查项Id Id *string `json:"Id,omitempty" name:"Id"` // 检查项名称 CheckName *string `json:"CheckName,omitempty" name:"CheckName"` // 检查项内容 Content *string `json:"Content,omitempty" name:"Content"` // 检查项处置方案 Method *string `json:"Method,omitempty" name:"Method"` // 检查项帮助文档 Doc *string `json:"Doc,omitempty" name:"Doc"` // 未通过总数 ErrorCount *int64 `json:"ErrorCount,omitempty" name:"ErrorCount"` // 是否通过检查 IsPass *int64 `json:"IsPass,omitempty" name:"IsPass"` // 通过检查项 SafeCount *int64 `json:"SafeCount,omitempty" name:"SafeCount"` // 忽略检查项 IgnoreCount *int64 `json:"IgnoreCount,omitempty" name:"IgnoreCount"` // 风险检查项 RiskCount *int64 `json:"RiskCount,omitempty" name:"RiskCount"` // 检查项英文 NameEn *string `json:"NameEn,omitempty" name:"NameEn"` // 检查项类型 AssetType *string `json:"AssetType,omitempty" name:"AssetType"` // res_count ResCount *int64 `json:"ResCount,omitempty" name:"ResCount"` // 是否忽略 IsIgnore *int64 `json:"IsIgnore,omitempty" name:"IsIgnore"` }
type Client ¶
func NewClient ¶
func NewClient(credential *common.Credential, region string, clientProfile *profile.ClientProfile) (client *Client, err error)
func NewClientWithSecretId ¶
Deprecated
func (*Client) DescribeAssetDetail ¶
func (c *Client) DescribeAssetDetail(request *DescribeAssetDetailRequest) (response *DescribeAssetDetailResponse, err error)
资产安全页资产详情
func (*Client) DescribeAssetList ¶
func (c *Client) DescribeAssetList(request *DescribeAssetListRequest) (response *DescribeAssetListResponse, err error)
资产安全资产列表
func (*Client) DescribeAssetsMappingList ¶
func (c *Client) DescribeAssetsMappingList(request *DescribeAssetsMappingListRequest) (response *DescribeAssetsMappingListResponse, err error)
资产测绘-测绘列表
func (*Client) DescribeCheckConfigAssetList ¶
func (c *Client) DescribeCheckConfigAssetList(request *DescribeCheckConfigAssetListRequest) (response *DescribeCheckConfigAssetListResponse, err error)
云安全配置管理资产组列表
func (*Client) DescribeCheckConfigDetail ¶
func (c *Client) DescribeCheckConfigDetail(request *DescribeCheckConfigDetailRequest) (response *DescribeCheckConfigDetailResponse, err error)
云安全配置检查项详情
func (*Client) DescribeComplianceAssetList ¶ added in v1.0.85
func (c *Client) DescribeComplianceAssetList(request *DescribeComplianceAssetListRequest) (response *DescribeComplianceAssetListResponse, err error)
合规管理-资产列表
func (*Client) DescribeComplianceDetail ¶
func (c *Client) DescribeComplianceDetail(request *DescribeComplianceDetailRequest) (response *DescribeComplianceDetailResponse, err error)
合规管理检查项详情
func (*Client) DescribeComplianceList ¶
func (c *Client) DescribeComplianceList(request *DescribeComplianceListRequest) (response *DescribeComplianceListResponse, err error)
合规管理总览页检查项列表
func (*Client) DescribeConfigList ¶
func (c *Client) DescribeConfigList(request *DescribeConfigListRequest) (response *DescribeConfigListResponse, err error)
云配置检查项总览页检查项列表
func (*Client) DescribeEventDetail ¶
func (c *Client) DescribeEventDetail(request *DescribeEventDetailRequest) (response *DescribeEventDetailResponse, err error)
获取安全事件详情
func (*Client) DescribeLeakDetectionList ¶
func (c *Client) DescribeLeakDetectionList(request *DescribeLeakDetectionListRequest) (response *DescribeLeakDetectionListResponse, err error)
获取泄露列表
func (*Client) DescribeSafetyEventList ¶
func (c *Client) DescribeSafetyEventList(request *DescribeSafetyEventListRequest) (response *DescribeSafetyEventListResponse, err error)
获取安全事件列表
func (*Client) DescribeVulDetail ¶ added in v1.0.85
func (c *Client) DescribeVulDetail(request *DescribeVulDetailRequest) (response *DescribeVulDetailResponse, err error)
漏洞列表页,获取漏洞详情信息
func (*Client) DescribeVulList ¶
func (c *Client) DescribeVulList(request *DescribeVulListRequest) (response *DescribeVulListResponse, err error)
漏洞管理页,获取漏洞列表
func (*Client) SaDivulgeDataQueryPub ¶
func (c *Client) SaDivulgeDataQueryPub(request *SaDivulgeDataQueryPubRequest) (response *SaDivulgeDataQueryPubResponse, err error)
查询【通用字段】【泄露监测数据列表】
type ComplianceCheckDetail ¶
type ComplianceCheckDetail struct { // 检查项ID Id *string `json:"Id,omitempty" name:"Id"` // 检查项类别 Category *string `json:"Category,omitempty" name:"Category"` // 检查项类型 Type *string `json:"Type,omitempty" name:"Type"` // 不通过总数 ErrorCount *int64 `json:"ErrorCount,omitempty" name:"ErrorCount"` // 检查项英文名 NameEn *string `json:"NameEn,omitempty" name:"NameEn"` // 检查项名称 CheckName *string `json:"CheckName,omitempty" name:"CheckName"` // 检查项处置方式 Method *string `json:"Method,omitempty" name:"Method"` // 帮助文档 Doc *string `json:"Doc,omitempty" name:"Doc"` // 通过总数 SafeCount *int64 `json:"SafeCount,omitempty" name:"SafeCount"` // 检查项检查内容 Content *string `json:"Content,omitempty" name:"Content"` // 是否通过检测 IsPass *int64 `json:"IsPass,omitempty" name:"IsPass"` // 忽略总数 IgnoreCount *int64 `json:"IgnoreCount,omitempty" name:"IgnoreCount"` // 风险总数 RiskCount *int64 `json:"RiskCount,omitempty" name:"RiskCount"` // 最近一次检测时间 // 注意:此字段可能返回 null,表示取不到有效值。 LastCheckTime *string `json:"LastCheckTime,omitempty" name:"LastCheckTime"` // 资产组类型 AssetType *string `json:"AssetType,omitempty" name:"AssetType"` // res_count ResCount *int64 `json:"ResCount,omitempty" name:"ResCount"` // 检查项UUID UUID *string `json:"UUID,omitempty" name:"UUID"` // 标准项 // 注意:此字段可能返回 null,表示取不到有效值。 StandardItem *string `json:"StandardItem,omitempty" name:"StandardItem"` // 章节 // 注意:此字段可能返回 null,表示取不到有效值。 Chapter *string `json:"Chapter,omitempty" name:"Chapter"` // 资产类型描述 // 注意:此字段可能返回 null,表示取不到有效值。 AssetTypeDesc *string `json:"AssetTypeDesc,omitempty" name:"AssetTypeDesc"` // 是否忽略 // 注意:此字段可能返回 null,表示取不到有效值。 IsIgnore *uint64 `json:"IsIgnore,omitempty" name:"IsIgnore"` // 风险项 // 注意:此字段可能返回 null,表示取不到有效值。 RiskItem *string `json:"RiskItem,omitempty" name:"RiskItem"` // 合规检查项完整名称 // 注意:此字段可能返回 null,表示取不到有效值。 Title *string `json:"Title,omitempty" name:"Title"` }
type DataAssetMapping ¶
type DataAssetMapping struct { // 资产主IP地址(公网IP) // 注意:此字段可能返回 null,表示取不到有效值。 AssetIp *string `json:"AssetIp,omitempty" name:"AssetIp"` // 资产名称 // 注意:此字段可能返回 null,表示取不到有效值。 AssetName *string `json:"AssetName,omitempty" name:"AssetName"` // 资产ID(各模块间通用) // 注意:此字段可能返回 null,表示取不到有效值。 Instid *string `json:"Instid,omitempty" name:"Instid"` // 资产类型 // 注意:此字段可能返回 null,表示取不到有效值。 AssetType *string `json:"AssetType,omitempty" name:"AssetType"` // 资产可用区(英文) // 注意:此字段可能返回 null,表示取不到有效值。 AssetRegionEn *string `json:"AssetRegionEn,omitempty" name:"AssetRegionEn"` // 资产可用区(中文) // 注意:此字段可能返回 null,表示取不到有效值。 AssetRegionCn *string `json:"AssetRegionCn,omitempty" name:"AssetRegionCn"` // 资产所属网络 // 注意:此字段可能返回 null,表示取不到有效值。 AssetNetwork *string `json:"AssetNetwork,omitempty" name:"AssetNetwork"` // 资产运行状态(英文) // 注意:此字段可能返回 null,表示取不到有效值。 AssetStatusEn *string `json:"AssetStatusEn,omitempty" name:"AssetStatusEn"` // 资产运行状态(中文) // 注意:此字段可能返回 null,表示取不到有效值。 AssetStatusCn *string `json:"AssetStatusCn,omitempty" name:"AssetStatusCn"` // 是否白名单:“True”为白名单不测绘,默认“False”正常测绘 // 注意:此字段可能返回 null,表示取不到有效值。 IsWhite *string `json:"IsWhite,omitempty" name:"IsWhite"` // 资产测绘状态(“unstart”未开始/“running”测绘中/“finish”已完成/“abandoned”任务中止) // 注意:此字段可能返回 null,表示取不到有效值。 Status *string `json:"Status,omitempty" name:"Status"` // 最近更新时间 // 注意:此字段可能返回 null,表示取不到有效值。 Time *string `json:"Time,omitempty" name:"Time"` // 资产标签 // 注意:此字段可能返回 null,表示取不到有效值。 Tag []*Tag `json:"Tag,omitempty" name:"Tag" list` // 资产组 // 注意:此字段可能返回 null,表示取不到有效值。 Group []*string `json:"Group,omitempty" name:"Group" list` // 端口和服务信息 // 注意:此字段可能返回 null,表示取不到有效值。 Port *string `json:"Port,omitempty" name:"Port"` // 组件信息 // 注意:此字段可能返回 null,表示取不到有效值。 Component *string `json:"Component,omitempty" name:"Component"` // 资产实例类型 // 注意:此字段可能返回 null,表示取不到有效值。 AssetInstanceType *string `json:"AssetInstanceType,omitempty" name:"AssetInstanceType"` // 资产是否是内网类型 // 注意:此字段可能返回 null,表示取不到有效值。 IsIntranet *uint64 `json:"IsIntranet,omitempty" name:"IsIntranet"` }
type DataCheck ¶
type DataCheck struct { // 检查项唯一标识符uuid Id *string `json:"Id,omitempty" name:"Id"` // 检查项名称 Name *string `json:"Name,omitempty" name:"Name"` // 检查项类型 Type *string `json:"Type,omitempty" name:"Type"` // 最近一次检查时间 // 注意:此字段可能返回 null,表示取不到有效值。 LastCheckTime *string `json:"LastCheckTime,omitempty" name:"LastCheckTime"` // 初始未检测状态0, 已通过为1,未通过为2 // 注意:此字段可能返回 null,表示取不到有效值。 Status *uint64 `json:"Status,omitempty" name:"Status"` // 0-未忽略,1-已忽略 // 注意:此字段可能返回 null,表示取不到有效值。 IsIgnored *uint64 `json:"IsIgnored,omitempty" name:"IsIgnored"` // 有风险的资源总数,未通过数量 // 注意:此字段可能返回 null,表示取不到有效值。 RiskCount *uint64 `json:"RiskCount,omitempty" name:"RiskCount"` // 0-检测中,1-结束检测 // 注意:此字段可能返回 null,表示取不到有效值。 IsChecked *uint64 `json:"IsChecked,omitempty" name:"IsChecked"` // 总资产数 // 注意:此字段可能返回 null,表示取不到有效值。 AssetTotal *int64 `json:"AssetTotal,omitempty" name:"AssetTotal"` // 备注内容 // 注意:此字段可能返回 null,表示取不到有效值。 Remarks *string `json:"Remarks,omitempty" name:"Remarks"` }
type DataCompliance ¶
type DataCompliance struct { // 等保唯一标识符 Id *string `json:"Id,omitempty" name:"Id"` // 检查项唯一标识符 CheckItemId *string `json:"CheckItemId,omitempty" name:"CheckItemId"` // 检查项名称 Name *string `json:"Name,omitempty" name:"Name"` // 检查项资产类型 AssetType *string `json:"AssetType,omitempty" name:"AssetType"` // 检查项类型 Type *string `json:"Type,omitempty" name:"Type"` // 检查项类别 Category *string `json:"Category,omitempty" name:"Category"` // 检查项标准项 StandardItem *string `json:"StandardItem,omitempty" name:"StandardItem"` // 检查项章节号 Chapter *string `json:"Chapter,omitempty" name:"Chapter"` // 最近一次检查时间 // 注意:此字段可能返回 null,表示取不到有效值。 LastCheckTime *string `json:"LastCheckTime,omitempty" name:"LastCheckTime"` // 初始未检测状态0, 已通过为1,未通过为2 // 注意:此字段可能返回 null,表示取不到有效值。 Status *uint64 `json:"Status,omitempty" name:"Status"` // 有风险的资源总数,未通过数量 // 注意:此字段可能返回 null,表示取不到有效值。 RiskCount *uint64 `json:"RiskCount,omitempty" name:"RiskCount"` // 0-检测中,1-结束检测 // 注意:此字段可能返回 null,表示取不到有效值。 IsChecked *uint64 `json:"IsChecked,omitempty" name:"IsChecked"` // 检查项风险项 // 注意:此字段可能返回 null,表示取不到有效值。 RiskItem *string `json:"RiskItem,omitempty" name:"RiskItem"` // 0-未忽略,1-已忽略 // 注意:此字段可能返回 null,表示取不到有效值。 IsIgnored *uint64 `json:"IsIgnored,omitempty" name:"IsIgnored"` // 等保检查项完整名称 // 注意:此字段可能返回 null,表示取不到有效值。 Title *string `json:"Title,omitempty" name:"Title"` // 资产总数 // 注意:此字段可能返回 null,表示取不到有效值。 AssetTotal *int64 `json:"AssetTotal,omitempty" name:"AssetTotal"` // 忽略内容 // 注意:此字段可能返回 null,表示取不到有效值。 Remarks *string `json:"Remarks,omitempty" name:"Remarks"` }
type DataEvent ¶
type DataEvent struct { // Md5值 // 注意:此字段可能返回 null,表示取不到有效值。 OldIdMd5 *string `json:"OldIdMd5,omitempty" name:"OldIdMd5"` // 事件名称 // 注意:此字段可能返回 null,表示取不到有效值。 EventName *string `json:"EventName,omitempty" name:"EventName"` // 事件类型一级分类 // 注意:此字段可能返回 null,表示取不到有效值。 EventType1 *int64 `json:"EventType1,omitempty" name:"EventType1"` // 事件类型二级分类 // 注意:此字段可能返回 null,表示取不到有效值。 EventType2 *int64 `json:"EventType2,omitempty" name:"EventType2"` // 事件等级 // 注意:此字段可能返回 null,表示取不到有效值。 Level *int64 `json:"Level,omitempty" name:"Level"` // 处理状态 // 注意:此字段可能返回 null,表示取不到有效值。 Status *int64 `json:"Status,omitempty" name:"Status"` // 源ip // 注意:此字段可能返回 null,表示取不到有效值。 SrcIp *string `json:"SrcIp,omitempty" name:"SrcIp"` // 目的ip // 注意:此字段可能返回 null,表示取不到有效值。 DstIp *string `json:"DstIp,omitempty" name:"DstIp"` // 事件发生时间 // 注意:此字段可能返回 null,表示取不到有效值。 Time *string `json:"Time,omitempty" name:"Time"` // 目的端口 // 注意:此字段可能返回 null,表示取不到有效值。 Dstport *int64 `json:"Dstport,omitempty" name:"Dstport"` // 资产ip // 注意:此字段可能返回 null,表示取不到有效值。 AssetIp *string `json:"AssetIp,omitempty" name:"AssetIp"` // 资产名称 // 注意:此字段可能返回 null,表示取不到有效值。 AssetName *string `json:"AssetName,omitempty" name:"AssetName"` // 安全事件唯一标识符 // 注意:此字段可能返回 null,表示取不到有效值。 SsaEventUniqid *string `json:"SsaEventUniqid,omitempty" name:"SsaEventUniqid"` // 资产id // 注意:此字段可能返回 null,表示取不到有效值。 AssetId *string `json:"AssetId,omitempty" name:"AssetId"` // 事件来源 // 注意:此字段可能返回 null,表示取不到有效值。 Source *string `json:"Source,omitempty" name:"Source"` // 索引 // 注意:此字段可能返回 null,表示取不到有效值。 Index *string `json:"Index,omitempty" name:"Index"` // 索引中的唯一标识符 // 注意:此字段可能返回 null,表示取不到有效值。 Id *string `json:"Id,omitempty" name:"Id"` // 受影响资产是否已下线 // 注意:此字段可能返回 null,表示取不到有效值。 IsAssetDeleted *string `json:"IsAssetDeleted,omitempty" name:"IsAssetDeleted"` // 源ip所属地 // 注意:此字段可能返回 null,表示取不到有效值。 SsaSrcCountry *string `json:"SsaSrcCountry,omitempty" name:"SsaSrcCountry"` // 目的ip所属地 // 注意:此字段可能返回 null,表示取不到有效值。 SsaDstCountry *string `json:"SsaDstCountry,omitempty" name:"SsaDstCountry"` // 木马类型的描述信息 // 注意:此字段可能返回 null,表示取不到有效值。 SsaDescription *string `json:"SsaDescription,omitempty" name:"SsaDescription"` // 供给链类型 // 注意:此字段可能返回 null,表示取不到有效值。 SsaAttackChain *string `json:"SsaAttackChain,omitempty" name:"SsaAttackChain"` // 受影响组件 RuleComponents *string `json:"RuleComponents,omitempty" name:"RuleComponents"` // 资产ip // 注意:此字段可能返回 null,表示取不到有效值。 AssetIpAll []*string `json:"AssetIpAll,omitempty" name:"AssetIpAll" list` // 资产类型 // 注意:此字段可能返回 null,表示取不到有效值。 AssetType *string `json:"AssetType,omitempty" name:"AssetType"` // cvm类型资产的公网ip // 注意:此字段可能返回 null,表示取不到有效值。 PublicIpAddresses []*string `json:"PublicIpAddresses,omitempty" name:"PublicIpAddresses" list` // cvm类型资产的内网ip PrivateIpAddresses []*string `json:"PrivateIpAddresses,omitempty" name:"PrivateIpAddresses" list` // 事件响应状态 // 注意:此字段可能返回 null,表示取不到有效值。 SoarResponseStatus *int64 `json:"SoarResponseStatus,omitempty" name:"SoarResponseStatus"` // 事件最近响应时间 // 注意:此字段可能返回 null,表示取不到有效值。 SoarResponseTime *int64 `json:"SoarResponseTime,omitempty" name:"SoarResponseTime"` // 事件建议处理状态 // 注意:此字段可能返回 null,表示取不到有效值。 SoarSuggestStatus *int64 `json:"SoarSuggestStatus,omitempty" name:"SoarSuggestStatus"` // 事件剧本类型 // 注意:此字段可能返回 null,表示取不到有效值。 SoarPlaybookType *string `json:"SoarPlaybookType,omitempty" name:"SoarPlaybookType"` // 剧本任务Id // 注意:此字段可能返回 null,表示取不到有效值。 SoarRunId *string `json:"SoarRunId,omitempty" name:"SoarRunId"` // 事件Id // 注意:此字段可能返回 null,表示取不到有效值。 SsaEventId *string `json:"SsaEventId,omitempty" name:"SsaEventId"` }
type DescribeAssetDetailRequest ¶
type DescribeAssetDetailRequest struct { *tchttp.BaseRequest // 查询过滤参数 Params *string `json:"Params,omitempty" name:"Params"` }
func NewDescribeAssetDetailRequest ¶
func NewDescribeAssetDetailRequest() (request *DescribeAssetDetailRequest)
func (*DescribeAssetDetailRequest) FromJsonString ¶
func (r *DescribeAssetDetailRequest) FromJsonString(s string) error
func (*DescribeAssetDetailRequest) ToJsonString ¶
func (r *DescribeAssetDetailRequest) ToJsonString() string
type DescribeAssetDetailResponse ¶
type DescribeAssetDetailResponse struct { *tchttp.BaseResponse Response *struct { // 资产详情 // 注意:此字段可能返回 null,表示取不到有效值。 Data *AssetDetail `json:"Data,omitempty" name:"Data"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDescribeAssetDetailResponse ¶
func NewDescribeAssetDetailResponse() (response *DescribeAssetDetailResponse)
func (*DescribeAssetDetailResponse) FromJsonString ¶
func (r *DescribeAssetDetailResponse) FromJsonString(s string) error
func (*DescribeAssetDetailResponse) ToJsonString ¶
func (r *DescribeAssetDetailResponse) ToJsonString() string
type DescribeAssetListRequest ¶
type DescribeAssetListRequest struct { *tchttp.BaseRequest // 查询过滤参数 Params *string `json:"Params,omitempty" name:"Params"` }
func NewDescribeAssetListRequest ¶
func NewDescribeAssetListRequest() (request *DescribeAssetListRequest)
func (*DescribeAssetListRequest) FromJsonString ¶
func (r *DescribeAssetListRequest) FromJsonString(s string) error
func (*DescribeAssetListRequest) ToJsonString ¶
func (r *DescribeAssetListRequest) ToJsonString() string
type DescribeAssetListResponse ¶
type DescribeAssetListResponse struct { *tchttp.BaseResponse Response *struct { // 资产列表 AssetList *AssetList `json:"AssetList,omitempty" name:"AssetList"` // 聚合数据 AggregationData []*AggregationObj `json:"AggregationData,omitempty" name:"AggregationData" list` // 命名空间数据 NamespaceData []*string `json:"NamespaceData,omitempty" name:"NamespaceData" list` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDescribeAssetListResponse ¶
func NewDescribeAssetListResponse() (response *DescribeAssetListResponse)
func (*DescribeAssetListResponse) FromJsonString ¶
func (r *DescribeAssetListResponse) FromJsonString(s string) error
func (*DescribeAssetListResponse) ToJsonString ¶
func (r *DescribeAssetListResponse) ToJsonString() string
type DescribeAssetsMappingListRequest ¶
type DescribeAssetsMappingListRequest struct { *tchttp.BaseRequest // 请求参数 Params *string `json:"Params,omitempty" name:"Params"` }
func NewDescribeAssetsMappingListRequest ¶
func NewDescribeAssetsMappingListRequest() (request *DescribeAssetsMappingListRequest)
func (*DescribeAssetsMappingListRequest) FromJsonString ¶
func (r *DescribeAssetsMappingListRequest) FromJsonString(s string) error
func (*DescribeAssetsMappingListRequest) ToJsonString ¶
func (r *DescribeAssetsMappingListRequest) ToJsonString() string
type DescribeAssetsMappingListResponse ¶
type DescribeAssetsMappingListResponse struct { *tchttp.BaseResponse Response *struct { // 资产测绘列表 Data []*DataAssetMapping `json:"Data,omitempty" name:"Data" list` // 资产测绘总数 TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"` // 类型分类统计数量 // 注意:此字段可能返回 null,表示取不到有效值。 CountByType *string `json:"CountByType,omitempty" name:"CountByType"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDescribeAssetsMappingListResponse ¶
func NewDescribeAssetsMappingListResponse() (response *DescribeAssetsMappingListResponse)
func (*DescribeAssetsMappingListResponse) FromJsonString ¶
func (r *DescribeAssetsMappingListResponse) FromJsonString(s string) error
func (*DescribeAssetsMappingListResponse) ToJsonString ¶
func (r *DescribeAssetsMappingListResponse) ToJsonString() string
type DescribeCheckConfigAssetListRequest ¶
type DescribeCheckConfigAssetListRequest struct { *tchttp.BaseRequest // 检查项UUID Id *string `json:"Id,omitempty" name:"Id"` // 页码 Offset *int64 `json:"Offset,omitempty" name:"Offset"` // 每页列表数 Limit *int64 `json:"Limit,omitempty" name:"Limit"` // db搜索条件 Search []*Filter `json:"Search,omitempty" name:"Search" list` // ES过滤条件 Filter []*Filter `json:"Filter,omitempty" name:"Filter" list` }
func NewDescribeCheckConfigAssetListRequest ¶
func NewDescribeCheckConfigAssetListRequest() (request *DescribeCheckConfigAssetListRequest)
func (*DescribeCheckConfigAssetListRequest) FromJsonString ¶
func (r *DescribeCheckConfigAssetListRequest) FromJsonString(s string) error
func (*DescribeCheckConfigAssetListRequest) ToJsonString ¶
func (r *DescribeCheckConfigAssetListRequest) ToJsonString() string
type DescribeCheckConfigAssetListResponse ¶
type DescribeCheckConfigAssetListResponse struct { *tchttp.BaseResponse Response *struct { // 资产列表总数 Total *int64 `json:"Total,omitempty" name:"Total"` // 资产列表项 // 注意:此字段可能返回 null,表示取不到有效值。 CheckAssetsList []*CheckAssetItem `json:"CheckAssetsList,omitempty" name:"CheckAssetsList" list` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDescribeCheckConfigAssetListResponse ¶
func NewDescribeCheckConfigAssetListResponse() (response *DescribeCheckConfigAssetListResponse)
func (*DescribeCheckConfigAssetListResponse) FromJsonString ¶
func (r *DescribeCheckConfigAssetListResponse) FromJsonString(s string) error
func (*DescribeCheckConfigAssetListResponse) ToJsonString ¶
func (r *DescribeCheckConfigAssetListResponse) ToJsonString() string
type DescribeCheckConfigDetailRequest ¶
type DescribeCheckConfigDetailRequest struct { *tchttp.BaseRequest // 检查项ID Id *string `json:"Id,omitempty" name:"Id"` }
func NewDescribeCheckConfigDetailRequest ¶
func NewDescribeCheckConfigDetailRequest() (request *DescribeCheckConfigDetailRequest)
func (*DescribeCheckConfigDetailRequest) FromJsonString ¶
func (r *DescribeCheckConfigDetailRequest) FromJsonString(s string) error
func (*DescribeCheckConfigDetailRequest) ToJsonString ¶
func (r *DescribeCheckConfigDetailRequest) ToJsonString() string
type DescribeCheckConfigDetailResponse ¶
type DescribeCheckConfigDetailResponse struct { *tchttp.BaseResponse Response *struct { // 检查项详情 CheckConfigDetail *CheckConfigDetail `json:"CheckConfigDetail,omitempty" name:"CheckConfigDetail"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDescribeCheckConfigDetailResponse ¶
func NewDescribeCheckConfigDetailResponse() (response *DescribeCheckConfigDetailResponse)
func (*DescribeCheckConfigDetailResponse) FromJsonString ¶
func (r *DescribeCheckConfigDetailResponse) FromJsonString(s string) error
func (*DescribeCheckConfigDetailResponse) ToJsonString ¶
func (r *DescribeCheckConfigDetailResponse) ToJsonString() string
type DescribeComplianceAssetListRequest ¶ added in v1.0.85
type DescribeComplianceAssetListRequest struct { *tchttp.BaseRequest // 页码 Offset *int64 `json:"Offset,omitempty" name:"Offset"` // 每页数量 Limit *int64 `json:"Limit,omitempty" name:"Limit"` // 检查项uuid Id *string `json:"Id,omitempty" name:"Id"` // 过滤条件 Filter []*Filter `json:"Filter,omitempty" name:"Filter" list` // 查询条件 Search []*Filter `json:"Search,omitempty" name:"Search" list` }
func NewDescribeComplianceAssetListRequest ¶ added in v1.0.85
func NewDescribeComplianceAssetListRequest() (request *DescribeComplianceAssetListRequest)
func (*DescribeComplianceAssetListRequest) FromJsonString ¶ added in v1.0.85
func (r *DescribeComplianceAssetListRequest) FromJsonString(s string) error
func (*DescribeComplianceAssetListRequest) ToJsonString ¶ added in v1.0.85
func (r *DescribeComplianceAssetListRequest) ToJsonString() string
type DescribeComplianceAssetListResponse ¶ added in v1.0.85
type DescribeComplianceAssetListResponse struct { *tchttp.BaseResponse Response *struct { // 资产组列表 CheckAssetsList []*CheckAssetItem `json:"CheckAssetsList,omitempty" name:"CheckAssetsList" list` // 资产组列表总数 Total *int64 `json:"Total,omitempty" name:"Total"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDescribeComplianceAssetListResponse ¶ added in v1.0.85
func NewDescribeComplianceAssetListResponse() (response *DescribeComplianceAssetListResponse)
func (*DescribeComplianceAssetListResponse) FromJsonString ¶ added in v1.0.85
func (r *DescribeComplianceAssetListResponse) FromJsonString(s string) error
func (*DescribeComplianceAssetListResponse) ToJsonString ¶ added in v1.0.85
func (r *DescribeComplianceAssetListResponse) ToJsonString() string
type DescribeComplianceDetailRequest ¶
type DescribeComplianceDetailRequest struct { *tchttp.BaseRequest // 检查项uuid Id *string `json:"Id,omitempty" name:"Id"` }
func NewDescribeComplianceDetailRequest ¶
func NewDescribeComplianceDetailRequest() (request *DescribeComplianceDetailRequest)
func (*DescribeComplianceDetailRequest) FromJsonString ¶
func (r *DescribeComplianceDetailRequest) FromJsonString(s string) error
func (*DescribeComplianceDetailRequest) ToJsonString ¶
func (r *DescribeComplianceDetailRequest) ToJsonString() string
type DescribeComplianceDetailResponse ¶
type DescribeComplianceDetailResponse struct { *tchttp.BaseResponse Response *struct { // 合规管理检查项详情 CheckConfigDetail *ComplianceCheckDetail `json:"CheckConfigDetail,omitempty" name:"CheckConfigDetail"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDescribeComplianceDetailResponse ¶
func NewDescribeComplianceDetailResponse() (response *DescribeComplianceDetailResponse)
func (*DescribeComplianceDetailResponse) FromJsonString ¶
func (r *DescribeComplianceDetailResponse) FromJsonString(s string) error
func (*DescribeComplianceDetailResponse) ToJsonString ¶
func (r *DescribeComplianceDetailResponse) ToJsonString() string
type DescribeComplianceListRequest ¶
type DescribeComplianceListRequest struct { *tchttp.BaseRequest // 搜索过滤条件 Filter *string `json:"Filter,omitempty" name:"Filter"` }
func NewDescribeComplianceListRequest ¶
func NewDescribeComplianceListRequest() (request *DescribeComplianceListRequest)
func (*DescribeComplianceListRequest) FromJsonString ¶
func (r *DescribeComplianceListRequest) FromJsonString(s string) error
func (*DescribeComplianceListRequest) ToJsonString ¶
func (r *DescribeComplianceListRequest) ToJsonString() string
type DescribeComplianceListResponse ¶
type DescribeComplianceListResponse struct { *tchttp.BaseResponse Response *struct { // 检查项列表 Data []*DataCompliance `json:"Data,omitempty" name:"Data" list` // 总检查资产数 // 注意:此字段可能返回 null,表示取不到有效值。 AssetTotalNum *int64 `json:"AssetTotalNum,omitempty" name:"AssetTotalNum"` // 总检查项 // 注意:此字段可能返回 null,表示取不到有效值。 ConfigTotalNum *int64 `json:"ConfigTotalNum,omitempty" name:"ConfigTotalNum"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDescribeComplianceListResponse ¶
func NewDescribeComplianceListResponse() (response *DescribeComplianceListResponse)
func (*DescribeComplianceListResponse) FromJsonString ¶
func (r *DescribeComplianceListResponse) FromJsonString(s string) error
func (*DescribeComplianceListResponse) ToJsonString ¶
func (r *DescribeComplianceListResponse) ToJsonString() string
type DescribeConfigListRequest ¶
type DescribeConfigListRequest struct { *tchttp.BaseRequest // 搜索过滤条件 Filter *string `json:"Filter,omitempty" name:"Filter"` }
func NewDescribeConfigListRequest ¶
func NewDescribeConfigListRequest() (request *DescribeConfigListRequest)
func (*DescribeConfigListRequest) FromJsonString ¶
func (r *DescribeConfigListRequest) FromJsonString(s string) error
func (*DescribeConfigListRequest) ToJsonString ¶
func (r *DescribeConfigListRequest) ToJsonString() string
type DescribeConfigListResponse ¶
type DescribeConfigListResponse struct { *tchttp.BaseResponse Response *struct { // 检查项列表 Data []*DataCheck `json:"Data,omitempty" name:"Data" list` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDescribeConfigListResponse ¶
func NewDescribeConfigListResponse() (response *DescribeConfigListResponse)
func (*DescribeConfigListResponse) FromJsonString ¶
func (r *DescribeConfigListResponse) FromJsonString(s string) error
func (*DescribeConfigListResponse) ToJsonString ¶
func (r *DescribeConfigListResponse) ToJsonString() string
type DescribeEventDetailRequest ¶
type DescribeEventDetailRequest struct { *tchttp.BaseRequest // 事件索引名 Index *string `json:"Index,omitempty" name:"Index"` // 事件id Id *string `json:"Id,omitempty" name:"Id"` // 事件来源 Source *string `json:"Source,omitempty" name:"Source"` // 事件子类型 SubEventType *uint64 `json:"SubEventType,omitempty" name:"SubEventType"` // 事件名称 Name *string `json:"Name,omitempty" name:"Name"` }
func NewDescribeEventDetailRequest ¶
func NewDescribeEventDetailRequest() (request *DescribeEventDetailRequest)
func (*DescribeEventDetailRequest) FromJsonString ¶
func (r *DescribeEventDetailRequest) FromJsonString(s string) error
func (*DescribeEventDetailRequest) ToJsonString ¶
func (r *DescribeEventDetailRequest) ToJsonString() string
type DescribeEventDetailResponse ¶
type DescribeEventDetailResponse struct { *tchttp.BaseResponse Response *struct { // 事件详情 Data *string `json:"Data,omitempty" name:"Data"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDescribeEventDetailResponse ¶
func NewDescribeEventDetailResponse() (response *DescribeEventDetailResponse)
func (*DescribeEventDetailResponse) FromJsonString ¶
func (r *DescribeEventDetailResponse) FromJsonString(s string) error
func (*DescribeEventDetailResponse) ToJsonString ¶
func (r *DescribeEventDetailResponse) ToJsonString() string
type DescribeLeakDetectionListRequest ¶
type DescribeLeakDetectionListRequest struct { *tchttp.BaseRequest // 筛选条件 Filters []*Filter `json:"Filters,omitempty" name:"Filters" list` // 每页数量 Limit *int64 `json:"Limit,omitempty" name:"Limit"` // 页码 Page *int64 `json:"Page,omitempty" name:"Page"` // 起始时间 StartTime *string `json:"StartTime,omitempty" name:"StartTime"` // 结束时间 EndTime *string `json:"EndTime,omitempty" name:"EndTime"` }
func NewDescribeLeakDetectionListRequest ¶
func NewDescribeLeakDetectionListRequest() (request *DescribeLeakDetectionListRequest)
func (*DescribeLeakDetectionListRequest) FromJsonString ¶
func (r *DescribeLeakDetectionListRequest) FromJsonString(s string) error
func (*DescribeLeakDetectionListRequest) ToJsonString ¶
func (r *DescribeLeakDetectionListRequest) ToJsonString() string
type DescribeLeakDetectionListResponse ¶
type DescribeLeakDetectionListResponse struct { *tchttp.BaseResponse Response *struct { // 总数 TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"` // 数据列表 List []*string `json:"List,omitempty" name:"List" list` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDescribeLeakDetectionListResponse ¶
func NewDescribeLeakDetectionListResponse() (response *DescribeLeakDetectionListResponse)
func (*DescribeLeakDetectionListResponse) FromJsonString ¶
func (r *DescribeLeakDetectionListResponse) FromJsonString(s string) error
func (*DescribeLeakDetectionListResponse) ToJsonString ¶
func (r *DescribeLeakDetectionListResponse) ToJsonString() string
type DescribeSafetyEventListRequest ¶
type DescribeSafetyEventListRequest struct { *tchttp.BaseRequest // 搜索过滤查询参数 Filter *string `json:"Filter,omitempty" name:"Filter"` // 限制数目 Limit *uint64 `json:"Limit,omitempty" name:"Limit"` // 页偏移 Offset *uint64 `json:"Offset,omitempty" name:"Offset"` // 排序列名 Order *string `json:"Order,omitempty" name:"Order"` // 排序升降:desc-降序 asc-升序 By *string `json:"By,omitempty" name:"By"` // 开始查询时间 StartTime *string `json:"StartTime,omitempty" name:"StartTime"` // 结束查询时间 EndTime *string `json:"EndTime,omitempty" name:"EndTime"` // 是否过滤响应时间 IsFilterResponseTime *bool `json:"IsFilterResponseTime,omitempty" name:"IsFilterResponseTime"` }
func NewDescribeSafetyEventListRequest ¶
func NewDescribeSafetyEventListRequest() (request *DescribeSafetyEventListRequest)
func (*DescribeSafetyEventListRequest) FromJsonString ¶
func (r *DescribeSafetyEventListRequest) FromJsonString(s string) error
func (*DescribeSafetyEventListRequest) ToJsonString ¶
func (r *DescribeSafetyEventListRequest) ToJsonString() string
type DescribeSafetyEventListResponse ¶
type DescribeSafetyEventListResponse struct { *tchttp.BaseResponse Response *struct { // 事件列表 List []*DataEvent `json:"List,omitempty" name:"List" list` // 事件总条数 Total *uint64 `json:"Total,omitempty" name:"Total"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDescribeSafetyEventListResponse ¶
func NewDescribeSafetyEventListResponse() (response *DescribeSafetyEventListResponse)
func (*DescribeSafetyEventListResponse) FromJsonString ¶
func (r *DescribeSafetyEventListResponse) FromJsonString(s string) error
func (*DescribeSafetyEventListResponse) ToJsonString ¶
func (r *DescribeSafetyEventListResponse) ToJsonString() string
type DescribeVulDetailRequest ¶ added in v1.0.85
type DescribeVulDetailRequest struct { *tchttp.BaseRequest // 漏洞唯一标识符 UniqId *string `json:"UniqId,omitempty" name:"UniqId"` // 查看详情来源 Source *string `json:"Source,omitempty" name:"Source"` }
func NewDescribeVulDetailRequest ¶ added in v1.0.85
func NewDescribeVulDetailRequest() (request *DescribeVulDetailRequest)
func (*DescribeVulDetailRequest) FromJsonString ¶ added in v1.0.85
func (r *DescribeVulDetailRequest) FromJsonString(s string) error
func (*DescribeVulDetailRequest) ToJsonString ¶ added in v1.0.85
func (r *DescribeVulDetailRequest) ToJsonString() string
type DescribeVulDetailResponse ¶ added in v1.0.85
type DescribeVulDetailResponse struct { *tchttp.BaseResponse Response *struct { // 漏洞类型 // 注意:此字段可能返回 null,表示取不到有效值。 VulType *int64 `json:"VulType,omitempty" name:"VulType"` // 漏洞子类型 // 注意:此字段可能返回 null,表示取不到有效值。 SubVulType *string `json:"SubVulType,omitempty" name:"SubVulType"` // cvss分数 // 注意:此字段可能返回 null,表示取不到有效值。 CvssScore *string `json:"CvssScore,omitempty" name:"CvssScore"` // cvss值 // 注意:此字段可能返回 null,表示取不到有效值。 Cvss *string `json:"Cvss,omitempty" name:"Cvss"` // cve编号 // 注意:此字段可能返回 null,表示取不到有效值。 Cve *string `json:"Cve,omitempty" name:"Cve"` // cnvd编号 // 注意:此字段可能返回 null,表示取不到有效值。 Cnvd *string `json:"Cnvd,omitempty" name:"Cnvd"` // cnnvd编号 // 注意:此字段可能返回 null,表示取不到有效值。 Cnnvd *string `json:"Cnnvd,omitempty" name:"Cnnvd"` // 描述 // 注意:此字段可能返回 null,表示取不到有效值。 Desc *string `json:"Desc,omitempty" name:"Desc"` // 参考 // 注意:此字段可能返回 null,表示取不到有效值。 Reference *string `json:"Reference,omitempty" name:"Reference"` // 修复意见 // 注意:此字段可能返回 null,表示取不到有效值。 Repair *string `json:"Repair,omitempty" name:"Repair"` // 披露时间 // 注意:此字段可能返回 null,表示取不到有效值。 ReleaseTime *string `json:"ReleaseTime,omitempty" name:"ReleaseTime"` // 更新时间 // 注意:此字段可能返回 null,表示取不到有效值。 UpdateTime *string `json:"UpdateTime,omitempty" name:"UpdateTime"` // 漏洞名称 // 注意:此字段可能返回 null,表示取不到有效值。 Name *string `json:"Name,omitempty" name:"Name"` // 等级 // 注意:此字段可能返回 null,表示取不到有效值。 Level *int64 `json:"Level,omitempty" name:"Level"` // 状态 // 注意:此字段可能返回 null,表示取不到有效值。 Status *int64 `json:"Status,omitempty" name:"Status"` // 受影响资产唯一标识 // 注意:此字段可能返回 null,表示取不到有效值。 ImpactAsset *string `json:"ImpactAsset,omitempty" name:"ImpactAsset"` // 受影响资产名称 // 注意:此字段可能返回 null,表示取不到有效值。 ImpactAssetName *string `json:"ImpactAssetName,omitempty" name:"ImpactAssetName"` // 受影响资产是否已删除 // 注意:此字段可能返回 null,表示取不到有效值。 IsAssetDeleted *bool `json:"IsAssetDeleted,omitempty" name:"IsAssetDeleted"` // 漏洞来源 // 注意:此字段可能返回 null,表示取不到有效值。 Source *string `json:"Source,omitempty" name:"Source"` // 漏洞URL // 注意:此字段可能返回 null,表示取不到有效值。 VulUrl *string `json:"VulUrl,omitempty" name:"VulUrl"` // 资产归属 // 注意:此字段可能返回 null,表示取不到有效值。 SsaAssetCategory *int64 `json:"SsaAssetCategory,omitempty" name:"SsaAssetCategory"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDescribeVulDetailResponse ¶ added in v1.0.85
func NewDescribeVulDetailResponse() (response *DescribeVulDetailResponse)
func (*DescribeVulDetailResponse) FromJsonString ¶ added in v1.0.85
func (r *DescribeVulDetailResponse) FromJsonString(s string) error
func (*DescribeVulDetailResponse) ToJsonString ¶ added in v1.0.85
func (r *DescribeVulDetailResponse) ToJsonString() string
type DescribeVulListRequest ¶
type DescribeVulListRequest struct { *tchttp.BaseRequest // 查询过滤参数 Params *string `json:"Params,omitempty" name:"Params"` }
func NewDescribeVulListRequest ¶
func NewDescribeVulListRequest() (request *DescribeVulListRequest)
func (*DescribeVulListRequest) FromJsonString ¶
func (r *DescribeVulListRequest) FromJsonString(s string) error
func (*DescribeVulListRequest) ToJsonString ¶
func (r *DescribeVulListRequest) ToJsonString() string
type DescribeVulListResponse ¶
type DescribeVulListResponse struct { *tchttp.BaseResponse Response *struct { // 漏洞列表 Data *VulList `json:"Data,omitempty" name:"Data"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDescribeVulListResponse ¶
func NewDescribeVulListResponse() (response *DescribeVulListResponse)
func (*DescribeVulListResponse) FromJsonString ¶
func (r *DescribeVulListResponse) FromJsonString(s string) error
func (*DescribeVulListResponse) ToJsonString ¶
func (r *DescribeVulListResponse) ToJsonString() string
type SaDivulgeDataQueryPub ¶
type SaDivulgeDataQueryPub struct { // Id Id *string `json:"Id,omitempty" name:"Id"` // Uin Uin *string `json:"Uin,omitempty" name:"Uin"` // AppId AppId *string `json:"AppId,omitempty" name:"AppId"` // EventName EventName *string `json:"EventName,omitempty" name:"EventName"` // DivulgeSoure DivulgeSoure *string `json:"DivulgeSoure,omitempty" name:"DivulgeSoure"` // Asset Asset *string `json:"Asset,omitempty" name:"Asset"` // RuleName RuleName *string `json:"RuleName,omitempty" name:"RuleName"` // RuleId RuleId *string `json:"RuleId,omitempty" name:"RuleId"` // RuleWord RuleWord *string `json:"RuleWord,omitempty" name:"RuleWord"` // ScanUrl ScanUrl *string `json:"ScanUrl,omitempty" name:"ScanUrl"` // ScanCount ScanCount *string `json:"ScanCount,omitempty" name:"ScanCount"` // Level Level *string `json:"Level,omitempty" name:"Level"` // Status Status *string `json:"Status,omitempty" name:"Status"` // EventTime EventTime *string `json:"EventTime,omitempty" name:"EventTime"` // InsertTime InsertTime *string `json:"InsertTime,omitempty" name:"InsertTime"` // UpdateTime UpdateTime *string `json:"UpdateTime,omitempty" name:"UpdateTime"` }
type SaDivulgeDataQueryPubList ¶
type SaDivulgeDataQueryPubList struct { // Count Count *uint64 `json:"Count,omitempty" name:"Count"` // List List []*SaDivulgeDataQueryPub `json:"List,omitempty" name:"List" list` }
type SaDivulgeDataQueryPubRequest ¶
type SaDivulgeDataQueryPubRequest struct { *tchttp.BaseRequest // 模糊查询字段 QueryKey *string `json:"QueryKey,omitempty" name:"QueryKey"` // 安全事件名称 EventName *string `json:"EventName,omitempty" name:"EventName"` // 监控源 DivulgeSoure *string `json:"DivulgeSoure,omitempty" name:"DivulgeSoure"` // 受影响资产 Asset *string `json:"Asset,omitempty" name:"Asset"` // 命中主题集下的规则topic名称 RuleName *string `json:"RuleName,omitempty" name:"RuleName"` // 命中主题集下的规则topic唯一id RuleId *string `json:"RuleId,omitempty" name:"RuleId"` // 风险等级 Level *string `json:"Level,omitempty" name:"Level"` // 安全事件状态 Status *string `json:"Status,omitempty" name:"Status"` // 起始时间 StartTime *string `json:"StartTime,omitempty" name:"StartTime"` // 结束时间 EndTime *string `json:"EndTime,omitempty" name:"EndTime"` // 查询起始地址 Offset *string `json:"Offset,omitempty" name:"Offset"` // 查询个数 Limit *string `json:"Limit,omitempty" name:"Limit"` }
func NewSaDivulgeDataQueryPubRequest ¶
func NewSaDivulgeDataQueryPubRequest() (request *SaDivulgeDataQueryPubRequest)
func (*SaDivulgeDataQueryPubRequest) FromJsonString ¶
func (r *SaDivulgeDataQueryPubRequest) FromJsonString(s string) error
func (*SaDivulgeDataQueryPubRequest) ToJsonString ¶
func (r *SaDivulgeDataQueryPubRequest) ToJsonString() string
type SaDivulgeDataQueryPubResponse ¶
type SaDivulgeDataQueryPubResponse struct { *tchttp.BaseResponse Response *struct { // 结果 Data *SaDivulgeDataQueryPubList `json:"Data,omitempty" name:"Data"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewSaDivulgeDataQueryPubResponse ¶
func NewSaDivulgeDataQueryPubResponse() (response *SaDivulgeDataQueryPubResponse)
func (*SaDivulgeDataQueryPubResponse) FromJsonString ¶
func (r *SaDivulgeDataQueryPubResponse) FromJsonString(s string) error
func (*SaDivulgeDataQueryPubResponse) ToJsonString ¶
func (r *SaDivulgeDataQueryPubResponse) ToJsonString() string
type VulItem ¶
type VulItem struct { // 标识 Id *string `json:"Id,omitempty" name:"Id"` // 漏洞名称 VulName *string `json:"VulName,omitempty" name:"VulName"` // 漏洞类型 Type *int64 `json:"Type,omitempty" name:"Type"` // 风险等级 Level *int64 `json:"Level,omitempty" name:"Level"` // 处理状态 Status *int64 `json:"Status,omitempty" name:"Status"` // 发现时间 Time *string `json:"Time,omitempty" name:"Time"` // 影响资产数 ImpactAssetNum *int64 `json:"ImpactAssetNum,omitempty" name:"ImpactAssetNum"` // 影响资产id ImpactAsset *string `json:"ImpactAsset,omitempty" name:"ImpactAsset"` // 影响资产名称 ImpactAssetName *string `json:"ImpactAssetName,omitempty" name:"ImpactAssetName"` // 漏洞描述 VulDetail *string `json:"VulDetail,omitempty" name:"VulDetail"` // 参考链接 VulRefLink *string `json:"VulRefLink,omitempty" name:"VulRefLink"` // Md5值 OldIdMd5 *string `json:"OldIdMd5,omitempty" name:"OldIdMd5"` // 漏洞唯一标识 UniqId *string `json:"UniqId,omitempty" name:"UniqId"` // 忽略时间 OperateTime *string `json:"OperateTime,omitempty" name:"OperateTime"` // 受影响资产是否下线 // 注意:此字段可能返回 null,表示取不到有效值。 IsAssetDeleted *string `json:"IsAssetDeleted,omitempty" name:"IsAssetDeleted"` // 漏洞首次发现时间 DiscoverTime *string `json:"DiscoverTime,omitempty" name:"DiscoverTime"` // 主机源信息标识符 OriginId *uint64 `json:"OriginId,omitempty" name:"OriginId"` // 资产区域 // 注意:此字段可能返回 null,表示取不到有效值。 Region *string `json:"Region,omitempty" name:"Region"` // 资产所属网络 // 注意:此字段可能返回 null,表示取不到有效值。 Vpcid *string `json:"Vpcid,omitempty" name:"Vpcid"` // 资产类型 // 注意:此字段可能返回 null,表示取不到有效值。 AssetType *string `json:"AssetType,omitempty" name:"AssetType"` // 资产子类型 // 注意:此字段可能返回 null,表示取不到有效值。 AssetSubType *string `json:"AssetSubType,omitempty" name:"AssetSubType"` // 资产IP // 注意:此字段可能返回 null,表示取不到有效值。 AssetIpAll []*string `json:"AssetIpAll,omitempty" name:"AssetIpAll" list` // cvm类型的公网ip // 注意:此字段可能返回 null,表示取不到有效值。 PublicIpAddresses []*string `json:"PublicIpAddresses,omitempty" name:"PublicIpAddresses" list` // cvm类型的内网ip // 注意:此字段可能返回 null,表示取不到有效值。 PrivateIpAddresses []*string `json:"PrivateIpAddresses,omitempty" name:"PrivateIpAddresses" list` // 漏洞来源 // 注意:此字段可能返回 null,表示取不到有效值。 VulSource *string `json:"VulSource,omitempty" name:"VulSource"` // 影响URL // 注意:此字段可能返回 null,表示取不到有效值。 AffectedUrl *string `json:"AffectedUrl,omitempty" name:"AffectedUrl"` // 资产归属 // 注意:此字段可能返回 null,表示取不到有效值。 SsaAssetCategory *int64 `json:"SsaAssetCategory,omitempty" name:"SsaAssetCategory"` // 影响url // 注意:此字段可能返回 null,表示取不到有效值。 VulUrl *string `json:"VulUrl,omitempty" name:"VulUrl"` // 是否扫描 // 注意:此字段可能返回 null,表示取不到有效值。 IsOpen *bool `json:"IsOpen,omitempty" name:"IsOpen"` // 御知主机id // 注意:此字段可能返回 null,表示取不到有效值。 YzHostId *uint64 `json:"YzHostId,omitempty" name:"YzHostId"` // 漏洞描述 // 注意:此字段可能返回 null,表示取不到有效值。 VulRepairPlan *string `json:"VulRepairPlan,omitempty" name:"VulRepairPlan"` }
Click to show internal directories.
Click to hide internal directories.