tencentcloud-sdk-ssa 3.0.590 → 3.0.592
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 +359 -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: 72509b5a9482b895a4d6674bbbc312d1dd0da1a5
|
4
|
+
data.tar.gz: 83c713933f2abb06f6ec5d243def06b90063711c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6971f61c76e6ae9dca4c60a098c5c003d8367e7bc47b6a14f359e27954c7f022bf57da450b69272571a7eea95a1293119cd533f7c4b73f04b33e7831e9372634
|
7
|
+
data.tar.gz: 262a304d27286e925792265c1afc42b6632aa7351031a1851654ff060b57e885b73077d01299fe77e186a8e2c5453bfd5cad4ea10a4f583e83c54059225e16b8
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.592
|
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: 起始,从0开始(只支持32位)
|
2260
|
+
# @type Offset: Integer
|
2261
|
+
# @param Limit: limit,最大值200(只支持32位)
|
2262
|
+
# @type Limit: Integer
|
2263
|
+
# @param AssetBasicType: 资产大类,根据此字段时返回不同的子结构,AssetBasicType(只支持32位)
|
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: 时间范围(只支持32位)
|
2274
|
+
# @type TimeRange: Integer
|
2275
|
+
# @param Logic: 逻辑字段(只支持32位)
|
2276
|
+
# @type Logic: Integer
|
2277
|
+
# @param GroupByField: 聚合字段
|
2278
|
+
# @type GroupByField: String
|
2279
|
+
# @param Task: -
|
2280
|
+
# @type Task: String
|
2281
|
+
# @param RequestFrom: 0:cfw 1:vss 2.soc 3.waf 4.cwp
|
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,143 @@ 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
|
+
# @param NetworkRisk: 网络风险
|
3201
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3202
|
+
# @type NetworkRisk: Integer
|
3203
|
+
# @param NetworkAttack: 网络攻击
|
3204
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3205
|
+
# @type NetworkAttack: Integer
|
3206
|
+
# @param BotVisit: bot访问
|
3207
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3208
|
+
# @type BotVisit: Integer
|
3209
|
+
# @param NetworkAccess: 网络访问
|
3210
|
+
|
3211
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3212
|
+
# @type NetworkAccess: Integer
|
3213
|
+
# @param CreateTime: 资产创建时间
|
3214
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3215
|
+
# @type CreateTime: String
|
3216
|
+
# @param WafStatus: waf状态
|
3217
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3218
|
+
# @type WafStatus: Integer
|
3219
|
+
# @param LastScanTime: 最近扫描时间
|
3220
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3221
|
+
# @type LastScanTime: String
|
3222
|
+
# @param AssetId: 资产id
|
3223
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3224
|
+
# @type AssetId: Array
|
3225
|
+
# @param AssetName: 资产名
|
3226
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3227
|
+
# @type AssetName: Array
|
3228
|
+
# @param SourceType: 类别
|
3229
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3230
|
+
# @type SourceType: String
|
3231
|
+
# @param IsNotCore: 是否核心资产
|
3232
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3233
|
+
# @type IsNotCore: Integer
|
3234
|
+
# @param IsCloud: 是否云外资产
|
3235
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3236
|
+
# @type IsCloud: Integer
|
3237
|
+
|
3238
|
+
attr_accessor :Domain, :ResolveAddr, :Region, :AssetType, :RiskVulCount, :SensitiveCount, :HorseLinkCount, :WebModifyCount, :ScanTime, :DiscoverTime, :ScanTaskCount, :PortRisk, :WeekPwdCount, :AssetLocation, :NetworkRisk, :NetworkAttack, :BotVisit, :NetworkAccess, :CreateTime, :WafStatus, :LastScanTime, :AssetId, :AssetName, :SourceType, :IsNotCore, :IsCloud
|
3239
|
+
|
3240
|
+
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, networkrisk=nil, networkattack=nil, botvisit=nil, networkaccess=nil, createtime=nil, wafstatus=nil, lastscantime=nil, assetid=nil, assetname=nil, sourcetype=nil, isnotcore=nil, iscloud=nil)
|
3241
|
+
@Domain = domain
|
3242
|
+
@ResolveAddr = resolveaddr
|
3243
|
+
@Region = region
|
3244
|
+
@AssetType = assettype
|
3245
|
+
@RiskVulCount = riskvulcount
|
3246
|
+
@SensitiveCount = sensitivecount
|
3247
|
+
@HorseLinkCount = horselinkcount
|
3248
|
+
@WebModifyCount = webmodifycount
|
3249
|
+
@ScanTime = scantime
|
3250
|
+
@DiscoverTime = discovertime
|
3251
|
+
@ScanTaskCount = scantaskcount
|
3252
|
+
@PortRisk = portrisk
|
3253
|
+
@WeekPwdCount = weekpwdcount
|
3254
|
+
@AssetLocation = assetlocation
|
3255
|
+
@NetworkRisk = networkrisk
|
3256
|
+
@NetworkAttack = networkattack
|
3257
|
+
@BotVisit = botvisit
|
3258
|
+
@NetworkAccess = networkaccess
|
3259
|
+
@CreateTime = createtime
|
3260
|
+
@WafStatus = wafstatus
|
3261
|
+
@LastScanTime = lastscantime
|
3262
|
+
@AssetId = assetid
|
3263
|
+
@AssetName = assetname
|
3264
|
+
@SourceType = sourcetype
|
3265
|
+
@IsNotCore = isnotcore
|
3266
|
+
@IsCloud = iscloud
|
3267
|
+
end
|
3268
|
+
|
3269
|
+
def deserialize(params)
|
3270
|
+
@Domain = params['Domain']
|
3271
|
+
@ResolveAddr = params['ResolveAddr']
|
3272
|
+
@Region = params['Region']
|
3273
|
+
@AssetType = params['AssetType']
|
3274
|
+
@RiskVulCount = params['RiskVulCount']
|
3275
|
+
@SensitiveCount = params['SensitiveCount']
|
3276
|
+
@HorseLinkCount = params['HorseLinkCount']
|
3277
|
+
@WebModifyCount = params['WebModifyCount']
|
3278
|
+
@ScanTime = params['ScanTime']
|
3279
|
+
@DiscoverTime = params['DiscoverTime']
|
3280
|
+
@ScanTaskCount = params['ScanTaskCount']
|
3281
|
+
@PortRisk = params['PortRisk']
|
3282
|
+
@WeekPwdCount = params['WeekPwdCount']
|
3283
|
+
@AssetLocation = params['AssetLocation']
|
3284
|
+
@NetworkRisk = params['NetworkRisk']
|
3285
|
+
@NetworkAttack = params['NetworkAttack']
|
3286
|
+
@BotVisit = params['BotVisit']
|
3287
|
+
@NetworkAccess = params['NetworkAccess']
|
3288
|
+
@CreateTime = params['CreateTime']
|
3289
|
+
@WafStatus = params['WafStatus']
|
3290
|
+
@LastScanTime = params['LastScanTime']
|
3291
|
+
@AssetId = params['AssetId']
|
3292
|
+
@AssetName = params['AssetName']
|
3293
|
+
@SourceType = params['SourceType']
|
3294
|
+
@IsNotCore = params['IsNotCore']
|
3295
|
+
@IsCloud = params['IsCloud']
|
3296
|
+
end
|
3297
|
+
end
|
3298
|
+
|
3064
3299
|
# 描述键值对过滤器,用于条件过滤查询。例如过滤ID、名称、状态等
|
3065
3300
|
|
3066
3301
|
# 若存在多个Filter时,Filter间的关系为逻辑与(AND)关系。
|
@@ -3074,7 +3309,7 @@ module TencentCloud
|
|
3074
3309
|
# @type ExactMatch: Boolean
|
3075
3310
|
|
3076
3311
|
attr_accessor :Name, :Values, :ExactMatch
|
3077
|
-
|
3312
|
+
|
3078
3313
|
def initialize(name=nil, values=nil, exactmatch=nil)
|
3079
3314
|
@Name = name
|
3080
3315
|
@Values = values
|
@@ -3114,7 +3349,7 @@ module TencentCloud
|
|
3114
3349
|
# @type OldIdMd5: String
|
3115
3350
|
|
3116
3351
|
attr_accessor :Time, :EventType1, :EventType2, :EventName, :Level, :Status, :SrcIp, :DstIp, :DstPort, :Asset, :OldIdMd5
|
3117
|
-
|
3352
|
+
|
3118
3353
|
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
3354
|
@Time = time
|
3120
3355
|
@EventType1 = eventtype1
|
@@ -3208,7 +3443,7 @@ module TencentCloud
|
|
3208
3443
|
# @type MappingType: String
|
3209
3444
|
|
3210
3445
|
attr_accessor :AssetName, :AssetIp, :PrivateIp, :AssetId, :Protocol, :Port, :Service, :Component, :Process, :OS, :LastMappingTime, :DisposalRecommendations, :DisposalRecommendationDetails, :AssetType, :Domain, :MappingStatus, :Region, :SecurityStatus, :DisposalRecommendation, :MappingType
|
3211
|
-
|
3446
|
+
|
3212
3447
|
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
3448
|
@AssetName = assetname
|
3214
3449
|
@AssetIp = assetip
|
@@ -3271,7 +3506,7 @@ module TencentCloud
|
|
3271
3506
|
# @type List: Array
|
3272
3507
|
|
3273
3508
|
attr_accessor :Count, :List
|
3274
|
-
|
3509
|
+
|
3275
3510
|
def initialize(count=nil, list=nil)
|
3276
3511
|
@Count = count
|
3277
3512
|
@List = list
|
@@ -3300,7 +3535,7 @@ module TencentCloud
|
|
3300
3535
|
# @type FilterValue: String
|
3301
3536
|
|
3302
3537
|
attr_accessor :FilterKey, :FilterOperatorType, :FilterValue
|
3303
|
-
|
3538
|
+
|
3304
3539
|
def initialize(filterkey=nil, filteroperatortype=nil, filtervalue=nil)
|
3305
3540
|
@FilterKey = filterkey
|
3306
3541
|
@FilterOperatorType = filteroperatortype
|
@@ -3314,6 +3549,44 @@ module TencentCloud
|
|
3314
3549
|
end
|
3315
3550
|
end
|
3316
3551
|
|
3552
|
+
# 过滤
|
3553
|
+
class QueryFilterV3 < TencentCloud::Common::AbstractModel
|
3554
|
+
# @param Filter: 过滤条件
|
3555
|
+
# @type Filter: :class:`Tencentcloud::Ssa.v20180608.models.QueryFilter`
|
3556
|
+
# @param HasSub: 有无子条件
|
3557
|
+
# @type HasSub: Boolean
|
3558
|
+
# @param SubFilters: 查询条件
|
3559
|
+
# @type SubFilters: Array
|
3560
|
+
# @param Logic: 逻辑操作(只支持32位)
|
3561
|
+
# @type Logic: Integer
|
3562
|
+
|
3563
|
+
attr_accessor :Filter, :HasSub, :SubFilters, :Logic
|
3564
|
+
|
3565
|
+
def initialize(filter=nil, hassub=nil, subfilters=nil, logic=nil)
|
3566
|
+
@Filter = filter
|
3567
|
+
@HasSub = hassub
|
3568
|
+
@SubFilters = subfilters
|
3569
|
+
@Logic = logic
|
3570
|
+
end
|
3571
|
+
|
3572
|
+
def deserialize(params)
|
3573
|
+
unless params['Filter'].nil?
|
3574
|
+
@Filter = QueryFilter.new
|
3575
|
+
@Filter.deserialize(params['Filter'])
|
3576
|
+
end
|
3577
|
+
@HasSub = params['HasSub']
|
3578
|
+
unless params['SubFilters'].nil?
|
3579
|
+
@SubFilters = []
|
3580
|
+
params['SubFilters'].each do |i|
|
3581
|
+
queryfilter_tmp = QueryFilter.new
|
3582
|
+
queryfilter_tmp.deserialize(i)
|
3583
|
+
@SubFilters << queryfilter_tmp
|
3584
|
+
end
|
3585
|
+
end
|
3586
|
+
@Logic = params['Logic']
|
3587
|
+
end
|
3588
|
+
end
|
3589
|
+
|
3317
3590
|
# 排序的字段
|
3318
3591
|
class QuerySort < TencentCloud::Common::AbstractModel
|
3319
3592
|
# @param SortKey: 排序字段
|
@@ -3322,7 +3595,7 @@ module TencentCloud
|
|
3322
3595
|
# @type SortType: Integer
|
3323
3596
|
|
3324
3597
|
attr_accessor :SortKey, :SortType
|
3325
|
-
|
3598
|
+
|
3326
3599
|
def initialize(sortkey=nil, sorttype=nil)
|
3327
3600
|
@SortKey = sortkey
|
3328
3601
|
@SortType = sorttype
|
@@ -3350,7 +3623,7 @@ module TencentCloud
|
|
3350
3623
|
# @type TaskMaxCount: Integer
|
3351
3624
|
|
3352
3625
|
attr_accessor :Statistics, :Result, :TaskCount, :TaskMaxCount
|
3353
|
-
|
3626
|
+
|
3354
3627
|
def initialize(statistics=nil, result=nil, taskcount=nil, taskmaxcount=nil)
|
3355
3628
|
@Statistics = statistics
|
3356
3629
|
@Result = result
|
@@ -3416,7 +3689,7 @@ module TencentCloud
|
|
3416
3689
|
# @type UpdateTime: String
|
3417
3690
|
|
3418
3691
|
attr_accessor :Id, :Uin, :AppId, :EventName, :DivulgeSoure, :Asset, :RuleName, :RuleId, :RuleWord, :ScanUrl, :ScanCount, :Level, :Status, :EventTime, :InsertTime, :UpdateTime
|
3419
|
-
|
3692
|
+
|
3420
3693
|
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
3694
|
@Id = id
|
3422
3695
|
@Uin = uin
|
@@ -3464,7 +3737,7 @@ module TencentCloud
|
|
3464
3737
|
# @type List: Array
|
3465
3738
|
|
3466
3739
|
attr_accessor :Count, :List
|
3467
|
-
|
3740
|
+
|
3468
3741
|
def initialize(count=nil, list=nil)
|
3469
3742
|
@Count = count
|
3470
3743
|
@List = list
|
@@ -3511,7 +3784,7 @@ module TencentCloud
|
|
3511
3784
|
# @type Limit: String
|
3512
3785
|
|
3513
3786
|
attr_accessor :QueryKey, :EventName, :DivulgeSoure, :Asset, :RuleName, :RuleId, :Level, :Status, :StartTime, :EndTime, :Offset, :Limit
|
3514
|
-
|
3787
|
+
|
3515
3788
|
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
3789
|
@QueryKey = querykey
|
3517
3790
|
@EventName = eventname
|
@@ -3551,7 +3824,7 @@ module TencentCloud
|
|
3551
3824
|
# @type RequestId: String
|
3552
3825
|
|
3553
3826
|
attr_accessor :Data, :RequestId
|
3554
|
-
|
3827
|
+
|
3555
3828
|
def initialize(data=nil, requestid=nil)
|
3556
3829
|
@Data = data
|
3557
3830
|
@RequestId = requestid
|
@@ -3592,7 +3865,7 @@ module TencentCloud
|
|
3592
3865
|
# @type OldIdMd5: String
|
3593
3866
|
|
3594
3867
|
attr_accessor :Asset, :EventName, :EventType1, :EventType2, :Level, :Status, :StartTime, :Offset, :Limit, :EndTime, :OldIdMd5
|
3595
|
-
|
3868
|
+
|
3596
3869
|
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
3870
|
@Asset = asset
|
3598
3871
|
@EventName = eventname
|
@@ -3630,7 +3903,7 @@ module TencentCloud
|
|
3630
3903
|
# @type RequestId: String
|
3631
3904
|
|
3632
3905
|
attr_accessor :DataSaEventPub, :RequestId
|
3633
|
-
|
3906
|
+
|
3634
3907
|
def initialize(datasaeventpub=nil, requestid=nil)
|
3635
3908
|
@DataSaEventPub = datasaeventpub
|
3636
3909
|
@RequestId = requestid
|
@@ -3648,7 +3921,7 @@ module TencentCloud
|
|
3648
3921
|
# 安全放回状态
|
3649
3922
|
class SecurityStatus < TencentCloud::Common::AbstractModel
|
3650
3923
|
|
3651
|
-
|
3924
|
+
|
3652
3925
|
def initialize()
|
3653
3926
|
end
|
3654
3927
|
|
@@ -3672,7 +3945,7 @@ module TencentCloud
|
|
3672
3945
|
# @type FailCount: Integer
|
3673
3946
|
|
3674
3947
|
attr_accessor :Name, :LevelId, :SuccessCount, :FailCount
|
3675
|
-
|
3948
|
+
|
3676
3949
|
def initialize(name=nil, levelid=nil, successcount=nil, failcount=nil)
|
3677
3950
|
@Name = name
|
3678
3951
|
@LevelId = levelid
|
@@ -3713,7 +3986,7 @@ module TencentCloud
|
|
3713
3986
|
# @type IsFree: Integer
|
3714
3987
|
|
3715
3988
|
attr_accessor :CheckId, :Name, :Type, :AssetType, :Level, :Standard, :IsFree
|
3716
|
-
|
3989
|
+
|
3717
3990
|
def initialize(checkid=nil, name=nil, type=nil, assettype=nil, level=nil, standard=nil, isfree=nil)
|
3718
3991
|
@CheckId = checkid
|
3719
3992
|
@Name = name
|
@@ -3759,7 +4032,7 @@ module TencentCloud
|
|
3759
4032
|
# @type DealUrl: String
|
3760
4033
|
|
3761
4034
|
attr_accessor :CheckId, :Name, :Type, :AssetType, :PloyName, :PloyId, :Result, :FailAssetNum, :TotalAssetNum, :DealUrl
|
3762
|
-
|
4035
|
+
|
3763
4036
|
def initialize(checkid=nil, name=nil, type=nil, assettype=nil, ployname=nil, ployid=nil, result=nil, failassetnum=nil, totalassetnum=nil, dealurl=nil)
|
3764
4037
|
@CheckId = checkid
|
3765
4038
|
@Name = name
|
@@ -3794,7 +4067,7 @@ module TencentCloud
|
|
3794
4067
|
# @type Items: Array
|
3795
4068
|
|
3796
4069
|
attr_accessor :Items
|
3797
|
-
|
4070
|
+
|
3798
4071
|
def initialize(items=nil)
|
3799
4072
|
@Items = items
|
3800
4073
|
end
|
@@ -3839,7 +4112,7 @@ module TencentCloud
|
|
3839
4112
|
# @type CheckItems: Array
|
3840
4113
|
|
3841
4114
|
attr_accessor :Item, :Description, :StandardItem, :Result, :Suggestion, :ProStr, :Production, :CheckItems
|
3842
|
-
|
4115
|
+
|
3843
4116
|
def initialize(item=nil, description=nil, standarditem=nil, result=nil, suggestion=nil, prostr=nil, production=nil, checkitems=nil)
|
3844
4117
|
@Item = item
|
3845
4118
|
@Description = description
|
@@ -3890,7 +4163,7 @@ module TencentCloud
|
|
3890
4163
|
# @type Status: Integer
|
3891
4164
|
|
3892
4165
|
attr_accessor :Name, :Index, :Status
|
3893
|
-
|
4166
|
+
|
3894
4167
|
def initialize(name=nil, index=nil, status=nil)
|
3895
4168
|
@Name = name
|
3896
4169
|
@Index = index
|
@@ -3912,7 +4185,7 @@ module TencentCloud
|
|
3912
4185
|
# @type Fname: String
|
3913
4186
|
|
3914
4187
|
attr_accessor :Fid, :Fname
|
3915
|
-
|
4188
|
+
|
3916
4189
|
def initialize(fid=nil, fname=nil)
|
3917
4190
|
@Fid = fid
|
3918
4191
|
@Fname = fname
|
@@ -4008,7 +4281,7 @@ module TencentCloud
|
|
4008
4281
|
# @type VulPath: String
|
4009
4282
|
|
4010
4283
|
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
|
-
|
4284
|
+
|
4012
4285
|
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
4286
|
@Id = id
|
4014
4287
|
@VulName = vulname
|
@@ -4088,7 +4361,7 @@ module TencentCloud
|
|
4088
4361
|
# @type Total: Integer
|
4089
4362
|
|
4090
4363
|
attr_accessor :List, :Total
|
4091
|
-
|
4364
|
+
|
4092
4365
|
def initialize(list=nil, total=nil)
|
4093
4366
|
@List = list
|
4094
4367
|
@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.592
|
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-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|