tencentcloud-sdk-csip 3.0.630 → 3.0.632
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20221121/client.rb +24 -0
- data/lib/v20221121/models.rb +212 -18
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1076254a13cee0476bdb3c151ae7dee37fc60616
|
4
|
+
data.tar.gz: 19d770931b0f85d5750f6316183750db0d382396
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b70da1fb970f1937ddc0dfec443d87c0e4ccc7db1e04bfbe9c3492b6240b2c3e74f0b210ac314e97c46851ef550ef43c22bb798948e85e57ab0cb5f3af04b924
|
7
|
+
data.tar.gz: 064700f5a97beab33278ff43b59e8a32bb72c12e3be7220998534febd0a6cf97742440d38228ab20d5248ebd9b3cacfcb21a86110588bbc1a46079d3145042f7
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.632
|
data/lib/v20221121/client.rb
CHANGED
@@ -245,6 +245,30 @@ module TencentCloud
|
|
245
245
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
246
246
|
end
|
247
247
|
|
248
|
+
# 查询clb监听器列表
|
249
|
+
|
250
|
+
# @param request: Request instance for DescribeListenerList.
|
251
|
+
# @type request: :class:`Tencentcloud::csip::V20221121::DescribeListenerListRequest`
|
252
|
+
# @rtype: :class:`Tencentcloud::csip::V20221121::DescribeListenerListResponse`
|
253
|
+
def DescribeListenerList(request)
|
254
|
+
body = send_request('DescribeListenerList', request.serialize)
|
255
|
+
response = JSON.parse(body)
|
256
|
+
if response['Response'].key?('Error') == false
|
257
|
+
model = DescribeListenerListResponse.new
|
258
|
+
model.deserialize(response['Response'])
|
259
|
+
model
|
260
|
+
else
|
261
|
+
code = response['Response']['Error']['Code']
|
262
|
+
message = response['Response']['Error']['Message']
|
263
|
+
reqid = response['Response']['RequestId']
|
264
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
265
|
+
end
|
266
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
267
|
+
raise e
|
268
|
+
rescue StandardError => e
|
269
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
270
|
+
end
|
271
|
+
|
248
272
|
# ip公网列表
|
249
273
|
|
250
274
|
# @param request: Request instance for DescribePublicIpAssets.
|
data/lib/v20221121/models.rb
CHANGED
@@ -266,10 +266,13 @@ module TencentCloud
|
|
266
266
|
# @param IsCore: 是否核心:1:核心,2:非核心
|
267
267
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
268
268
|
# @type IsCore: Integer
|
269
|
+
# @param IsNewAsset: 是否新资产 1新
|
270
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
271
|
+
# @type IsNewAsset: Integer
|
269
272
|
|
270
|
-
attr_accessor :AppId, :Uin, :Nick, :Region, :AssetId, :AssetName, :InstanceCreateTime, :Namespace, :Status, :ClusterId, :ClusterName, :MachineId, :MachineName, :PodIp, :ServiceCount, :ContainerCount, :PublicIp, :PrivateIp, :IsCore
|
273
|
+
attr_accessor :AppId, :Uin, :Nick, :Region, :AssetId, :AssetName, :InstanceCreateTime, :Namespace, :Status, :ClusterId, :ClusterName, :MachineId, :MachineName, :PodIp, :ServiceCount, :ContainerCount, :PublicIp, :PrivateIp, :IsCore, :IsNewAsset
|
271
274
|
|
272
|
-
def initialize(appid=nil, uin=nil, nick=nil, region=nil, assetid=nil, assetname=nil, instancecreatetime=nil, namespace=nil, status=nil, clusterid=nil, clustername=nil, machineid=nil, machinename=nil, podip=nil, servicecount=nil, containercount=nil, publicip=nil, privateip=nil, iscore=nil)
|
275
|
+
def initialize(appid=nil, uin=nil, nick=nil, region=nil, assetid=nil, assetname=nil, instancecreatetime=nil, namespace=nil, status=nil, clusterid=nil, clustername=nil, machineid=nil, machinename=nil, podip=nil, servicecount=nil, containercount=nil, publicip=nil, privateip=nil, iscore=nil, isnewasset=nil)
|
273
276
|
@AppId = appid
|
274
277
|
@Uin = uin
|
275
278
|
@Nick = nick
|
@@ -289,6 +292,7 @@ module TencentCloud
|
|
289
292
|
@PublicIp = publicip
|
290
293
|
@PrivateIp = privateip
|
291
294
|
@IsCore = iscore
|
295
|
+
@IsNewAsset = isnewasset
|
292
296
|
end
|
293
297
|
|
294
298
|
def deserialize(params)
|
@@ -311,6 +315,7 @@ module TencentCloud
|
|
311
315
|
@PublicIp = params['PublicIp']
|
312
316
|
@PrivateIp = params['PrivateIp']
|
313
317
|
@IsCore = params['IsCore']
|
318
|
+
@IsNewAsset = params['IsNewAsset']
|
314
319
|
end
|
315
320
|
end
|
316
321
|
|
@@ -703,10 +708,13 @@ module TencentCloud
|
|
703
708
|
# @param BASAgentStatus: 模拟攻击工具状态。0代表未安装,1代表已安装,2代表已离线
|
704
709
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
705
710
|
# @type BASAgentStatus: Integer
|
711
|
+
# @param IsNewAsset: 1新资产;0 非新资产
|
712
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
713
|
+
# @type IsNewAsset: Integer
|
706
714
|
|
707
|
-
attr_accessor :AssetId, :AssetName, :AssetType, :Region, :CWPStatus, :AssetCreateTime, :PublicIp, :PrivateIp, :VpcId, :VpcName, :AppId, :Uin, :NickName, :AvailableArea, :IsCore, :SubnetId, :SubnetName, :InstanceUuid, :InstanceQUuid, :OsName, :PartitionCount, :CPUInfo, :CPUSize, :CPULoad, :MemorySize, :MemoryLoad, :DiskSize, :DiskLoad, :AccountCount, :ProcessCount, :AppCount, :PortCount, :Attack, :Access, :Intercept, :InBandwidth, :OutBandwidth, :InFlow, :OutFlow, :LastScanTime, :NetWorkOut, :PortRisk, :VulnerabilityRisk, :ConfigurationRisk, :ScanTask, :Tag, :MemberId, :Os, :RiskExposure, :BASAgentStatus
|
715
|
+
attr_accessor :AssetId, :AssetName, :AssetType, :Region, :CWPStatus, :AssetCreateTime, :PublicIp, :PrivateIp, :VpcId, :VpcName, :AppId, :Uin, :NickName, :AvailableArea, :IsCore, :SubnetId, :SubnetName, :InstanceUuid, :InstanceQUuid, :OsName, :PartitionCount, :CPUInfo, :CPUSize, :CPULoad, :MemorySize, :MemoryLoad, :DiskSize, :DiskLoad, :AccountCount, :ProcessCount, :AppCount, :PortCount, :Attack, :Access, :Intercept, :InBandwidth, :OutBandwidth, :InFlow, :OutFlow, :LastScanTime, :NetWorkOut, :PortRisk, :VulnerabilityRisk, :ConfigurationRisk, :ScanTask, :Tag, :MemberId, :Os, :RiskExposure, :BASAgentStatus, :IsNewAsset
|
708
716
|
|
709
|
-
def initialize(assetid=nil, assetname=nil, assettype=nil, region=nil, cwpstatus=nil, assetcreatetime=nil, publicip=nil, privateip=nil, vpcid=nil, vpcname=nil, appid=nil, uin=nil, nickname=nil, availablearea=nil, iscore=nil, subnetid=nil, subnetname=nil, instanceuuid=nil, instancequuid=nil, osname=nil, partitioncount=nil, cpuinfo=nil, cpusize=nil, cpuload=nil, memorysize=nil, memoryload=nil, disksize=nil, diskload=nil, accountcount=nil, processcount=nil, appcount=nil, portcount=nil, attack=nil, access=nil, intercept=nil, inbandwidth=nil, outbandwidth=nil, inflow=nil, outflow=nil, lastscantime=nil, networkout=nil, portrisk=nil, vulnerabilityrisk=nil, configurationrisk=nil, scantask=nil, tag=nil, memberid=nil, os=nil, riskexposure=nil, basagentstatus=nil)
|
717
|
+
def initialize(assetid=nil, assetname=nil, assettype=nil, region=nil, cwpstatus=nil, assetcreatetime=nil, publicip=nil, privateip=nil, vpcid=nil, vpcname=nil, appid=nil, uin=nil, nickname=nil, availablearea=nil, iscore=nil, subnetid=nil, subnetname=nil, instanceuuid=nil, instancequuid=nil, osname=nil, partitioncount=nil, cpuinfo=nil, cpusize=nil, cpuload=nil, memorysize=nil, memoryload=nil, disksize=nil, diskload=nil, accountcount=nil, processcount=nil, appcount=nil, portcount=nil, attack=nil, access=nil, intercept=nil, inbandwidth=nil, outbandwidth=nil, inflow=nil, outflow=nil, lastscantime=nil, networkout=nil, portrisk=nil, vulnerabilityrisk=nil, configurationrisk=nil, scantask=nil, tag=nil, memberid=nil, os=nil, riskexposure=nil, basagentstatus=nil, isnewasset=nil)
|
710
718
|
@AssetId = assetid
|
711
719
|
@AssetName = assetname
|
712
720
|
@AssetType = assettype
|
@@ -757,6 +765,7 @@ module TencentCloud
|
|
757
765
|
@Os = os
|
758
766
|
@RiskExposure = riskexposure
|
759
767
|
@BASAgentStatus = basagentstatus
|
768
|
+
@IsNewAsset = isnewasset
|
760
769
|
end
|
761
770
|
|
762
771
|
def deserialize(params)
|
@@ -817,6 +826,79 @@ module TencentCloud
|
|
817
826
|
@Os = params['Os']
|
818
827
|
@RiskExposure = params['RiskExposure']
|
819
828
|
@BASAgentStatus = params['BASAgentStatus']
|
829
|
+
@IsNewAsset = params['IsNewAsset']
|
830
|
+
end
|
831
|
+
end
|
832
|
+
|
833
|
+
# clb实例和监听器信息
|
834
|
+
class ClbListenerListInfo < TencentCloud::Common::AbstractModel
|
835
|
+
# @param ListenerId: 监听器id
|
836
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
837
|
+
# @type ListenerId: String
|
838
|
+
# @param ListenerName: 监听器名称
|
839
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
840
|
+
# @type ListenerName: String
|
841
|
+
# @param LoadBalancerId: 负载均衡Id
|
842
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
843
|
+
# @type LoadBalancerId: String
|
844
|
+
# @param LoadBalancerName: 负载均衡名称
|
845
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
846
|
+
# @type LoadBalancerName: String
|
847
|
+
# @param Protocol: 协议
|
848
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
849
|
+
# @type Protocol: String
|
850
|
+
# @param Region: 地域
|
851
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
852
|
+
# @type Region: String
|
853
|
+
# @param Vip: 负载均衡ip
|
854
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
855
|
+
# @type Vip: String
|
856
|
+
# @param VPort: 端口
|
857
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
858
|
+
# @type VPort: Integer
|
859
|
+
# @param Zone: 区域
|
860
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
861
|
+
# @type Zone: String
|
862
|
+
# @param NumericalVpcId: 私有网络id
|
863
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
864
|
+
# @type NumericalVpcId: Integer
|
865
|
+
# @param LoadBalancerType: 负载均衡类型
|
866
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
867
|
+
# @type LoadBalancerType: String
|
868
|
+
# @param Domain: 监听器域名
|
869
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
870
|
+
# @type Domain: String
|
871
|
+
|
872
|
+
attr_accessor :ListenerId, :ListenerName, :LoadBalancerId, :LoadBalancerName, :Protocol, :Region, :Vip, :VPort, :Zone, :NumericalVpcId, :LoadBalancerType, :Domain
|
873
|
+
|
874
|
+
def initialize(listenerid=nil, listenername=nil, loadbalancerid=nil, loadbalancername=nil, protocol=nil, region=nil, vip=nil, vport=nil, zone=nil, numericalvpcid=nil, loadbalancertype=nil, domain=nil)
|
875
|
+
@ListenerId = listenerid
|
876
|
+
@ListenerName = listenername
|
877
|
+
@LoadBalancerId = loadbalancerid
|
878
|
+
@LoadBalancerName = loadbalancername
|
879
|
+
@Protocol = protocol
|
880
|
+
@Region = region
|
881
|
+
@Vip = vip
|
882
|
+
@VPort = vport
|
883
|
+
@Zone = zone
|
884
|
+
@NumericalVpcId = numericalvpcid
|
885
|
+
@LoadBalancerType = loadbalancertype
|
886
|
+
@Domain = domain
|
887
|
+
end
|
888
|
+
|
889
|
+
def deserialize(params)
|
890
|
+
@ListenerId = params['ListenerId']
|
891
|
+
@ListenerName = params['ListenerName']
|
892
|
+
@LoadBalancerId = params['LoadBalancerId']
|
893
|
+
@LoadBalancerName = params['LoadBalancerName']
|
894
|
+
@Protocol = params['Protocol']
|
895
|
+
@Region = params['Region']
|
896
|
+
@Vip = params['Vip']
|
897
|
+
@VPort = params['VPort']
|
898
|
+
@Zone = params['Zone']
|
899
|
+
@NumericalVpcId = params['NumericalVpcId']
|
900
|
+
@LoadBalancerType = params['LoadBalancerType']
|
901
|
+
@Domain = params['Domain']
|
820
902
|
end
|
821
903
|
end
|
822
904
|
|
@@ -862,7 +944,7 @@ module TencentCloud
|
|
862
944
|
# @type TaskName: String
|
863
945
|
# @param ScanAssetType: 0-全扫,1-指定资产扫,2-排除资产扫,3-手动填写扫;1和2则Assets字段必填,3则SelfDefiningAssets必填
|
864
946
|
# @type ScanAssetType: Integer
|
865
|
-
# @param ScanItem: 扫描项目;port/poc/weakpass/webcontent/configrisk
|
947
|
+
# @param ScanItem: 扫描项目;port/poc/weakpass/webcontent/configrisk/exposedserver
|
866
948
|
# @type ScanItem: Array
|
867
949
|
# @param ScanPlanType: 0-周期任务,1-立即扫描,2-定时扫描,3-自定义;0,2,3则ScanPlanContent必填
|
868
950
|
# @type ScanPlanType: Integer
|
@@ -918,18 +1000,26 @@ module TencentCloud
|
|
918
1000
|
class CreateRiskCenterScanTaskResponse < TencentCloud::Common::AbstractModel
|
919
1001
|
# @param TaskId: 任务id
|
920
1002
|
# @type TaskId: String
|
1003
|
+
# @param Status: 0,任务创建成功;小于0失败;-1为存在资产未认证
|
1004
|
+
# @type Status: Integer
|
1005
|
+
# @param UnAuthAsset: 未认证资产列表
|
1006
|
+
# @type UnAuthAsset: Array
|
921
1007
|
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
922
1008
|
# @type RequestId: String
|
923
1009
|
|
924
|
-
attr_accessor :TaskId, :RequestId
|
1010
|
+
attr_accessor :TaskId, :Status, :UnAuthAsset, :RequestId
|
925
1011
|
|
926
|
-
def initialize(taskid=nil, requestid=nil)
|
1012
|
+
def initialize(taskid=nil, status=nil, unauthasset=nil, requestid=nil)
|
927
1013
|
@TaskId = taskid
|
1014
|
+
@Status = status
|
1015
|
+
@UnAuthAsset = unauthasset
|
928
1016
|
@RequestId = requestid
|
929
1017
|
end
|
930
1018
|
|
931
1019
|
def deserialize(params)
|
932
1020
|
@TaskId = params['TaskId']
|
1021
|
+
@Status = params['Status']
|
1022
|
+
@UnAuthAsset = params['UnAuthAsset']
|
933
1023
|
@RequestId = params['RequestId']
|
934
1024
|
end
|
935
1025
|
end
|
@@ -1002,10 +1092,13 @@ module TencentCloud
|
|
1002
1092
|
# @param IsCore: 是否核心
|
1003
1093
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
1004
1094
|
# @type IsCore: Integer
|
1095
|
+
# @param IsNewAsset: 是否新资产: 1新
|
1096
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1097
|
+
# @type IsNewAsset: Integer
|
1005
1098
|
|
1006
|
-
attr_accessor :AssetId, :AssetName, :AssetType, :VpcId, :VpcName, :Region, :Domain, :AssetCreateTime, :LastScanTime, :ConfigurationRisk, :Attack, :Access, :ScanTask, :AppId, :Uin, :NickName, :Port, :Tag, :PrivateIp, :PublicIp, :Status, :IsCore
|
1099
|
+
attr_accessor :AssetId, :AssetName, :AssetType, :VpcId, :VpcName, :Region, :Domain, :AssetCreateTime, :LastScanTime, :ConfigurationRisk, :Attack, :Access, :ScanTask, :AppId, :Uin, :NickName, :Port, :Tag, :PrivateIp, :PublicIp, :Status, :IsCore, :IsNewAsset
|
1007
1100
|
|
1008
|
-
def initialize(assetid=nil, assetname=nil, assettype=nil, vpcid=nil, vpcname=nil, region=nil, domain=nil, assetcreatetime=nil, lastscantime=nil, configurationrisk=nil, attack=nil, access=nil, scantask=nil, appid=nil, uin=nil, nickname=nil, port=nil, tag=nil, privateip=nil, publicip=nil, status=nil, iscore=nil)
|
1101
|
+
def initialize(assetid=nil, assetname=nil, assettype=nil, vpcid=nil, vpcname=nil, region=nil, domain=nil, assetcreatetime=nil, lastscantime=nil, configurationrisk=nil, attack=nil, access=nil, scantask=nil, appid=nil, uin=nil, nickname=nil, port=nil, tag=nil, privateip=nil, publicip=nil, status=nil, iscore=nil, isnewasset=nil)
|
1009
1102
|
@AssetId = assetid
|
1010
1103
|
@AssetName = assetname
|
1011
1104
|
@AssetType = assettype
|
@@ -1028,6 +1121,7 @@ module TencentCloud
|
|
1028
1121
|
@PublicIp = publicip
|
1029
1122
|
@Status = status
|
1030
1123
|
@IsCore = iscore
|
1124
|
+
@IsNewAsset = isnewasset
|
1031
1125
|
end
|
1032
1126
|
|
1033
1127
|
def deserialize(params)
|
@@ -1060,6 +1154,7 @@ module TencentCloud
|
|
1060
1154
|
@PublicIp = params['PublicIp']
|
1061
1155
|
@Status = params['Status']
|
1062
1156
|
@IsCore = params['IsCore']
|
1157
|
+
@IsNewAsset = params['IsNewAsset']
|
1063
1158
|
end
|
1064
1159
|
end
|
1065
1160
|
|
@@ -1671,6 +1766,58 @@ module TencentCloud
|
|
1671
1766
|
end
|
1672
1767
|
end
|
1673
1768
|
|
1769
|
+
# DescribeListenerList请求参数结构体
|
1770
|
+
class DescribeListenerListRequest < TencentCloud::Common::AbstractModel
|
1771
|
+
# @param Filter: -
|
1772
|
+
# @type Filter: :class:`Tencentcloud::Csip.v20221121.models.Filter`
|
1773
|
+
|
1774
|
+
attr_accessor :Filter
|
1775
|
+
|
1776
|
+
def initialize(filter=nil)
|
1777
|
+
@Filter = filter
|
1778
|
+
end
|
1779
|
+
|
1780
|
+
def deserialize(params)
|
1781
|
+
unless params['Filter'].nil?
|
1782
|
+
@Filter = Filter.new
|
1783
|
+
@Filter.deserialize(params['Filter'])
|
1784
|
+
end
|
1785
|
+
end
|
1786
|
+
end
|
1787
|
+
|
1788
|
+
# DescribeListenerList返回参数结构体
|
1789
|
+
class DescribeListenerListResponse < TencentCloud::Common::AbstractModel
|
1790
|
+
# @param Total: 总数
|
1791
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1792
|
+
# @type Total: Integer
|
1793
|
+
# @param Data: 监听器列表
|
1794
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1795
|
+
# @type Data: Array
|
1796
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1797
|
+
# @type RequestId: String
|
1798
|
+
|
1799
|
+
attr_accessor :Total, :Data, :RequestId
|
1800
|
+
|
1801
|
+
def initialize(total=nil, data=nil, requestid=nil)
|
1802
|
+
@Total = total
|
1803
|
+
@Data = data
|
1804
|
+
@RequestId = requestid
|
1805
|
+
end
|
1806
|
+
|
1807
|
+
def deserialize(params)
|
1808
|
+
@Total = params['Total']
|
1809
|
+
unless params['Data'].nil?
|
1810
|
+
@Data = []
|
1811
|
+
params['Data'].each do |i|
|
1812
|
+
clblistenerlistinfo_tmp = ClbListenerListInfo.new
|
1813
|
+
clblistenerlistinfo_tmp.deserialize(i)
|
1814
|
+
@Data << clblistenerlistinfo_tmp
|
1815
|
+
end
|
1816
|
+
end
|
1817
|
+
@RequestId = params['RequestId']
|
1818
|
+
end
|
1819
|
+
end
|
1820
|
+
|
1674
1821
|
# DescribePublicIpAssets请求参数结构体
|
1675
1822
|
class DescribePublicIpAssetsRequest < TencentCloud::Common::AbstractModel
|
1676
1823
|
# @param Filter: filte过滤条件
|
@@ -2341,10 +2488,22 @@ module TencentCloud
|
|
2341
2488
|
# @param ServiceRisk: 风险服务暴露数量
|
2342
2489
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
2343
2490
|
# @type ServiceRisk: Integer
|
2491
|
+
# @param IsNewAsset: 是否新资产 1新
|
2492
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2493
|
+
# @type IsNewAsset: Integer
|
2494
|
+
# @param VerifyDomain: 待确认资产的随机三级域名
|
2495
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2496
|
+
# @type VerifyDomain: String
|
2497
|
+
# @param VerifyTXTRecord: 待确认资产的TXT记录内容
|
2498
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2499
|
+
# @type VerifyTXTRecord: String
|
2500
|
+
# @param VerifyStatus: 待确认资产的认证状态,0-待认证,1-认证成功,2-认证中,3-txt认证失败,4-人工认证失败
|
2501
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2502
|
+
# @type VerifyStatus: Integer
|
2344
2503
|
|
2345
|
-
attr_accessor :AssetId, :AssetName, :AssetType, :Region, :WAFStatus, :AssetCreateTime, :AppId, :Uin, :NickName, :IsCore, :IsCloud, :Attack, :Access, :Intercept, :InBandwidth, :OutBandwidth, :InFlow, :OutFlow, :LastScanTime, :PortRisk, :VulnerabilityRisk, :ConfigurationRisk, :ScanTask, :SubDomain, :SeverIp, :BotCount, :WeakPassword, :WebContentRisk, :Tag, :SourceType, :MemberId, :CCAttack, :WebAttack, :ServiceRisk
|
2504
|
+
attr_accessor :AssetId, :AssetName, :AssetType, :Region, :WAFStatus, :AssetCreateTime, :AppId, :Uin, :NickName, :IsCore, :IsCloud, :Attack, :Access, :Intercept, :InBandwidth, :OutBandwidth, :InFlow, :OutFlow, :LastScanTime, :PortRisk, :VulnerabilityRisk, :ConfigurationRisk, :ScanTask, :SubDomain, :SeverIp, :BotCount, :WeakPassword, :WebContentRisk, :Tag, :SourceType, :MemberId, :CCAttack, :WebAttack, :ServiceRisk, :IsNewAsset, :VerifyDomain, :VerifyTXTRecord, :VerifyStatus
|
2346
2505
|
|
2347
|
-
def initialize(assetid=nil, assetname=nil, assettype=nil, region=nil, wafstatus=nil, assetcreatetime=nil, appid=nil, uin=nil, nickname=nil, iscore=nil, iscloud=nil, attack=nil, access=nil, intercept=nil, inbandwidth=nil, outbandwidth=nil, inflow=nil, outflow=nil, lastscantime=nil, portrisk=nil, vulnerabilityrisk=nil, configurationrisk=nil, scantask=nil, subdomain=nil, severip=nil, botcount=nil, weakpassword=nil, webcontentrisk=nil, tag=nil, sourcetype=nil, memberid=nil, ccattack=nil, webattack=nil, servicerisk=nil)
|
2506
|
+
def initialize(assetid=nil, assetname=nil, assettype=nil, region=nil, wafstatus=nil, assetcreatetime=nil, appid=nil, uin=nil, nickname=nil, iscore=nil, iscloud=nil, attack=nil, access=nil, intercept=nil, inbandwidth=nil, outbandwidth=nil, inflow=nil, outflow=nil, lastscantime=nil, portrisk=nil, vulnerabilityrisk=nil, configurationrisk=nil, scantask=nil, subdomain=nil, severip=nil, botcount=nil, weakpassword=nil, webcontentrisk=nil, tag=nil, sourcetype=nil, memberid=nil, ccattack=nil, webattack=nil, servicerisk=nil, isnewasset=nil, verifydomain=nil, verifytxtrecord=nil, verifystatus=nil)
|
2348
2507
|
@AssetId = assetid
|
2349
2508
|
@AssetName = assetname
|
2350
2509
|
@AssetType = assettype
|
@@ -2379,6 +2538,10 @@ module TencentCloud
|
|
2379
2538
|
@CCAttack = ccattack
|
2380
2539
|
@WebAttack = webattack
|
2381
2540
|
@ServiceRisk = servicerisk
|
2541
|
+
@IsNewAsset = isnewasset
|
2542
|
+
@VerifyDomain = verifydomain
|
2543
|
+
@VerifyTXTRecord = verifytxtrecord
|
2544
|
+
@VerifyStatus = verifystatus
|
2382
2545
|
end
|
2383
2546
|
|
2384
2547
|
def deserialize(params)
|
@@ -2423,6 +2586,10 @@ module TencentCloud
|
|
2423
2586
|
@CCAttack = params['CCAttack']
|
2424
2587
|
@WebAttack = params['WebAttack']
|
2425
2588
|
@ServiceRisk = params['ServiceRisk']
|
2589
|
+
@IsNewAsset = params['IsNewAsset']
|
2590
|
+
@VerifyDomain = params['VerifyDomain']
|
2591
|
+
@VerifyTXTRecord = params['VerifyTXTRecord']
|
2592
|
+
@VerifyStatus = params['VerifyStatus']
|
2426
2593
|
end
|
2427
2594
|
end
|
2428
2595
|
|
@@ -2594,10 +2761,16 @@ module TencentCloud
|
|
2594
2761
|
# @param RiskExposure: 风险服务暴露
|
2595
2762
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
2596
2763
|
# @type RiskExposure: Integer
|
2764
|
+
# @param IsNewAsset: 是否新资产 1新
|
2765
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2766
|
+
# @type IsNewAsset: Integer
|
2767
|
+
# @param VerifyStatus: 资产认证状态,0-待认证,1-认证成功,2-认证中,3+-认证失败
|
2768
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2769
|
+
# @type VerifyStatus: Integer
|
2597
2770
|
|
2598
|
-
attr_accessor :AssetId, :AssetName, :AssetType, :Region, :CFWStatus, :AssetCreateTime, :PublicIp, :PublicIpType, :VpcId, :VpcName, :AppId, :Uin, :NickName, :IsCore, :IsCloud, :Attack, :Access, :Intercept, :InBandwidth, :OutBandwidth, :InFlow, :OutFlow, :LastScanTime, :PortRisk, :VulnerabilityRisk, :ConfigurationRisk, :ScanTask, :WeakPassword, :WebContentRisk, :Tag, :AddressId, :MemberId, :RiskExposure
|
2771
|
+
attr_accessor :AssetId, :AssetName, :AssetType, :Region, :CFWStatus, :AssetCreateTime, :PublicIp, :PublicIpType, :VpcId, :VpcName, :AppId, :Uin, :NickName, :IsCore, :IsCloud, :Attack, :Access, :Intercept, :InBandwidth, :OutBandwidth, :InFlow, :OutFlow, :LastScanTime, :PortRisk, :VulnerabilityRisk, :ConfigurationRisk, :ScanTask, :WeakPassword, :WebContentRisk, :Tag, :AddressId, :MemberId, :RiskExposure, :IsNewAsset, :VerifyStatus
|
2599
2772
|
|
2600
|
-
def initialize(assetid=nil, assetname=nil, assettype=nil, region=nil, cfwstatus=nil, assetcreatetime=nil, publicip=nil, publiciptype=nil, vpcid=nil, vpcname=nil, appid=nil, uin=nil, nickname=nil, iscore=nil, iscloud=nil, attack=nil, access=nil, intercept=nil, inbandwidth=nil, outbandwidth=nil, inflow=nil, outflow=nil, lastscantime=nil, portrisk=nil, vulnerabilityrisk=nil, configurationrisk=nil, scantask=nil, weakpassword=nil, webcontentrisk=nil, tag=nil, addressid=nil, memberid=nil, riskexposure=nil)
|
2773
|
+
def initialize(assetid=nil, assetname=nil, assettype=nil, region=nil, cfwstatus=nil, assetcreatetime=nil, publicip=nil, publiciptype=nil, vpcid=nil, vpcname=nil, appid=nil, uin=nil, nickname=nil, iscore=nil, iscloud=nil, attack=nil, access=nil, intercept=nil, inbandwidth=nil, outbandwidth=nil, inflow=nil, outflow=nil, lastscantime=nil, portrisk=nil, vulnerabilityrisk=nil, configurationrisk=nil, scantask=nil, weakpassword=nil, webcontentrisk=nil, tag=nil, addressid=nil, memberid=nil, riskexposure=nil, isnewasset=nil, verifystatus=nil)
|
2601
2774
|
@AssetId = assetid
|
2602
2775
|
@AssetName = assetname
|
2603
2776
|
@AssetType = assettype
|
@@ -2631,6 +2804,8 @@ module TencentCloud
|
|
2631
2804
|
@AddressId = addressid
|
2632
2805
|
@MemberId = memberid
|
2633
2806
|
@RiskExposure = riskexposure
|
2807
|
+
@IsNewAsset = isnewasset
|
2808
|
+
@VerifyStatus = verifystatus
|
2634
2809
|
end
|
2635
2810
|
|
2636
2811
|
def deserialize(params)
|
@@ -2674,6 +2849,8 @@ module TencentCloud
|
|
2674
2849
|
@AddressId = params['AddressId']
|
2675
2850
|
@MemberId = params['MemberId']
|
2676
2851
|
@RiskExposure = params['RiskExposure']
|
2852
|
+
@IsNewAsset = params['IsNewAsset']
|
2853
|
+
@VerifyStatus = params['VerifyStatus']
|
2677
2854
|
end
|
2678
2855
|
end
|
2679
2856
|
|
@@ -2789,10 +2966,13 @@ module TencentCloud
|
|
2789
2966
|
# @param IsCore: 是否核心
|
2790
2967
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
2791
2968
|
# @type IsCore: Integer
|
2969
|
+
# @param IsNewAsset: 是否新资产 1新
|
2970
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2971
|
+
# @type IsNewAsset: Integer
|
2792
2972
|
|
2793
|
-
attr_accessor :AppId, :Uin, :AssetId, :AssetName, :Region, :VpcId, :VpcName, :Tag, :Nick, :CIDR, :Zone, :CVM, :AvailableIp, :CreateTime, :ConfigureRisk, :ScanTask, :LastScanTime, :IsCore
|
2973
|
+
attr_accessor :AppId, :Uin, :AssetId, :AssetName, :Region, :VpcId, :VpcName, :Tag, :Nick, :CIDR, :Zone, :CVM, :AvailableIp, :CreateTime, :ConfigureRisk, :ScanTask, :LastScanTime, :IsCore, :IsNewAsset
|
2794
2974
|
|
2795
|
-
def initialize(appid=nil, uin=nil, assetid=nil, assetname=nil, region=nil, vpcid=nil, vpcname=nil, tag=nil, nick=nil, cidr=nil, zone=nil, cvm=nil, availableip=nil, createtime=nil, configurerisk=nil, scantask=nil, lastscantime=nil, iscore=nil)
|
2975
|
+
def initialize(appid=nil, uin=nil, assetid=nil, assetname=nil, region=nil, vpcid=nil, vpcname=nil, tag=nil, nick=nil, cidr=nil, zone=nil, cvm=nil, availableip=nil, createtime=nil, configurerisk=nil, scantask=nil, lastscantime=nil, iscore=nil, isnewasset=nil)
|
2796
2976
|
@AppId = appid
|
2797
2977
|
@Uin = uin
|
2798
2978
|
@AssetId = assetid
|
@@ -2811,6 +2991,7 @@ module TencentCloud
|
|
2811
2991
|
@ScanTask = scantask
|
2812
2992
|
@LastScanTime = lastscantime
|
2813
2993
|
@IsCore = iscore
|
2994
|
+
@IsNewAsset = isnewasset
|
2814
2995
|
end
|
2815
2996
|
|
2816
2997
|
def deserialize(params)
|
@@ -2839,6 +3020,7 @@ module TencentCloud
|
|
2839
3020
|
@ScanTask = params['ScanTask']
|
2840
3021
|
@LastScanTime = params['LastScanTime']
|
2841
3022
|
@IsCore = params['IsCore']
|
3023
|
+
@IsNewAsset = params['IsNewAsset']
|
2842
3024
|
end
|
2843
3025
|
end
|
2844
3026
|
|
@@ -3037,10 +3219,16 @@ module TencentCloud
|
|
3037
3219
|
# @type Uin: String
|
3038
3220
|
# @param Nick: 昵称
|
3039
3221
|
# @type Nick: String
|
3222
|
+
# @param IsNewAsset: 是否新资产 1新
|
3223
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3224
|
+
# @type IsNewAsset: Integer
|
3225
|
+
# @param IsCore: 是否核心资产1是 2不是
|
3226
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3227
|
+
# @type IsCore: Integer
|
3040
3228
|
|
3041
|
-
attr_accessor :Subnet, :ConnectedVpc, :AssetId, :Region, :CVM, :Tag, :DNS, :AssetName, :CIDR, :CreateTime, :AppId, :Uin, :Nick
|
3229
|
+
attr_accessor :Subnet, :ConnectedVpc, :AssetId, :Region, :CVM, :Tag, :DNS, :AssetName, :CIDR, :CreateTime, :AppId, :Uin, :Nick, :IsNewAsset, :IsCore
|
3042
3230
|
|
3043
|
-
def initialize(subnet=nil, connectedvpc=nil, assetid=nil, region=nil, cvm=nil, tag=nil, dns=nil, assetname=nil, cidr=nil, createtime=nil, appid=nil, uin=nil, nick=nil)
|
3231
|
+
def initialize(subnet=nil, connectedvpc=nil, assetid=nil, region=nil, cvm=nil, tag=nil, dns=nil, assetname=nil, cidr=nil, createtime=nil, appid=nil, uin=nil, nick=nil, isnewasset=nil, iscore=nil)
|
3044
3232
|
@Subnet = subnet
|
3045
3233
|
@ConnectedVpc = connectedvpc
|
3046
3234
|
@AssetId = assetid
|
@@ -3054,6 +3242,8 @@ module TencentCloud
|
|
3054
3242
|
@AppId = appid
|
3055
3243
|
@Uin = uin
|
3056
3244
|
@Nick = nick
|
3245
|
+
@IsNewAsset = isnewasset
|
3246
|
+
@IsCore = iscore
|
3057
3247
|
end
|
3058
3248
|
|
3059
3249
|
def deserialize(params)
|
@@ -3077,6 +3267,8 @@ module TencentCloud
|
|
3077
3267
|
@AppId = params['AppId']
|
3078
3268
|
@Uin = params['Uin']
|
3079
3269
|
@Nick = params['Nick']
|
3270
|
+
@IsNewAsset = params['IsNewAsset']
|
3271
|
+
@IsCore = params['IsCore']
|
3080
3272
|
end
|
3081
3273
|
end
|
3082
3274
|
|
@@ -3086,7 +3278,9 @@ module TencentCloud
|
|
3086
3278
|
# @type Name: String
|
3087
3279
|
# @param Values: 过滤的值
|
3088
3280
|
# @type Values: Array
|
3089
|
-
# @param OperatorType:
|
3281
|
+
# @param OperatorType: 中台定义:
|
3282
|
+
# 1等于 2大于 3小于 4大于等于 5小于等于 6不等于 9模糊匹配 13非模糊匹配 14按位与
|
3283
|
+
# 精确匹配填 7 模糊匹配填9 兼容 中台定的结构
|
3090
3284
|
# @type OperatorType: Integer
|
3091
3285
|
|
3092
3286
|
attr_accessor :Name, :Values, :OperatorType
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tencentcloud-sdk-csip
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.632
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-08-
|
11
|
+
date: 2023-08-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|