tencentcloud-sdk-ssa 3.0.590 → 3.0.591
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20180608/client.rb +24 -0
- data/lib/v20180608/models.rb +298 -86
- 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: bbeb39cd3dcc79c5ceb32aca5e0674ee1e31bbf4
|
4
|
+
data.tar.gz: 1441dcde020e9330e5b5f41eee8f087ebaae3ea7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b74e0cf3938002b00b4edf1650b7f1a034c2333a5f3d30d62058e83ad7cc824e4befbe1bfe4a436df8e416339256df617e876bd7635b50005b441c975b5bb8ce
|
7
|
+
data.tar.gz: 2097412c700c29bc65371492f11b57de8ebdee2058d6cfe27f6b9dbc619384cd90e394690e09c5e3acf30176558a05fade62061c477a1ff5c075b4ec7087ea42
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.591
|
data/lib/v20180608/client.rb
CHANGED
@@ -269,6 +269,30 @@ module TencentCloud
|
|
269
269
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
270
270
|
end
|
271
271
|
|
272
|
+
# 域名列表信息啊
|
273
|
+
|
274
|
+
# @param request: Request instance for DescribeDomainList.
|
275
|
+
# @type request: :class:`Tencentcloud::ssa::V20180608::DescribeDomainListRequest`
|
276
|
+
# @rtype: :class:`Tencentcloud::ssa::V20180608::DescribeDomainListResponse`
|
277
|
+
def DescribeDomainList(request)
|
278
|
+
body = send_request('DescribeDomainList', request.serialize)
|
279
|
+
response = JSON.parse(body)
|
280
|
+
if response['Response'].key?('Error') == false
|
281
|
+
model = DescribeDomainListResponse.new
|
282
|
+
model.deserialize(response['Response'])
|
283
|
+
model
|
284
|
+
else
|
285
|
+
code = response['Response']['Error']['Code']
|
286
|
+
message = response['Response']['Error']['Message']
|
287
|
+
reqid = response['Response']['RequestId']
|
288
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
289
|
+
end
|
290
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
291
|
+
raise e
|
292
|
+
rescue StandardError => e
|
293
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
294
|
+
end
|
295
|
+
|
272
296
|
# 获取安全事件详情
|
273
297
|
|
274
298
|
# @param request: Request instance for DescribeEventDetail.
|
data/lib/v20180608/models.rb
CHANGED
@@ -25,7 +25,7 @@ module TencentCloud
|
|
25
25
|
# @type Bucket: Array
|
26
26
|
|
27
27
|
attr_accessor :Type, :Bucket
|
28
|
-
|
28
|
+
|
29
29
|
def initialize(type=nil, bucket=nil)
|
30
30
|
@Type = type
|
31
31
|
@Bucket = bucket
|
@@ -54,7 +54,7 @@ module TencentCloud
|
|
54
54
|
# @type Detail: String
|
55
55
|
|
56
56
|
attr_accessor :BaseInfo, :Detail
|
57
|
-
|
57
|
+
|
58
58
|
def initialize(baseinfo=nil, detail=nil)
|
59
59
|
@BaseInfo = baseinfo
|
60
60
|
@Detail = detail
|
@@ -79,7 +79,7 @@ module TencentCloud
|
|
79
79
|
# @type Value: String
|
80
80
|
|
81
81
|
attr_accessor :Name, :Value
|
82
|
-
|
82
|
+
|
83
83
|
def initialize(name=nil, value=nil)
|
84
84
|
@Name = name
|
85
85
|
@Value = value
|
@@ -104,7 +104,7 @@ module TencentCloud
|
|
104
104
|
# @type Aggregations: :class:`Tencentcloud::Ssa.v20180608.models.AlertListAggregations`
|
105
105
|
|
106
106
|
attr_accessor :Total, :AlertList, :Aggregations
|
107
|
-
|
107
|
+
|
108
108
|
def initialize(total=nil, alertlist=nil, aggregations=nil)
|
109
109
|
@Total = total
|
110
110
|
@AlertList = alertlist
|
@@ -228,7 +228,7 @@ module TencentCloud
|
|
228
228
|
# @type WrongReportConditionId: Integer
|
229
229
|
|
230
230
|
attr_accessor :AlertTime, :AlertId, :AssetId, :AssetPrivateIp, :AlertName, :Level, :Type, :Source, :AttackChain, :AttackId, :Concerns, :Action, :AttackResult, :EventStatus, :EventId, :Status, :AssetName, :ConcernMaliciousCount, :ConcernVictimCount, :VictimAssetType, :SubType, :AttackName, :AssetPublicIp, :AttackTactic, :VictimAssetSub, :VictimAssetVpc, :Timestamp, :AssetGroupName, :AssetProjectName, :VictimAssetContent, :WrongReportStatus, :WrongReportConditionId
|
231
|
-
|
231
|
+
|
232
232
|
def initialize(alerttime=nil, alertid=nil, assetid=nil, assetprivateip=nil, alertname=nil, level=nil, type=nil, source=nil, attackchain=nil, attackid=nil, concerns=nil, action=nil, attackresult=nil, eventstatus=nil, eventid=nil, status=nil, assetname=nil, concernmaliciouscount=nil, concernvictimcount=nil, victimassettype=nil, subtype=nil, attackname=nil, assetpublicip=nil, attacktactic=nil, victimassetsub=nil, victimassetvpc=nil, timestamp=nil, assetgroupname=nil, assetprojectname=nil, victimassetcontent=nil, wrongreportstatus=nil, wrongreportconditionid=nil)
|
233
233
|
@AlertTime = alerttime
|
234
234
|
@AlertId = alertid
|
@@ -387,7 +387,7 @@ module TencentCloud
|
|
387
387
|
# @type EventRisk: String
|
388
388
|
|
389
389
|
attr_accessor :AssetType, :Name, :AssetRegionName, :AssetVpcid, :InstanceType, :InstanceState, :EngineVersion, :Id, :Tag, :AssetCspmRiskNum, :PublicIpAddresses, :AssetUniqid, :ChargeType, :AssetEventNum, :AssetVulNum, :PrivateIpAddresses, :GroupName, :SsaAssetDiscoverTime, :SsaAssetDeleteTime, :IsNew, :AssetSubnetId, :AssetSubnetName, :AssetVpcName, :ClusterType, :NameSpace, :LoadBalancerType, :LoadBalancerVips, :AssetIpv6, :SSHRisk, :RDPRisk, :EventRisk
|
390
|
-
|
390
|
+
|
391
391
|
def initialize(assettype=nil, name=nil, assetregionname=nil, assetvpcid=nil, instancetype=nil, instancestate=nil, engineversion=nil, id=nil, tag=nil, assetcspmrisknum=nil, publicipaddresses=nil, assetuniqid=nil, chargetype=nil, asseteventnum=nil, assetvulnum=nil, privateipaddresses=nil, groupname=nil, ssaassetdiscovertime=nil, ssaassetdeletetime=nil, isnew=nil, assetsubnetid=nil, assetsubnetname=nil, assetvpcname=nil, clustertype=nil, namespace=nil, loadbalancertype=nil, loadbalancervips=nil, assetipv6=nil, sshrisk=nil, rdprisk=nil, eventrisk=nil)
|
392
392
|
@AssetType = assettype
|
393
393
|
@Name = name
|
@@ -609,7 +609,7 @@ module TencentCloud
|
|
609
609
|
# @type AssetVpcid: String
|
610
610
|
|
611
611
|
attr_accessor :AssetType, :Name, :Region, :VpcId, :InstanceType, :InstanceState, :PublicIpAddresses, :EngineVersion, :Id, :Tag, :Vip, :Status, :LoadBalancerVips, :Uin, :CreationDate, :Domain, :AssetUniqid, :InstanceId, :DiskType, :DiskSize, :AssetStatus, :CertType, :ProjectName, :CertEndTime, :ProductType, :PrivateIpAddresses, :ValidityPeriod, :GroupName, :Port, :RiskConfig, :Event, :Vul, :SsaAssetDiscoverTime, :AssetSubnetId, :AssetSubnetName, :AssetVpcName, :ClusterType, :NameSpace, :AssetCreateTime, :LoadBalancerType, :AssetIpv6, :SSHRisk, :RDPRisk, :EventRisk, :AssetVulNum, :AssetEventNum, :AssetCspmRiskNum, :SsaAssetDeleteTime, :ChargeType, :AssetRegionName, :AssetVpcid
|
612
|
-
|
612
|
+
|
613
613
|
def initialize(assettype=nil, name=nil, region=nil, vpcid=nil, instancetype=nil, instancestate=nil, publicipaddresses=nil, engineversion=nil, id=nil, tag=nil, vip=nil, status=nil, loadbalancervips=nil, uin=nil, creationdate=nil, domain=nil, assetuniqid=nil, instanceid=nil, disktype=nil, disksize=nil, assetstatus=nil, certtype=nil, projectname=nil, certendtime=nil, producttype=nil, privateipaddresses=nil, validityperiod=nil, groupname=nil, port=nil, riskconfig=nil, event=nil, vul=nil, ssaassetdiscovertime=nil, assetsubnetid=nil, assetsubnetname=nil, assetvpcname=nil, clustertype=nil, namespace=nil, assetcreatetime=nil, loadbalancertype=nil, assetipv6=nil, sshrisk=nil, rdprisk=nil, eventrisk=nil, assetvulnum=nil, asseteventnum=nil, assetcspmrisknum=nil, ssaassetdeletetime=nil, chargetype=nil, assetregionname=nil, assetvpcid=nil)
|
614
614
|
@AssetType = assettype
|
615
615
|
@Name = name
|
@@ -734,7 +734,7 @@ module TencentCloud
|
|
734
734
|
# @type List: Array
|
735
735
|
|
736
736
|
attr_accessor :Total, :List
|
737
|
-
|
737
|
+
|
738
738
|
def initialize(total=nil, list=nil)
|
739
739
|
@Total = total
|
740
740
|
@List = list
|
@@ -761,7 +761,7 @@ module TencentCloud
|
|
761
761
|
# @type Logic: Integer
|
762
762
|
|
763
763
|
attr_accessor :Filter, :Logic
|
764
|
-
|
764
|
+
|
765
765
|
def initialize(filter=nil, logic=nil)
|
766
766
|
@Filter = filter
|
767
767
|
@Logic = logic
|
@@ -790,7 +790,7 @@ module TencentCloud
|
|
790
790
|
# @type AssetCount: Integer
|
791
791
|
|
792
792
|
attr_accessor :AssetType, :AssetCount
|
793
|
-
|
793
|
+
|
794
794
|
def initialize(assettype=nil, assetcount=nil)
|
795
795
|
@AssetType = assettype
|
796
796
|
@AssetCount = assetcount
|
@@ -810,7 +810,7 @@ module TencentCloud
|
|
810
810
|
# @type Count: Integer
|
811
811
|
|
812
812
|
attr_accessor :Key, :Count
|
813
|
-
|
813
|
+
|
814
814
|
def initialize(key=nil, count=nil)
|
815
815
|
@Key = key
|
816
816
|
@Count = count
|
@@ -853,7 +853,7 @@ module TencentCloud
|
|
853
853
|
# @type Remarks: String
|
854
854
|
|
855
855
|
attr_accessor :Id, :Instid, :Url, :Taskid, :Result, :Updatetime, :Tag, :IsIgnore, :IsChecked, :AssetInfo, :AssetId, :Detail, :Remarks
|
856
|
-
|
856
|
+
|
857
857
|
def initialize(id=nil, instid=nil, url=nil, taskid=nil, result=nil, updatetime=nil, tag=nil, isignore=nil, ischecked=nil, assetinfo=nil, assetid=nil, detail=nil, remarks=nil)
|
858
858
|
@Id = id
|
859
859
|
@Instid = instid
|
@@ -919,7 +919,7 @@ module TencentCloud
|
|
919
919
|
# @type IsIgnore: Integer
|
920
920
|
|
921
921
|
attr_accessor :Id, :CheckName, :Content, :Method, :Doc, :ErrorCount, :IsPass, :SafeCount, :IgnoreCount, :RiskCount, :NameEn, :AssetType, :ResCount, :IsIgnore
|
922
|
-
|
922
|
+
|
923
923
|
def initialize(id=nil, checkname=nil, content=nil, method=nil, doc=nil, errorcount=nil, ispass=nil, safecount=nil, ignorecount=nil, riskcount=nil, nameen=nil, assettype=nil, rescount=nil, isignore=nil)
|
924
924
|
@Id = id
|
925
925
|
@CheckName = checkname
|
@@ -1012,7 +1012,7 @@ module TencentCloud
|
|
1012
1012
|
# @type Title: String
|
1013
1013
|
|
1014
1014
|
attr_accessor :Id, :Category, :Type, :ErrorCount, :NameEn, :CheckName, :Method, :Doc, :SafeCount, :Content, :IsPass, :IgnoreCount, :RiskCount, :LastCheckTime, :AssetType, :ResCount, :UUID, :StandardItem, :Chapter, :AssetTypeDesc, :IsIgnore, :RiskItem, :Title
|
1015
|
-
|
1015
|
+
|
1016
1016
|
def initialize(id=nil, category=nil, type=nil, errorcount=nil, nameen=nil, checkname=nil, method=nil, doc=nil, safecount=nil, content=nil, ispass=nil, ignorecount=nil, riskcount=nil, lastchecktime=nil, assettype=nil, rescount=nil, uuid=nil, standarditem=nil, chapter=nil, assettypedesc=nil, isignore=nil, riskitem=nil, title=nil)
|
1017
1017
|
@Id = id
|
1018
1018
|
@Category = category
|
@@ -1175,7 +1175,7 @@ module TencentCloud
|
|
1175
1175
|
# @type EventSubType: String
|
1176
1176
|
|
1177
1177
|
attr_accessor :ConcernType, :EntityType, :Concern, :StatisticsCount, :IpCountry, :IpProvince, :Result, :Confidence, :IpIsp, :IpInfrastructure, :ThreatType, :Groups, :Status, :Tags, :VictimAssetType, :VictimAssetName, :DomainRegistrant, :DomainRegisteredInstitution, :DomainRegistrationTime, :FileName, :FileMd5, :VirusName, :FilePath, :FileSize, :ProcName, :Pid, :ProcPath, :ProcUser, :DefendedCount, :DetectedCount, :SearchData, :IpCountryIso, :IpProvinceIso, :IpCity, :EventSubType
|
1178
|
-
|
1178
|
+
|
1179
1179
|
def initialize(concerntype=nil, entitytype=nil, concern=nil, statisticscount=nil, ipcountry=nil, ipprovince=nil, result=nil, confidence=nil, ipisp=nil, ipinfrastructure=nil, threattype=nil, groups=nil, status=nil, tags=nil, victimassettype=nil, victimassetname=nil, domainregistrant=nil, domainregisteredinstitution=nil, domainregistrationtime=nil, filename=nil, filemd5=nil, virusname=nil, filepath=nil, filesize=nil, procname=nil, pid=nil, procpath=nil, procuser=nil, defendedcount=nil, detectedcount=nil, searchdata=nil, ipcountryiso=nil, ipprovinceiso=nil, ipcity=nil, eventsubtype=nil)
|
1180
1180
|
@ConcernType = concerntype
|
1181
1181
|
@EntityType = entitytype
|
@@ -1311,7 +1311,7 @@ module TencentCloud
|
|
1311
1311
|
# @type IsIntranet: Integer
|
1312
1312
|
|
1313
1313
|
attr_accessor :AssetIp, :AssetName, :Instid, :AssetType, :AssetRegionEn, :AssetRegionCn, :AssetNetwork, :AssetStatusEn, :AssetStatusCn, :IsWhite, :Status, :Time, :Tag, :Group, :Port, :Component, :AssetInstanceType, :IsIntranet
|
1314
|
-
|
1314
|
+
|
1315
1315
|
def initialize(assetip=nil, assetname=nil, instid=nil, assettype=nil, assetregionen=nil, assetregioncn=nil, assetnetwork=nil, assetstatusen=nil, assetstatuscn=nil, iswhite=nil, status=nil, time=nil, tag=nil, group=nil, port=nil, component=nil, assetinstancetype=nil, isintranet=nil)
|
1316
1316
|
@AssetIp = assetip
|
1317
1317
|
@AssetName = assetname
|
@@ -1393,7 +1393,7 @@ module TencentCloud
|
|
1393
1393
|
# @type Remarks: String
|
1394
1394
|
|
1395
1395
|
attr_accessor :Id, :Name, :Type, :LastCheckTime, :Status, :IsIgnored, :RiskCount, :IsChecked, :AssetTotal, :Remarks
|
1396
|
-
|
1396
|
+
|
1397
1397
|
def initialize(id=nil, name=nil, type=nil, lastchecktime=nil, status=nil, isignored=nil, riskcount=nil, ischecked=nil, assettotal=nil, remarks=nil)
|
1398
1398
|
@Id = id
|
1399
1399
|
@Name = name
|
@@ -1468,7 +1468,7 @@ module TencentCloud
|
|
1468
1468
|
# @type Remarks: String
|
1469
1469
|
|
1470
1470
|
attr_accessor :Id, :CheckItemId, :Name, :AssetType, :Type, :Category, :StandardItem, :Chapter, :LastCheckTime, :Status, :RiskCount, :IsChecked, :RiskItem, :IsIgnored, :Title, :AssetTotal, :Remarks
|
1471
|
-
|
1471
|
+
|
1472
1472
|
def initialize(id=nil, checkitemid=nil, name=nil, assettype=nil, type=nil, category=nil, standarditem=nil, chapter=nil, lastchecktime=nil, status=nil, riskcount=nil, ischecked=nil, riskitem=nil, isignored=nil, title=nil, assettotal=nil, remarks=nil)
|
1473
1473
|
@Id = id
|
1474
1474
|
@CheckItemId = checkitemid
|
@@ -1617,7 +1617,7 @@ module TencentCloud
|
|
1617
1617
|
# @type Direction: String
|
1618
1618
|
|
1619
1619
|
attr_accessor :OldIdMd5, :EventName, :EventType1, :EventType2, :Level, :Status, :SrcIp, :DstIp, :Time, :Dstport, :AssetIp, :AssetName, :SsaEventUniqid, :AssetId, :Source, :Index, :Id, :IsAssetDeleted, :SsaSrcCountry, :SsaDstCountry, :SsaDescription, :SsaAttackChain, :RuleComponents, :AssetIpAll, :AssetType, :PublicIpAddresses, :PrivateIpAddresses, :SoarResponseStatus, :SoarResponseTime, :SoarSuggestStatus, :SoarPlaybookType, :SoarRunId, :SsaEventId, :IsNewCfwEvent, :Direction
|
1620
|
-
|
1620
|
+
|
1621
1621
|
def initialize(oldidmd5=nil, eventname=nil, eventtype1=nil, eventtype2=nil, level=nil, status=nil, srcip=nil, dstip=nil, time=nil, dstport=nil, assetip=nil, assetname=nil, ssaeventuniqid=nil, assetid=nil, source=nil, index=nil, id=nil, isassetdeleted=nil, ssasrccountry=nil, ssadstcountry=nil, ssadescription=nil, ssaattackchain=nil, rulecomponents=nil, assetipall=nil, assettype=nil, publicipaddresses=nil, privateipaddresses=nil, soarresponsestatus=nil, soarresponsetime=nil, soarsuggeststatus=nil, soarplaybooktype=nil, soarrunid=nil, ssaeventid=nil, isnewcfwevent=nil, direction=nil)
|
1622
1622
|
@OldIdMd5 = oldidmd5
|
1623
1623
|
@EventName = eventname
|
@@ -1712,7 +1712,7 @@ module TencentCloud
|
|
1712
1712
|
# @type PageSize: Integer
|
1713
1713
|
|
1714
1714
|
attr_accessor :Filter, :Sorter, :RiskTags, :Tags, :PageIndex, :PageSize
|
1715
|
-
|
1715
|
+
|
1716
1716
|
def initialize(filter=nil, sorter=nil, risktags=nil, tags=nil, pageindex=nil, pagesize=nil)
|
1717
1717
|
@Filter = filter
|
1718
1718
|
@Sorter = sorter
|
@@ -1758,7 +1758,7 @@ module TencentCloud
|
|
1758
1758
|
# @type RequestId: String
|
1759
1759
|
|
1760
1760
|
attr_accessor :Data, :Total, :RequestId
|
1761
|
-
|
1761
|
+
|
1762
1762
|
def initialize(data=nil, total=nil, requestid=nil)
|
1763
1763
|
@Data = data
|
1764
1764
|
@Total = total
|
@@ -1785,7 +1785,7 @@ module TencentCloud
|
|
1785
1785
|
# @type Params: String
|
1786
1786
|
|
1787
1787
|
attr_accessor :Params
|
1788
|
-
|
1788
|
+
|
1789
1789
|
def initialize(params=nil)
|
1790
1790
|
@Params = params
|
1791
1791
|
end
|
@@ -1804,7 +1804,7 @@ module TencentCloud
|
|
1804
1804
|
# @type RequestId: String
|
1805
1805
|
|
1806
1806
|
attr_accessor :Data, :RequestId
|
1807
|
-
|
1807
|
+
|
1808
1808
|
def initialize(data=nil, requestid=nil)
|
1809
1809
|
@Data = data
|
1810
1810
|
@RequestId = requestid
|
@@ -1825,7 +1825,7 @@ module TencentCloud
|
|
1825
1825
|
# @type Params: String
|
1826
1826
|
|
1827
1827
|
attr_accessor :Params
|
1828
|
-
|
1828
|
+
|
1829
1829
|
def initialize(params=nil)
|
1830
1830
|
@Params = params
|
1831
1831
|
end
|
@@ -1847,7 +1847,7 @@ module TencentCloud
|
|
1847
1847
|
# @type RequestId: String
|
1848
1848
|
|
1849
1849
|
attr_accessor :AssetList, :AggregationData, :NamespaceData, :RequestId
|
1850
|
-
|
1850
|
+
|
1851
1851
|
def initialize(assetlist=nil, aggregationdata=nil, namespacedata=nil, requestid=nil)
|
1852
1852
|
@AssetList = assetlist
|
1853
1853
|
@AggregationData = aggregationdata
|
@@ -1879,7 +1879,7 @@ module TencentCloud
|
|
1879
1879
|
# @type Params: String
|
1880
1880
|
|
1881
1881
|
attr_accessor :Params
|
1882
|
-
|
1882
|
+
|
1883
1883
|
def initialize(params=nil)
|
1884
1884
|
@Params = params
|
1885
1885
|
end
|
@@ -1902,7 +1902,7 @@ module TencentCloud
|
|
1902
1902
|
# @type RequestId: String
|
1903
1903
|
|
1904
1904
|
attr_accessor :Data, :TotalCount, :CountByType, :RequestId
|
1905
|
-
|
1905
|
+
|
1906
1906
|
def initialize(data=nil, totalcount=nil, countbytype=nil, requestid=nil)
|
1907
1907
|
@Data = data
|
1908
1908
|
@TotalCount = totalcount
|
@@ -1939,7 +1939,7 @@ module TencentCloud
|
|
1939
1939
|
# @type Filter: Array
|
1940
1940
|
|
1941
1941
|
attr_accessor :Id, :Offset, :Limit, :Search, :Filter
|
1942
|
-
|
1942
|
+
|
1943
1943
|
def initialize(id=nil, offset=nil, limit=nil, search=nil, filter=nil)
|
1944
1944
|
@Id = id
|
1945
1945
|
@Offset = offset
|
@@ -1982,7 +1982,7 @@ module TencentCloud
|
|
1982
1982
|
# @type RequestId: String
|
1983
1983
|
|
1984
1984
|
attr_accessor :Total, :CheckAssetsList, :RequestId
|
1985
|
-
|
1985
|
+
|
1986
1986
|
def initialize(total=nil, checkassetslist=nil, requestid=nil)
|
1987
1987
|
@Total = total
|
1988
1988
|
@CheckAssetsList = checkassetslist
|
@@ -2009,7 +2009,7 @@ module TencentCloud
|
|
2009
2009
|
# @type Id: String
|
2010
2010
|
|
2011
2011
|
attr_accessor :Id
|
2012
|
-
|
2012
|
+
|
2013
2013
|
def initialize(id=nil)
|
2014
2014
|
@Id = id
|
2015
2015
|
end
|
@@ -2027,7 +2027,7 @@ module TencentCloud
|
|
2027
2027
|
# @type RequestId: String
|
2028
2028
|
|
2029
2029
|
attr_accessor :CheckConfigDetail, :RequestId
|
2030
|
-
|
2030
|
+
|
2031
2031
|
def initialize(checkconfigdetail=nil, requestid=nil)
|
2032
2032
|
@CheckConfigDetail = checkconfigdetail
|
2033
2033
|
@RequestId = requestid
|
@@ -2056,7 +2056,7 @@ module TencentCloud
|
|
2056
2056
|
# @type Search: Array
|
2057
2057
|
|
2058
2058
|
attr_accessor :Offset, :Limit, :Id, :Filter, :Search
|
2059
|
-
|
2059
|
+
|
2060
2060
|
def initialize(offset=nil, limit=nil, id=nil, filter=nil, search=nil)
|
2061
2061
|
@Offset = offset
|
2062
2062
|
@Limit = limit
|
@@ -2098,7 +2098,7 @@ module TencentCloud
|
|
2098
2098
|
# @type RequestId: String
|
2099
2099
|
|
2100
2100
|
attr_accessor :CheckAssetsList, :Total, :RequestId
|
2101
|
-
|
2101
|
+
|
2102
2102
|
def initialize(checkassetslist=nil, total=nil, requestid=nil)
|
2103
2103
|
@CheckAssetsList = checkassetslist
|
2104
2104
|
@Total = total
|
@@ -2125,7 +2125,7 @@ module TencentCloud
|
|
2125
2125
|
# @type Id: String
|
2126
2126
|
|
2127
2127
|
attr_accessor :Id
|
2128
|
-
|
2128
|
+
|
2129
2129
|
def initialize(id=nil)
|
2130
2130
|
@Id = id
|
2131
2131
|
end
|
@@ -2143,7 +2143,7 @@ module TencentCloud
|
|
2143
2143
|
# @type RequestId: String
|
2144
2144
|
|
2145
2145
|
attr_accessor :CheckConfigDetail, :RequestId
|
2146
|
-
|
2146
|
+
|
2147
2147
|
def initialize(checkconfigdetail=nil, requestid=nil)
|
2148
2148
|
@CheckConfigDetail = checkconfigdetail
|
2149
2149
|
@RequestId = requestid
|
@@ -2164,7 +2164,7 @@ module TencentCloud
|
|
2164
2164
|
# @type Filter: String
|
2165
2165
|
|
2166
2166
|
attr_accessor :Filter
|
2167
|
-
|
2167
|
+
|
2168
2168
|
def initialize(filter=nil)
|
2169
2169
|
@Filter = filter
|
2170
2170
|
end
|
@@ -2188,7 +2188,7 @@ module TencentCloud
|
|
2188
2188
|
# @type RequestId: String
|
2189
2189
|
|
2190
2190
|
attr_accessor :Data, :AssetTotalNum, :ConfigTotalNum, :RequestId
|
2191
|
-
|
2191
|
+
|
2192
2192
|
def initialize(data=nil, assettotalnum=nil, configtotalnum=nil, requestid=nil)
|
2193
2193
|
@Data = data
|
2194
2194
|
@AssetTotalNum = assettotalnum
|
@@ -2217,7 +2217,7 @@ module TencentCloud
|
|
2217
2217
|
# @type Filter: String
|
2218
2218
|
|
2219
2219
|
attr_accessor :Filter
|
2220
|
-
|
2220
|
+
|
2221
2221
|
def initialize(filter=nil)
|
2222
2222
|
@Filter = filter
|
2223
2223
|
end
|
@@ -2235,7 +2235,7 @@ module TencentCloud
|
|
2235
2235
|
# @type RequestId: String
|
2236
2236
|
|
2237
2237
|
attr_accessor :Data, :RequestId
|
2238
|
-
|
2238
|
+
|
2239
2239
|
def initialize(data=nil, requestid=nil)
|
2240
2240
|
@Data = data
|
2241
2241
|
@RequestId = requestid
|
@@ -2254,6 +2254,104 @@ module TencentCloud
|
|
2254
2254
|
end
|
2255
2255
|
end
|
2256
2256
|
|
2257
|
+
# DescribeDomainList请求参数结构体
|
2258
|
+
class DescribeDomainListRequest < TencentCloud::Common::AbstractModel
|
2259
|
+
# @param Offset: -
|
2260
|
+
# @type Offset: Integer
|
2261
|
+
# @param Limit: -
|
2262
|
+
# @type Limit: Integer
|
2263
|
+
# @param AssetBasicType: -
|
2264
|
+
# @type AssetBasicType: Integer
|
2265
|
+
# @param Filter: -
|
2266
|
+
# @type Filter: Array
|
2267
|
+
# @param Order: -
|
2268
|
+
# @type Order: String
|
2269
|
+
# @param By: -
|
2270
|
+
# @type By: String
|
2271
|
+
# @param Field: -
|
2272
|
+
# @type Field: Array
|
2273
|
+
# @param TimeRange: -
|
2274
|
+
# @type TimeRange: Integer
|
2275
|
+
# @param Logic: -
|
2276
|
+
# @type Logic: Integer
|
2277
|
+
# @param GroupByField: -
|
2278
|
+
# @type GroupByField: String
|
2279
|
+
# @param Task: -
|
2280
|
+
# @type Task: String
|
2281
|
+
# @param RequestFrom: -
|
2282
|
+
# @type RequestFrom: Integer
|
2283
|
+
|
2284
|
+
attr_accessor :Offset, :Limit, :AssetBasicType, :Filter, :Order, :By, :Field, :TimeRange, :Logic, :GroupByField, :Task, :RequestFrom
|
2285
|
+
|
2286
|
+
def initialize(offset=nil, limit=nil, assetbasictype=nil, filter=nil, order=nil, by=nil, field=nil, timerange=nil, logic=nil, groupbyfield=nil, task=nil, requestfrom=nil)
|
2287
|
+
@Offset = offset
|
2288
|
+
@Limit = limit
|
2289
|
+
@AssetBasicType = assetbasictype
|
2290
|
+
@Filter = filter
|
2291
|
+
@Order = order
|
2292
|
+
@By = by
|
2293
|
+
@Field = field
|
2294
|
+
@TimeRange = timerange
|
2295
|
+
@Logic = logic
|
2296
|
+
@GroupByField = groupbyfield
|
2297
|
+
@Task = task
|
2298
|
+
@RequestFrom = requestfrom
|
2299
|
+
end
|
2300
|
+
|
2301
|
+
def deserialize(params)
|
2302
|
+
@Offset = params['Offset']
|
2303
|
+
@Limit = params['Limit']
|
2304
|
+
@AssetBasicType = params['AssetBasicType']
|
2305
|
+
unless params['Filter'].nil?
|
2306
|
+
@Filter = []
|
2307
|
+
params['Filter'].each do |i|
|
2308
|
+
queryfilterv3_tmp = QueryFilterV3.new
|
2309
|
+
queryfilterv3_tmp.deserialize(i)
|
2310
|
+
@Filter << queryfilterv3_tmp
|
2311
|
+
end
|
2312
|
+
end
|
2313
|
+
@Order = params['Order']
|
2314
|
+
@By = params['By']
|
2315
|
+
@Field = params['Field']
|
2316
|
+
@TimeRange = params['TimeRange']
|
2317
|
+
@Logic = params['Logic']
|
2318
|
+
@GroupByField = params['GroupByField']
|
2319
|
+
@Task = params['Task']
|
2320
|
+
@RequestFrom = params['RequestFrom']
|
2321
|
+
end
|
2322
|
+
end
|
2323
|
+
|
2324
|
+
# DescribeDomainList返回参数结构体
|
2325
|
+
class DescribeDomainListResponse < TencentCloud::Common::AbstractModel
|
2326
|
+
# @param Total: 无
|
2327
|
+
# @type Total: Integer
|
2328
|
+
# @param DomainInfoCollection: 无
|
2329
|
+
# @type DomainInfoCollection: Array
|
2330
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
2331
|
+
# @type RequestId: String
|
2332
|
+
|
2333
|
+
attr_accessor :Total, :DomainInfoCollection, :RequestId
|
2334
|
+
|
2335
|
+
def initialize(total=nil, domaininfocollection=nil, requestid=nil)
|
2336
|
+
@Total = total
|
2337
|
+
@DomainInfoCollection = domaininfocollection
|
2338
|
+
@RequestId = requestid
|
2339
|
+
end
|
2340
|
+
|
2341
|
+
def deserialize(params)
|
2342
|
+
@Total = params['Total']
|
2343
|
+
unless params['DomainInfoCollection'].nil?
|
2344
|
+
@DomainInfoCollection = []
|
2345
|
+
params['DomainInfoCollection'].each do |i|
|
2346
|
+
domaininfo_tmp = DomainInfo.new
|
2347
|
+
domaininfo_tmp.deserialize(i)
|
2348
|
+
@DomainInfoCollection << domaininfo_tmp
|
2349
|
+
end
|
2350
|
+
end
|
2351
|
+
@RequestId = params['RequestId']
|
2352
|
+
end
|
2353
|
+
end
|
2354
|
+
|
2257
2355
|
# DescribeEventDetail请求参数结构体
|
2258
2356
|
class DescribeEventDetailRequest < TencentCloud::Common::AbstractModel
|
2259
2357
|
# @param Index: 事件索引名
|
@@ -2268,7 +2366,7 @@ module TencentCloud
|
|
2268
2366
|
# @type Name: String
|
2269
2367
|
|
2270
2368
|
attr_accessor :Index, :Id, :Source, :SubEventType, :Name
|
2271
|
-
|
2369
|
+
|
2272
2370
|
def initialize(index=nil, id=nil, source=nil, subeventtype=nil, name=nil)
|
2273
2371
|
@Index = index
|
2274
2372
|
@Id = id
|
@@ -2294,7 +2392,7 @@ module TencentCloud
|
|
2294
2392
|
# @type RequestId: String
|
2295
2393
|
|
2296
2394
|
attr_accessor :Data, :RequestId
|
2297
|
-
|
2395
|
+
|
2298
2396
|
def initialize(data=nil, requestid=nil)
|
2299
2397
|
@Data = data
|
2300
2398
|
@RequestId = requestid
|
@@ -2320,7 +2418,7 @@ module TencentCloud
|
|
2320
2418
|
# @type EndTime: String
|
2321
2419
|
|
2322
2420
|
attr_accessor :Filters, :Limit, :Page, :StartTime, :EndTime
|
2323
|
-
|
2421
|
+
|
2324
2422
|
def initialize(filters=nil, limit=nil, page=nil, starttime=nil, endtime=nil)
|
2325
2423
|
@Filters = filters
|
2326
2424
|
@Limit = limit
|
@@ -2355,7 +2453,7 @@ module TencentCloud
|
|
2355
2453
|
# @type RequestId: String
|
2356
2454
|
|
2357
2455
|
attr_accessor :TotalCount, :List, :RequestId
|
2358
|
-
|
2456
|
+
|
2359
2457
|
def initialize(totalcount=nil, list=nil, requestid=nil)
|
2360
2458
|
@TotalCount = totalcount
|
2361
2459
|
@List = list
|
@@ -2381,7 +2479,7 @@ module TencentCloud
|
|
2381
2479
|
# @type PageSize: Integer
|
2382
2480
|
|
2383
2481
|
attr_accessor :Filter, :Sorter, :PageIndex, :PageSize
|
2384
|
-
|
2482
|
+
|
2385
2483
|
def initialize(filter=nil, sorter=nil, pageindex=nil, pagesize=nil)
|
2386
2484
|
@Filter = filter
|
2387
2485
|
@Sorter = sorter
|
@@ -2423,7 +2521,7 @@ module TencentCloud
|
|
2423
2521
|
# @type RequestId: String
|
2424
2522
|
|
2425
2523
|
attr_accessor :Total, :Data, :RequestId
|
2426
|
-
|
2524
|
+
|
2427
2525
|
def initialize(total=nil, data=nil, requestid=nil)
|
2428
2526
|
@Total = total
|
2429
2527
|
@Data = data
|
@@ -2460,7 +2558,7 @@ module TencentCloud
|
|
2460
2558
|
# @type IsFilterResponseTime: Boolean
|
2461
2559
|
|
2462
2560
|
attr_accessor :Filter, :Limit, :Offset, :Order, :By, :StartTime, :EndTime, :IsFilterResponseTime
|
2463
|
-
|
2561
|
+
|
2464
2562
|
def initialize(filter=nil, limit=nil, offset=nil, order=nil, by=nil, starttime=nil, endtime=nil, isfilterresponsetime=nil)
|
2465
2563
|
@Filter = filter
|
2466
2564
|
@Limit = limit
|
@@ -2494,7 +2592,7 @@ module TencentCloud
|
|
2494
2592
|
# @type RequestId: String
|
2495
2593
|
|
2496
2594
|
attr_accessor :List, :Total, :RequestId
|
2497
|
-
|
2595
|
+
|
2498
2596
|
def initialize(list=nil, total=nil, requestid=nil)
|
2499
2597
|
@List = list
|
2500
2598
|
@Total = total
|
@@ -2523,7 +2621,7 @@ module TencentCloud
|
|
2523
2621
|
# @type AlertTimestamp: String
|
2524
2622
|
|
2525
2623
|
attr_accessor :AlertId, :AlertTimestamp
|
2526
|
-
|
2624
|
+
|
2527
2625
|
def initialize(alertid=nil, alerttimestamp=nil)
|
2528
2626
|
@AlertId = alertid
|
2529
2627
|
@AlertTimestamp = alerttimestamp
|
@@ -2544,7 +2642,7 @@ module TencentCloud
|
|
2544
2642
|
# @type RequestId: String
|
2545
2643
|
|
2546
2644
|
attr_accessor :Data, :RequestId
|
2547
|
-
|
2645
|
+
|
2548
2646
|
def initialize(data=nil, requestid=nil)
|
2549
2647
|
@Data = data
|
2550
2648
|
@RequestId = requestid
|
@@ -2575,7 +2673,7 @@ module TencentCloud
|
|
2575
2673
|
# @type ExportFlag: Boolean
|
2576
2674
|
|
2577
2675
|
attr_accessor :PageSize, :PageIndex, :Scenes, :Filter, :Sorter, :ExportFlag
|
2578
|
-
|
2676
|
+
|
2579
2677
|
def initialize(pagesize=nil, pageindex=nil, scenes=nil, filter=nil, sorter=nil, exportflag=nil)
|
2580
2678
|
@PageSize = pagesize
|
2581
2679
|
@PageIndex = pageindex
|
@@ -2617,7 +2715,7 @@ module TencentCloud
|
|
2617
2715
|
# @type RequestId: String
|
2618
2716
|
|
2619
2717
|
attr_accessor :Data, :RequestId
|
2620
|
-
|
2718
|
+
|
2621
2719
|
def initialize(data=nil, requestid=nil)
|
2622
2720
|
@Data = data
|
2623
2721
|
@RequestId = requestid
|
@@ -2644,7 +2742,7 @@ module TencentCloud
|
|
2644
2742
|
# @type PageIndex: Integer
|
2645
2743
|
|
2646
2744
|
attr_accessor :Filter, :Sorter, :PageSize, :PageIndex
|
2647
|
-
|
2745
|
+
|
2648
2746
|
def initialize(filter=nil, sorter=nil, pagesize=nil, pageindex=nil)
|
2649
2747
|
@Filter = filter
|
2650
2748
|
@Sorter = sorter
|
@@ -2683,7 +2781,7 @@ module TencentCloud
|
|
2683
2781
|
# @type RequestId: String
|
2684
2782
|
|
2685
2783
|
attr_accessor :Data, :RequestId
|
2686
|
-
|
2784
|
+
|
2687
2785
|
def initialize(data=nil, requestid=nil)
|
2688
2786
|
@Data = data
|
2689
2787
|
@RequestId = requestid
|
@@ -2708,7 +2806,7 @@ module TencentCloud
|
|
2708
2806
|
# @type Total: Integer
|
2709
2807
|
|
2710
2808
|
attr_accessor :List, :Total
|
2711
|
-
|
2809
|
+
|
2712
2810
|
def initialize(list=nil, total=nil)
|
2713
2811
|
@List = list
|
2714
2812
|
@Total = total
|
@@ -2742,7 +2840,7 @@ module TencentCloud
|
|
2742
2840
|
# @type AssetId: String
|
2743
2841
|
|
2744
2842
|
attr_accessor :Filter, :Sorter, :PageSize, :PageIndex, :AssetId
|
2745
|
-
|
2843
|
+
|
2746
2844
|
def initialize(filter=nil, sorter=nil, pagesize=nil, pageindex=nil, assetid=nil)
|
2747
2845
|
@Filter = filter
|
2748
2846
|
@Sorter = sorter
|
@@ -2783,7 +2881,7 @@ module TencentCloud
|
|
2783
2881
|
# @type RequestId: String
|
2784
2882
|
|
2785
2883
|
attr_accessor :Data, :RequestId
|
2786
|
-
|
2884
|
+
|
2787
2885
|
def initialize(data=nil, requestid=nil)
|
2788
2886
|
@Data = data
|
2789
2887
|
@RequestId = requestid
|
@@ -2814,7 +2912,7 @@ module TencentCloud
|
|
2814
2912
|
# @type NormalTotal: Integer
|
2815
2913
|
|
2816
2914
|
attr_accessor :List, :Total, :LowTotal, :MiddleTotal, :HighTotal, :NormalTotal
|
2817
|
-
|
2915
|
+
|
2818
2916
|
def initialize(list=nil, total=nil, lowtotal=nil, middletotal=nil, hightotal=nil, normaltotal=nil)
|
2819
2917
|
@List = list
|
2820
2918
|
@Total = total
|
@@ -2844,7 +2942,7 @@ module TencentCloud
|
|
2844
2942
|
# DescribeSocCspmCompliance请求参数结构体
|
2845
2943
|
class DescribeSocCspmComplianceRequest < TencentCloud::Common::AbstractModel
|
2846
2944
|
|
2847
|
-
|
2945
|
+
|
2848
2946
|
def initialize()
|
2849
2947
|
end
|
2850
2948
|
|
@@ -2861,7 +2959,7 @@ module TencentCloud
|
|
2861
2959
|
# @type RequestId: String
|
2862
2960
|
|
2863
2961
|
attr_accessor :Data, :RequestId
|
2864
|
-
|
2962
|
+
|
2865
2963
|
def initialize(data=nil, requestid=nil)
|
2866
2964
|
@Data = data
|
2867
2965
|
@RequestId = requestid
|
@@ -2884,7 +2982,7 @@ module TencentCloud
|
|
2884
2982
|
# @type Source: String
|
2885
2983
|
|
2886
2984
|
attr_accessor :UniqId, :Source
|
2887
|
-
|
2985
|
+
|
2888
2986
|
def initialize(uniqid=nil, source=nil)
|
2889
2987
|
@UniqId = uniqid
|
2890
2988
|
@Source = source
|
@@ -2968,7 +3066,7 @@ module TencentCloud
|
|
2968
3066
|
# @type RequestId: String
|
2969
3067
|
|
2970
3068
|
attr_accessor :VulType, :SubVulType, :CvssScore, :Cvss, :Cve, :Cnvd, :Cnnvd, :Desc, :Reference, :Repair, :ReleaseTime, :UpdateTime, :Name, :Level, :Status, :ImpactAsset, :ImpactAssetName, :IsAssetDeleted, :Source, :VulUrl, :SsaAssetCategory, :VulPath, :RequestId
|
2971
|
-
|
3069
|
+
|
2972
3070
|
def initialize(vultype=nil, subvultype=nil, cvssscore=nil, cvss=nil, cve=nil, cnvd=nil, cnnvd=nil, desc=nil, reference=nil, repair=nil, releasetime=nil, updatetime=nil, name=nil, level=nil, status=nil, impactasset=nil, impactassetname=nil, isassetdeleted=nil, source=nil, vulurl=nil, ssaassetcategory=nil, vulpath=nil, requestid=nil)
|
2973
3071
|
@VulType = vultype
|
2974
3072
|
@SubVulType = subvultype
|
@@ -3028,7 +3126,7 @@ module TencentCloud
|
|
3028
3126
|
# @type Params: String
|
3029
3127
|
|
3030
3128
|
attr_accessor :Params
|
3031
|
-
|
3129
|
+
|
3032
3130
|
def initialize(params=nil)
|
3033
3131
|
@Params = params
|
3034
3132
|
end
|
@@ -3046,7 +3144,7 @@ module TencentCloud
|
|
3046
3144
|
# @type RequestId: String
|
3047
3145
|
|
3048
3146
|
attr_accessor :Data, :RequestId
|
3049
|
-
|
3147
|
+
|
3050
3148
|
def initialize(data=nil, requestid=nil)
|
3051
3149
|
@Data = data
|
3052
3150
|
@RequestId = requestid
|
@@ -3061,6 +3159,82 @@ module TencentCloud
|
|
3061
3159
|
end
|
3062
3160
|
end
|
3063
3161
|
|
3162
|
+
# 域名列表
|
3163
|
+
class DomainInfo < TencentCloud::Common::AbstractModel
|
3164
|
+
# @param Domain: 域名
|
3165
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3166
|
+
# @type Domain: String
|
3167
|
+
# @param ResolveAddr: 解析地址
|
3168
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3169
|
+
# @type ResolveAddr: Array
|
3170
|
+
# @param Region: 地域
|
3171
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3172
|
+
# @type Region: Array
|
3173
|
+
# @param AssetType: 资产类型
|
3174
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3175
|
+
# @type AssetType: Array
|
3176
|
+
# @param RiskVulCount: 漏洞风险
|
3177
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3178
|
+
# @type RiskVulCount: Integer
|
3179
|
+
# @param SensitiveCount: 敏感内容
|
3180
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3181
|
+
# @type SensitiveCount: Integer
|
3182
|
+
# @param HorseLinkCount: 挂马暗链
|
3183
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3184
|
+
# @type HorseLinkCount: Integer
|
3185
|
+
# @param WebModifyCount: 网页篡改
|
3186
|
+
# @type WebModifyCount: Integer
|
3187
|
+
# @param ScanTime: 上次扫描时间
|
3188
|
+
# @type ScanTime: String
|
3189
|
+
# @param DiscoverTime: 最近发现时间
|
3190
|
+
# @type DiscoverTime: String
|
3191
|
+
# @param ScanTaskCount: 扫描次数
|
3192
|
+
# @type ScanTaskCount: Integer
|
3193
|
+
# @param PortRisk: 端口
|
3194
|
+
# @type PortRisk: Integer
|
3195
|
+
# @param WeekPwdCount: 弱口令
|
3196
|
+
# @type WeekPwdCount: Integer
|
3197
|
+
# @param AssetLocation: -
|
3198
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3199
|
+
# @type AssetLocation: String
|
3200
|
+
|
3201
|
+
attr_accessor :Domain, :ResolveAddr, :Region, :AssetType, :RiskVulCount, :SensitiveCount, :HorseLinkCount, :WebModifyCount, :ScanTime, :DiscoverTime, :ScanTaskCount, :PortRisk, :WeekPwdCount, :AssetLocation
|
3202
|
+
|
3203
|
+
def initialize(domain=nil, resolveaddr=nil, region=nil, assettype=nil, riskvulcount=nil, sensitivecount=nil, horselinkcount=nil, webmodifycount=nil, scantime=nil, discovertime=nil, scantaskcount=nil, portrisk=nil, weekpwdcount=nil, assetlocation=nil)
|
3204
|
+
@Domain = domain
|
3205
|
+
@ResolveAddr = resolveaddr
|
3206
|
+
@Region = region
|
3207
|
+
@AssetType = assettype
|
3208
|
+
@RiskVulCount = riskvulcount
|
3209
|
+
@SensitiveCount = sensitivecount
|
3210
|
+
@HorseLinkCount = horselinkcount
|
3211
|
+
@WebModifyCount = webmodifycount
|
3212
|
+
@ScanTime = scantime
|
3213
|
+
@DiscoverTime = discovertime
|
3214
|
+
@ScanTaskCount = scantaskcount
|
3215
|
+
@PortRisk = portrisk
|
3216
|
+
@WeekPwdCount = weekpwdcount
|
3217
|
+
@AssetLocation = assetlocation
|
3218
|
+
end
|
3219
|
+
|
3220
|
+
def deserialize(params)
|
3221
|
+
@Domain = params['Domain']
|
3222
|
+
@ResolveAddr = params['ResolveAddr']
|
3223
|
+
@Region = params['Region']
|
3224
|
+
@AssetType = params['AssetType']
|
3225
|
+
@RiskVulCount = params['RiskVulCount']
|
3226
|
+
@SensitiveCount = params['SensitiveCount']
|
3227
|
+
@HorseLinkCount = params['HorseLinkCount']
|
3228
|
+
@WebModifyCount = params['WebModifyCount']
|
3229
|
+
@ScanTime = params['ScanTime']
|
3230
|
+
@DiscoverTime = params['DiscoverTime']
|
3231
|
+
@ScanTaskCount = params['ScanTaskCount']
|
3232
|
+
@PortRisk = params['PortRisk']
|
3233
|
+
@WeekPwdCount = params['WeekPwdCount']
|
3234
|
+
@AssetLocation = params['AssetLocation']
|
3235
|
+
end
|
3236
|
+
end
|
3237
|
+
|
3064
3238
|
# 描述键值对过滤器,用于条件过滤查询。例如过滤ID、名称、状态等
|
3065
3239
|
|
3066
3240
|
# 若存在多个Filter时,Filter间的关系为逻辑与(AND)关系。
|
@@ -3074,7 +3248,7 @@ module TencentCloud
|
|
3074
3248
|
# @type ExactMatch: Boolean
|
3075
3249
|
|
3076
3250
|
attr_accessor :Name, :Values, :ExactMatch
|
3077
|
-
|
3251
|
+
|
3078
3252
|
def initialize(name=nil, values=nil, exactmatch=nil)
|
3079
3253
|
@Name = name
|
3080
3254
|
@Values = values
|
@@ -3114,7 +3288,7 @@ module TencentCloud
|
|
3114
3288
|
# @type OldIdMd5: String
|
3115
3289
|
|
3116
3290
|
attr_accessor :Time, :EventType1, :EventType2, :EventName, :Level, :Status, :SrcIp, :DstIp, :DstPort, :Asset, :OldIdMd5
|
3117
|
-
|
3291
|
+
|
3118
3292
|
def initialize(time=nil, eventtype1=nil, eventtype2=nil, eventname=nil, level=nil, status=nil, srcip=nil, dstip=nil, dstport=nil, asset=nil, oldidmd5=nil)
|
3119
3293
|
@Time = time
|
3120
3294
|
@EventType1 = eventtype1
|
@@ -3208,7 +3382,7 @@ module TencentCloud
|
|
3208
3382
|
# @type MappingType: String
|
3209
3383
|
|
3210
3384
|
attr_accessor :AssetName, :AssetIp, :PrivateIp, :AssetId, :Protocol, :Port, :Service, :Component, :Process, :OS, :LastMappingTime, :DisposalRecommendations, :DisposalRecommendationDetails, :AssetType, :Domain, :MappingStatus, :Region, :SecurityStatus, :DisposalRecommendation, :MappingType
|
3211
|
-
|
3385
|
+
|
3212
3386
|
def initialize(assetname=nil, assetip=nil, privateip=nil, assetid=nil, protocol=nil, port=nil, service=nil, component=nil, process=nil, os=nil, lastmappingtime=nil, disposalrecommendations=nil, disposalrecommendationdetails=nil, assettype=nil, domain=nil, mappingstatus=nil, region=nil, securitystatus=nil, disposalrecommendation=nil, mappingtype=nil)
|
3213
3387
|
@AssetName = assetname
|
3214
3388
|
@AssetIp = assetip
|
@@ -3271,7 +3445,7 @@ module TencentCloud
|
|
3271
3445
|
# @type List: Array
|
3272
3446
|
|
3273
3447
|
attr_accessor :Count, :List
|
3274
|
-
|
3448
|
+
|
3275
3449
|
def initialize(count=nil, list=nil)
|
3276
3450
|
@Count = count
|
3277
3451
|
@List = list
|
@@ -3300,7 +3474,7 @@ module TencentCloud
|
|
3300
3474
|
# @type FilterValue: String
|
3301
3475
|
|
3302
3476
|
attr_accessor :FilterKey, :FilterOperatorType, :FilterValue
|
3303
|
-
|
3477
|
+
|
3304
3478
|
def initialize(filterkey=nil, filteroperatortype=nil, filtervalue=nil)
|
3305
3479
|
@FilterKey = filterkey
|
3306
3480
|
@FilterOperatorType = filteroperatortype
|
@@ -3314,6 +3488,44 @@ module TencentCloud
|
|
3314
3488
|
end
|
3315
3489
|
end
|
3316
3490
|
|
3491
|
+
# 过滤
|
3492
|
+
class QueryFilterV3 < TencentCloud::Common::AbstractModel
|
3493
|
+
# @param Filter: 过滤条件
|
3494
|
+
# @type Filter: :class:`Tencentcloud::Ssa.v20180608.models.QueryFilter`
|
3495
|
+
# @param HasSub: 有无子条件
|
3496
|
+
# @type HasSub: Boolean
|
3497
|
+
# @param SubFilters: 查询条件
|
3498
|
+
# @type SubFilters: Array
|
3499
|
+
# @param Logic: 逻辑操作(只支持32位)
|
3500
|
+
# @type Logic: Integer
|
3501
|
+
|
3502
|
+
attr_accessor :Filter, :HasSub, :SubFilters, :Logic
|
3503
|
+
|
3504
|
+
def initialize(filter=nil, hassub=nil, subfilters=nil, logic=nil)
|
3505
|
+
@Filter = filter
|
3506
|
+
@HasSub = hassub
|
3507
|
+
@SubFilters = subfilters
|
3508
|
+
@Logic = logic
|
3509
|
+
end
|
3510
|
+
|
3511
|
+
def deserialize(params)
|
3512
|
+
unless params['Filter'].nil?
|
3513
|
+
@Filter = QueryFilter.new
|
3514
|
+
@Filter.deserialize(params['Filter'])
|
3515
|
+
end
|
3516
|
+
@HasSub = params['HasSub']
|
3517
|
+
unless params['SubFilters'].nil?
|
3518
|
+
@SubFilters = []
|
3519
|
+
params['SubFilters'].each do |i|
|
3520
|
+
queryfilter_tmp = QueryFilter.new
|
3521
|
+
queryfilter_tmp.deserialize(i)
|
3522
|
+
@SubFilters << queryfilter_tmp
|
3523
|
+
end
|
3524
|
+
end
|
3525
|
+
@Logic = params['Logic']
|
3526
|
+
end
|
3527
|
+
end
|
3528
|
+
|
3317
3529
|
# 排序的字段
|
3318
3530
|
class QuerySort < TencentCloud::Common::AbstractModel
|
3319
3531
|
# @param SortKey: 排序字段
|
@@ -3322,7 +3534,7 @@ module TencentCloud
|
|
3322
3534
|
# @type SortType: Integer
|
3323
3535
|
|
3324
3536
|
attr_accessor :SortKey, :SortType
|
3325
|
-
|
3537
|
+
|
3326
3538
|
def initialize(sortkey=nil, sorttype=nil)
|
3327
3539
|
@SortKey = sortkey
|
3328
3540
|
@SortType = sorttype
|
@@ -3350,7 +3562,7 @@ module TencentCloud
|
|
3350
3562
|
# @type TaskMaxCount: Integer
|
3351
3563
|
|
3352
3564
|
attr_accessor :Statistics, :Result, :TaskCount, :TaskMaxCount
|
3353
|
-
|
3565
|
+
|
3354
3566
|
def initialize(statistics=nil, result=nil, taskcount=nil, taskmaxcount=nil)
|
3355
3567
|
@Statistics = statistics
|
3356
3568
|
@Result = result
|
@@ -3416,7 +3628,7 @@ module TencentCloud
|
|
3416
3628
|
# @type UpdateTime: String
|
3417
3629
|
|
3418
3630
|
attr_accessor :Id, :Uin, :AppId, :EventName, :DivulgeSoure, :Asset, :RuleName, :RuleId, :RuleWord, :ScanUrl, :ScanCount, :Level, :Status, :EventTime, :InsertTime, :UpdateTime
|
3419
|
-
|
3631
|
+
|
3420
3632
|
def initialize(id=nil, uin=nil, appid=nil, eventname=nil, divulgesoure=nil, asset=nil, rulename=nil, ruleid=nil, ruleword=nil, scanurl=nil, scancount=nil, level=nil, status=nil, eventtime=nil, inserttime=nil, updatetime=nil)
|
3421
3633
|
@Id = id
|
3422
3634
|
@Uin = uin
|
@@ -3464,7 +3676,7 @@ module TencentCloud
|
|
3464
3676
|
# @type List: Array
|
3465
3677
|
|
3466
3678
|
attr_accessor :Count, :List
|
3467
|
-
|
3679
|
+
|
3468
3680
|
def initialize(count=nil, list=nil)
|
3469
3681
|
@Count = count
|
3470
3682
|
@List = list
|
@@ -3511,7 +3723,7 @@ module TencentCloud
|
|
3511
3723
|
# @type Limit: String
|
3512
3724
|
|
3513
3725
|
attr_accessor :QueryKey, :EventName, :DivulgeSoure, :Asset, :RuleName, :RuleId, :Level, :Status, :StartTime, :EndTime, :Offset, :Limit
|
3514
|
-
|
3726
|
+
|
3515
3727
|
def initialize(querykey=nil, eventname=nil, divulgesoure=nil, asset=nil, rulename=nil, ruleid=nil, level=nil, status=nil, starttime=nil, endtime=nil, offset=nil, limit=nil)
|
3516
3728
|
@QueryKey = querykey
|
3517
3729
|
@EventName = eventname
|
@@ -3551,7 +3763,7 @@ module TencentCloud
|
|
3551
3763
|
# @type RequestId: String
|
3552
3764
|
|
3553
3765
|
attr_accessor :Data, :RequestId
|
3554
|
-
|
3766
|
+
|
3555
3767
|
def initialize(data=nil, requestid=nil)
|
3556
3768
|
@Data = data
|
3557
3769
|
@RequestId = requestid
|
@@ -3592,7 +3804,7 @@ module TencentCloud
|
|
3592
3804
|
# @type OldIdMd5: String
|
3593
3805
|
|
3594
3806
|
attr_accessor :Asset, :EventName, :EventType1, :EventType2, :Level, :Status, :StartTime, :Offset, :Limit, :EndTime, :OldIdMd5
|
3595
|
-
|
3807
|
+
|
3596
3808
|
def initialize(asset=nil, eventname=nil, eventtype1=nil, eventtype2=nil, level=nil, status=nil, starttime=nil, offset=nil, limit=nil, endtime=nil, oldidmd5=nil)
|
3597
3809
|
@Asset = asset
|
3598
3810
|
@EventName = eventname
|
@@ -3630,7 +3842,7 @@ module TencentCloud
|
|
3630
3842
|
# @type RequestId: String
|
3631
3843
|
|
3632
3844
|
attr_accessor :DataSaEventPub, :RequestId
|
3633
|
-
|
3845
|
+
|
3634
3846
|
def initialize(datasaeventpub=nil, requestid=nil)
|
3635
3847
|
@DataSaEventPub = datasaeventpub
|
3636
3848
|
@RequestId = requestid
|
@@ -3648,7 +3860,7 @@ module TencentCloud
|
|
3648
3860
|
# 安全放回状态
|
3649
3861
|
class SecurityStatus < TencentCloud::Common::AbstractModel
|
3650
3862
|
|
3651
|
-
|
3863
|
+
|
3652
3864
|
def initialize()
|
3653
3865
|
end
|
3654
3866
|
|
@@ -3672,7 +3884,7 @@ module TencentCloud
|
|
3672
3884
|
# @type FailCount: Integer
|
3673
3885
|
|
3674
3886
|
attr_accessor :Name, :LevelId, :SuccessCount, :FailCount
|
3675
|
-
|
3887
|
+
|
3676
3888
|
def initialize(name=nil, levelid=nil, successcount=nil, failcount=nil)
|
3677
3889
|
@Name = name
|
3678
3890
|
@LevelId = levelid
|
@@ -3713,7 +3925,7 @@ module TencentCloud
|
|
3713
3925
|
# @type IsFree: Integer
|
3714
3926
|
|
3715
3927
|
attr_accessor :CheckId, :Name, :Type, :AssetType, :Level, :Standard, :IsFree
|
3716
|
-
|
3928
|
+
|
3717
3929
|
def initialize(checkid=nil, name=nil, type=nil, assettype=nil, level=nil, standard=nil, isfree=nil)
|
3718
3930
|
@CheckId = checkid
|
3719
3931
|
@Name = name
|
@@ -3759,7 +3971,7 @@ module TencentCloud
|
|
3759
3971
|
# @type DealUrl: String
|
3760
3972
|
|
3761
3973
|
attr_accessor :CheckId, :Name, :Type, :AssetType, :PloyName, :PloyId, :Result, :FailAssetNum, :TotalAssetNum, :DealUrl
|
3762
|
-
|
3974
|
+
|
3763
3975
|
def initialize(checkid=nil, name=nil, type=nil, assettype=nil, ployname=nil, ployid=nil, result=nil, failassetnum=nil, totalassetnum=nil, dealurl=nil)
|
3764
3976
|
@CheckId = checkid
|
3765
3977
|
@Name = name
|
@@ -3794,7 +4006,7 @@ module TencentCloud
|
|
3794
4006
|
# @type Items: Array
|
3795
4007
|
|
3796
4008
|
attr_accessor :Items
|
3797
|
-
|
4009
|
+
|
3798
4010
|
def initialize(items=nil)
|
3799
4011
|
@Items = items
|
3800
4012
|
end
|
@@ -3839,7 +4051,7 @@ module TencentCloud
|
|
3839
4051
|
# @type CheckItems: Array
|
3840
4052
|
|
3841
4053
|
attr_accessor :Item, :Description, :StandardItem, :Result, :Suggestion, :ProStr, :Production, :CheckItems
|
3842
|
-
|
4054
|
+
|
3843
4055
|
def initialize(item=nil, description=nil, standarditem=nil, result=nil, suggestion=nil, prostr=nil, production=nil, checkitems=nil)
|
3844
4056
|
@Item = item
|
3845
4057
|
@Description = description
|
@@ -3890,7 +4102,7 @@ module TencentCloud
|
|
3890
4102
|
# @type Status: Integer
|
3891
4103
|
|
3892
4104
|
attr_accessor :Name, :Index, :Status
|
3893
|
-
|
4105
|
+
|
3894
4106
|
def initialize(name=nil, index=nil, status=nil)
|
3895
4107
|
@Name = name
|
3896
4108
|
@Index = index
|
@@ -3912,7 +4124,7 @@ module TencentCloud
|
|
3912
4124
|
# @type Fname: String
|
3913
4125
|
|
3914
4126
|
attr_accessor :Fid, :Fname
|
3915
|
-
|
4127
|
+
|
3916
4128
|
def initialize(fid=nil, fname=nil)
|
3917
4129
|
@Fid = fid
|
3918
4130
|
@Fname = fname
|
@@ -4008,7 +4220,7 @@ module TencentCloud
|
|
4008
4220
|
# @type VulPath: String
|
4009
4221
|
|
4010
4222
|
attr_accessor :Id, :VulName, :Type, :Level, :Status, :Time, :ImpactAssetNum, :ImpactAsset, :ImpactAssetName, :VulDetail, :VulRefLink, :OldIdMd5, :UniqId, :OperateTime, :IsAssetDeleted, :DiscoverTime, :OriginId, :Region, :Vpcid, :AssetType, :AssetSubType, :AssetIpAll, :PublicIpAddresses, :PrivateIpAddresses, :VulSource, :AffectedUrl, :SsaAssetCategory, :VulUrl, :IsOpen, :YzHostId, :VulRepairPlan, :VulPath
|
4011
|
-
|
4223
|
+
|
4012
4224
|
def initialize(id=nil, vulname=nil, type=nil, level=nil, status=nil, time=nil, impactassetnum=nil, impactasset=nil, impactassetname=nil, vuldetail=nil, vulreflink=nil, oldidmd5=nil, uniqid=nil, operatetime=nil, isassetdeleted=nil, discovertime=nil, originid=nil, region=nil, vpcid=nil, assettype=nil, assetsubtype=nil, assetipall=nil, publicipaddresses=nil, privateipaddresses=nil, vulsource=nil, affectedurl=nil, ssaassetcategory=nil, vulurl=nil, isopen=nil, yzhostid=nil, vulrepairplan=nil, vulpath=nil)
|
4013
4225
|
@Id = id
|
4014
4226
|
@VulName = vulname
|
@@ -4088,7 +4300,7 @@ module TencentCloud
|
|
4088
4300
|
# @type Total: Integer
|
4089
4301
|
|
4090
4302
|
attr_accessor :List, :Total
|
4091
|
-
|
4303
|
+
|
4092
4304
|
def initialize(list=nil, total=nil)
|
4093
4305
|
@List = list
|
4094
4306
|
@Total = total
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tencentcloud-sdk-ssa
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.591
|
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-06-
|
11
|
+
date: 2023-06-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|