tencentcloud-sdk-ssa 3.0.702 → 3.0.703
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20180608/client.rb +0 -72
- data/lib/v20180608/models.rb +0 -607
- 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: 5a99e232063e38066c12680ffcbd279c3db1ef8f
|
4
|
+
data.tar.gz: 0a441373da70f568419c54d4b8d8bd9f51f5f603
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e83ddf9ed6d90c393f83dcb5b723c226199aa1549022d9c9d0b14c443190e392227d7a69f7472ceeca18d2286168ea32596cbd6838804da60b9fcc31362a8724
|
7
|
+
data.tar.gz: 2c549052ade437e158a8f5c825b981922b9708fd5de411093d49a0d68be43152092744aff47a6153e204403c993bc4ffd0772fcdf5971415555d863028513ad4
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.703
|
data/lib/v20180608/client.rb
CHANGED
@@ -125,30 +125,6 @@ module TencentCloud
|
|
125
125
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
126
126
|
end
|
127
127
|
|
128
|
-
# 资产测绘-测绘列表
|
129
|
-
|
130
|
-
# @param request: Request instance for DescribeAssetsMappingList.
|
131
|
-
# @type request: :class:`Tencentcloud::ssa::V20180608::DescribeAssetsMappingListRequest`
|
132
|
-
# @rtype: :class:`Tencentcloud::ssa::V20180608::DescribeAssetsMappingListResponse`
|
133
|
-
def DescribeAssetsMappingList(request)
|
134
|
-
body = send_request('DescribeAssetsMappingList', request.serialize)
|
135
|
-
response = JSON.parse(body)
|
136
|
-
if response['Response'].key?('Error') == false
|
137
|
-
model = DescribeAssetsMappingListResponse.new
|
138
|
-
model.deserialize(response['Response'])
|
139
|
-
model
|
140
|
-
else
|
141
|
-
code = response['Response']['Error']['Code']
|
142
|
-
message = response['Response']['Error']['Message']
|
143
|
-
reqid = response['Response']['RequestId']
|
144
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
145
|
-
end
|
146
|
-
rescue TencentCloud::Common::TencentCloudSDKException => e
|
147
|
-
raise e
|
148
|
-
rescue StandardError => e
|
149
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
150
|
-
end
|
151
|
-
|
152
128
|
# 云安全配置管理资产组列表
|
153
129
|
|
154
130
|
# @param request: Request instance for DescribeCheckConfigAssetList.
|
@@ -389,30 +365,6 @@ module TencentCloud
|
|
389
365
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
390
366
|
end
|
391
367
|
|
392
|
-
# 获取安全事件列表
|
393
|
-
|
394
|
-
# @param request: Request instance for DescribeSafetyEventList.
|
395
|
-
# @type request: :class:`Tencentcloud::ssa::V20180608::DescribeSafetyEventListRequest`
|
396
|
-
# @rtype: :class:`Tencentcloud::ssa::V20180608::DescribeSafetyEventListResponse`
|
397
|
-
def DescribeSafetyEventList(request)
|
398
|
-
body = send_request('DescribeSafetyEventList', request.serialize)
|
399
|
-
response = JSON.parse(body)
|
400
|
-
if response['Response'].key?('Error') == false
|
401
|
-
model = DescribeSafetyEventListResponse.new
|
402
|
-
model.deserialize(response['Response'])
|
403
|
-
model
|
404
|
-
else
|
405
|
-
code = response['Response']['Error']['Code']
|
406
|
-
message = response['Response']['Error']['Message']
|
407
|
-
reqid = response['Response']['RequestId']
|
408
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
409
|
-
end
|
410
|
-
rescue TencentCloud::Common::TencentCloudSDKException => e
|
411
|
-
raise e
|
412
|
-
rescue StandardError => e
|
413
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
414
|
-
end
|
415
|
-
|
416
368
|
# 返回告警详情
|
417
369
|
|
418
370
|
# @param request: Request instance for DescribeSocAlertDetails.
|
@@ -581,30 +533,6 @@ module TencentCloud
|
|
581
533
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
582
534
|
end
|
583
535
|
|
584
|
-
# 查询【通用字段】【泄露监测数据列表】
|
585
|
-
|
586
|
-
# @param request: Request instance for SaDivulgeDataQueryPub.
|
587
|
-
# @type request: :class:`Tencentcloud::ssa::V20180608::SaDivulgeDataQueryPubRequest`
|
588
|
-
# @rtype: :class:`Tencentcloud::ssa::V20180608::SaDivulgeDataQueryPubResponse`
|
589
|
-
def SaDivulgeDataQueryPub(request)
|
590
|
-
body = send_request('SaDivulgeDataQueryPub', request.serialize)
|
591
|
-
response = JSON.parse(body)
|
592
|
-
if response['Response'].key?('Error') == false
|
593
|
-
model = SaDivulgeDataQueryPubResponse.new
|
594
|
-
model.deserialize(response['Response'])
|
595
|
-
model
|
596
|
-
else
|
597
|
-
code = response['Response']['Error']['Code']
|
598
|
-
message = response['Response']['Error']['Message']
|
599
|
-
reqid = response['Response']['RequestId']
|
600
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
601
|
-
end
|
602
|
-
rescue TencentCloud::Common::TencentCloudSDKException => e
|
603
|
-
raise e
|
604
|
-
rescue StandardError => e
|
605
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
606
|
-
end
|
607
|
-
|
608
536
|
# SaDivulgeScanRuleMutate
|
609
537
|
|
610
538
|
# @param request: Request instance for SaDivulgeScanRuleMutate.
|
data/lib/v20180608/models.rb
CHANGED
@@ -1329,115 +1329,6 @@ module TencentCloud
|
|
1329
1329
|
end
|
1330
1330
|
end
|
1331
1331
|
|
1332
|
-
# 资产测绘对象
|
1333
|
-
class DataAssetMapping < TencentCloud::Common::AbstractModel
|
1334
|
-
# @param AssetIp: 资产主IP地址(公网IP)
|
1335
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
1336
|
-
# @type AssetIp: String
|
1337
|
-
# @param AssetName: 资产名称
|
1338
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
1339
|
-
# @type AssetName: String
|
1340
|
-
# @param Instid: 资产ID(各模块间通用)
|
1341
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
1342
|
-
# @type Instid: String
|
1343
|
-
# @param AssetType: 资产类型
|
1344
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
1345
|
-
# @type AssetType: String
|
1346
|
-
# @param AssetRegionEn: 资产可用区(英文)
|
1347
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
1348
|
-
# @type AssetRegionEn: String
|
1349
|
-
# @param AssetRegionCn: 资产可用区(中文)
|
1350
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
1351
|
-
# @type AssetRegionCn: String
|
1352
|
-
# @param AssetNetwork: 资产所属网络
|
1353
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
1354
|
-
# @type AssetNetwork: String
|
1355
|
-
# @param AssetStatusEn: 资产运行状态(英文)
|
1356
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
1357
|
-
# @type AssetStatusEn: String
|
1358
|
-
# @param AssetStatusCn: 资产运行状态(中文)
|
1359
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
1360
|
-
# @type AssetStatusCn: String
|
1361
|
-
# @param IsWhite: 是否白名单:“True”为白名单不测绘,默认“False”正常测绘
|
1362
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
1363
|
-
# @type IsWhite: String
|
1364
|
-
# @param Status: 资产测绘状态(“unstart”未开始/“running”测绘中/“finish”已完成/“abandoned”任务中止)
|
1365
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
1366
|
-
# @type Status: String
|
1367
|
-
# @param Time: 最近更新时间
|
1368
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
1369
|
-
# @type Time: String
|
1370
|
-
# @param Tag: 资产标签
|
1371
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
1372
|
-
# @type Tag: Array
|
1373
|
-
# @param Group: 资产组
|
1374
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
1375
|
-
# @type Group: Array
|
1376
|
-
# @param Port: 端口和服务信息
|
1377
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
1378
|
-
# @type Port: String
|
1379
|
-
# @param Component: 组件信息
|
1380
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
1381
|
-
# @type Component: String
|
1382
|
-
# @param AssetInstanceType: 资产实例类型
|
1383
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
1384
|
-
# @type AssetInstanceType: String
|
1385
|
-
# @param IsIntranet: 资产是否是内网类型
|
1386
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
1387
|
-
# @type IsIntranet: Integer
|
1388
|
-
|
1389
|
-
attr_accessor :AssetIp, :AssetName, :Instid, :AssetType, :AssetRegionEn, :AssetRegionCn, :AssetNetwork, :AssetStatusEn, :AssetStatusCn, :IsWhite, :Status, :Time, :Tag, :Group, :Port, :Component, :AssetInstanceType, :IsIntranet
|
1390
|
-
|
1391
|
-
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)
|
1392
|
-
@AssetIp = assetip
|
1393
|
-
@AssetName = assetname
|
1394
|
-
@Instid = instid
|
1395
|
-
@AssetType = assettype
|
1396
|
-
@AssetRegionEn = assetregionen
|
1397
|
-
@AssetRegionCn = assetregioncn
|
1398
|
-
@AssetNetwork = assetnetwork
|
1399
|
-
@AssetStatusEn = assetstatusen
|
1400
|
-
@AssetStatusCn = assetstatuscn
|
1401
|
-
@IsWhite = iswhite
|
1402
|
-
@Status = status
|
1403
|
-
@Time = time
|
1404
|
-
@Tag = tag
|
1405
|
-
@Group = group
|
1406
|
-
@Port = port
|
1407
|
-
@Component = component
|
1408
|
-
@AssetInstanceType = assetinstancetype
|
1409
|
-
@IsIntranet = isintranet
|
1410
|
-
end
|
1411
|
-
|
1412
|
-
def deserialize(params)
|
1413
|
-
@AssetIp = params['AssetIp']
|
1414
|
-
@AssetName = params['AssetName']
|
1415
|
-
@Instid = params['Instid']
|
1416
|
-
@AssetType = params['AssetType']
|
1417
|
-
@AssetRegionEn = params['AssetRegionEn']
|
1418
|
-
@AssetRegionCn = params['AssetRegionCn']
|
1419
|
-
@AssetNetwork = params['AssetNetwork']
|
1420
|
-
@AssetStatusEn = params['AssetStatusEn']
|
1421
|
-
@AssetStatusCn = params['AssetStatusCn']
|
1422
|
-
@IsWhite = params['IsWhite']
|
1423
|
-
@Status = params['Status']
|
1424
|
-
@Time = params['Time']
|
1425
|
-
unless params['Tag'].nil?
|
1426
|
-
@Tag = []
|
1427
|
-
params['Tag'].each do |i|
|
1428
|
-
tag_tmp = Tag.new
|
1429
|
-
tag_tmp.deserialize(i)
|
1430
|
-
@Tag << tag_tmp
|
1431
|
-
end
|
1432
|
-
end
|
1433
|
-
@Group = params['Group']
|
1434
|
-
@Port = params['Port']
|
1435
|
-
@Component = params['Component']
|
1436
|
-
@AssetInstanceType = params['AssetInstanceType']
|
1437
|
-
@IsIntranet = params['IsIntranet']
|
1438
|
-
end
|
1439
|
-
end
|
1440
|
-
|
1441
1332
|
# 检查项详情对象
|
1442
1333
|
class DataCheck < TencentCloud::Common::AbstractModel
|
1443
1334
|
# @param Id: 检查项唯一标识符uuid
|
@@ -1586,191 +1477,6 @@ module TencentCloud
|
|
1586
1477
|
end
|
1587
1478
|
end
|
1588
1479
|
|
1589
|
-
# 事件列表对象
|
1590
|
-
class DataEvent < TencentCloud::Common::AbstractModel
|
1591
|
-
# @param OldIdMd5: Md5值
|
1592
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
1593
|
-
# @type OldIdMd5: String
|
1594
|
-
# @param EventName: 事件名称
|
1595
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
1596
|
-
# @type EventName: String
|
1597
|
-
# @param EventType1: 事件类型一级分类
|
1598
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
1599
|
-
# @type EventType1: Integer
|
1600
|
-
# @param EventType2: 事件类型二级分类
|
1601
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
1602
|
-
# @type EventType2: Integer
|
1603
|
-
# @param Level: 事件等级
|
1604
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
1605
|
-
# @type Level: Integer
|
1606
|
-
# @param Status: 处理状态
|
1607
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
1608
|
-
# @type Status: Integer
|
1609
|
-
# @param SrcIp: 源ip
|
1610
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
1611
|
-
# @type SrcIp: String
|
1612
|
-
# @param DstIp: 目的ip
|
1613
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
1614
|
-
# @type DstIp: String
|
1615
|
-
# @param Time: 事件发生时间
|
1616
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
1617
|
-
# @type Time: String
|
1618
|
-
# @param Dstport: 目的端口
|
1619
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
1620
|
-
# @type Dstport: Integer
|
1621
|
-
# @param AssetIp: 资产ip
|
1622
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
1623
|
-
# @type AssetIp: String
|
1624
|
-
# @param AssetName: 资产名称
|
1625
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
1626
|
-
# @type AssetName: String
|
1627
|
-
# @param SsaEventUniqid: 安全事件唯一标识符
|
1628
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
1629
|
-
# @type SsaEventUniqid: String
|
1630
|
-
# @param AssetId: 资产id
|
1631
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
1632
|
-
# @type AssetId: String
|
1633
|
-
# @param Source: 事件来源
|
1634
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
1635
|
-
# @type Source: String
|
1636
|
-
# @param Index: 索引
|
1637
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
1638
|
-
# @type Index: String
|
1639
|
-
# @param Id: 索引中的唯一标识符
|
1640
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
1641
|
-
# @type Id: String
|
1642
|
-
# @param IsAssetDeleted: 受影响资产是否已下线
|
1643
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
1644
|
-
# @type IsAssetDeleted: String
|
1645
|
-
# @param SsaSrcCountry: 源ip所属地
|
1646
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
1647
|
-
# @type SsaSrcCountry: String
|
1648
|
-
# @param SsaDstCountry: 目的ip所属地
|
1649
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
1650
|
-
# @type SsaDstCountry: String
|
1651
|
-
# @param SsaDescription: 木马类型的描述信息
|
1652
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
1653
|
-
# @type SsaDescription: String
|
1654
|
-
# @param SsaAttackChain: 供给链类型
|
1655
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
1656
|
-
# @type SsaAttackChain: String
|
1657
|
-
# @param RuleComponents: 受影响组件
|
1658
|
-
# @type RuleComponents: String
|
1659
|
-
# @param AssetIpAll: 资产ip
|
1660
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
1661
|
-
# @type AssetIpAll: Array
|
1662
|
-
# @param AssetType: 资产类型
|
1663
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
1664
|
-
# @type AssetType: String
|
1665
|
-
# @param PublicIpAddresses: cvm类型资产的公网ip
|
1666
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
1667
|
-
# @type PublicIpAddresses: Array
|
1668
|
-
# @param PrivateIpAddresses: cvm类型资产的内网ip
|
1669
|
-
# @type PrivateIpAddresses: Array
|
1670
|
-
# @param SoarResponseStatus: 事件响应状态
|
1671
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
1672
|
-
# @type SoarResponseStatus: Integer
|
1673
|
-
# @param SoarResponseTime: 事件最近响应时间
|
1674
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
1675
|
-
# @type SoarResponseTime: Integer
|
1676
|
-
# @param SoarSuggestStatus: 事件建议处理状态
|
1677
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
1678
|
-
# @type SoarSuggestStatus: Integer
|
1679
|
-
# @param SoarPlaybookType: 事件剧本类型
|
1680
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
1681
|
-
# @type SoarPlaybookType: String
|
1682
|
-
# @param SoarRunId: 剧本任务Id
|
1683
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
1684
|
-
# @type SoarRunId: String
|
1685
|
-
# @param SsaEventId: 事件Id
|
1686
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
1687
|
-
# @type SsaEventId: String
|
1688
|
-
# @param IsNewCfwEvent: 是否新接入的云防事件
|
1689
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
1690
|
-
# @type IsNewCfwEvent: Boolean
|
1691
|
-
# @param Direction: 出入站方向
|
1692
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
1693
|
-
# @type Direction: String
|
1694
|
-
|
1695
|
-
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
|
1696
|
-
|
1697
|
-
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)
|
1698
|
-
@OldIdMd5 = oldidmd5
|
1699
|
-
@EventName = eventname
|
1700
|
-
@EventType1 = eventtype1
|
1701
|
-
@EventType2 = eventtype2
|
1702
|
-
@Level = level
|
1703
|
-
@Status = status
|
1704
|
-
@SrcIp = srcip
|
1705
|
-
@DstIp = dstip
|
1706
|
-
@Time = time
|
1707
|
-
@Dstport = dstport
|
1708
|
-
@AssetIp = assetip
|
1709
|
-
@AssetName = assetname
|
1710
|
-
@SsaEventUniqid = ssaeventuniqid
|
1711
|
-
@AssetId = assetid
|
1712
|
-
@Source = source
|
1713
|
-
@Index = index
|
1714
|
-
@Id = id
|
1715
|
-
@IsAssetDeleted = isassetdeleted
|
1716
|
-
@SsaSrcCountry = ssasrccountry
|
1717
|
-
@SsaDstCountry = ssadstcountry
|
1718
|
-
@SsaDescription = ssadescription
|
1719
|
-
@SsaAttackChain = ssaattackchain
|
1720
|
-
@RuleComponents = rulecomponents
|
1721
|
-
@AssetIpAll = assetipall
|
1722
|
-
@AssetType = assettype
|
1723
|
-
@PublicIpAddresses = publicipaddresses
|
1724
|
-
@PrivateIpAddresses = privateipaddresses
|
1725
|
-
@SoarResponseStatus = soarresponsestatus
|
1726
|
-
@SoarResponseTime = soarresponsetime
|
1727
|
-
@SoarSuggestStatus = soarsuggeststatus
|
1728
|
-
@SoarPlaybookType = soarplaybooktype
|
1729
|
-
@SoarRunId = soarrunid
|
1730
|
-
@SsaEventId = ssaeventid
|
1731
|
-
@IsNewCfwEvent = isnewcfwevent
|
1732
|
-
@Direction = direction
|
1733
|
-
end
|
1734
|
-
|
1735
|
-
def deserialize(params)
|
1736
|
-
@OldIdMd5 = params['OldIdMd5']
|
1737
|
-
@EventName = params['EventName']
|
1738
|
-
@EventType1 = params['EventType1']
|
1739
|
-
@EventType2 = params['EventType2']
|
1740
|
-
@Level = params['Level']
|
1741
|
-
@Status = params['Status']
|
1742
|
-
@SrcIp = params['SrcIp']
|
1743
|
-
@DstIp = params['DstIp']
|
1744
|
-
@Time = params['Time']
|
1745
|
-
@Dstport = params['Dstport']
|
1746
|
-
@AssetIp = params['AssetIp']
|
1747
|
-
@AssetName = params['AssetName']
|
1748
|
-
@SsaEventUniqid = params['SsaEventUniqid']
|
1749
|
-
@AssetId = params['AssetId']
|
1750
|
-
@Source = params['Source']
|
1751
|
-
@Index = params['Index']
|
1752
|
-
@Id = params['Id']
|
1753
|
-
@IsAssetDeleted = params['IsAssetDeleted']
|
1754
|
-
@SsaSrcCountry = params['SsaSrcCountry']
|
1755
|
-
@SsaDstCountry = params['SsaDstCountry']
|
1756
|
-
@SsaDescription = params['SsaDescription']
|
1757
|
-
@SsaAttackChain = params['SsaAttackChain']
|
1758
|
-
@RuleComponents = params['RuleComponents']
|
1759
|
-
@AssetIpAll = params['AssetIpAll']
|
1760
|
-
@AssetType = params['AssetType']
|
1761
|
-
@PublicIpAddresses = params['PublicIpAddresses']
|
1762
|
-
@PrivateIpAddresses = params['PrivateIpAddresses']
|
1763
|
-
@SoarResponseStatus = params['SoarResponseStatus']
|
1764
|
-
@SoarResponseTime = params['SoarResponseTime']
|
1765
|
-
@SoarSuggestStatus = params['SoarSuggestStatus']
|
1766
|
-
@SoarPlaybookType = params['SoarPlaybookType']
|
1767
|
-
@SoarRunId = params['SoarRunId']
|
1768
|
-
@SsaEventId = params['SsaEventId']
|
1769
|
-
@IsNewCfwEvent = params['IsNewCfwEvent']
|
1770
|
-
@Direction = params['Direction']
|
1771
|
-
end
|
1772
|
-
end
|
1773
|
-
|
1774
1480
|
# DescribeAlarmStat请求参数结构体
|
1775
1481
|
class DescribeAlarmStatRequest < TencentCloud::Common::AbstractModel
|
1776
1482
|
# @param StartTime: 开始时间
|
@@ -1993,58 +1699,6 @@ module TencentCloud
|
|
1993
1699
|
end
|
1994
1700
|
end
|
1995
1701
|
|
1996
|
-
# DescribeAssetsMappingList请求参数结构体
|
1997
|
-
class DescribeAssetsMappingListRequest < TencentCloud::Common::AbstractModel
|
1998
|
-
# @param Params: 请求参数
|
1999
|
-
# @type Params: String
|
2000
|
-
|
2001
|
-
attr_accessor :Params
|
2002
|
-
|
2003
|
-
def initialize(params=nil)
|
2004
|
-
@Params = params
|
2005
|
-
end
|
2006
|
-
|
2007
|
-
def deserialize(params)
|
2008
|
-
@Params = params['Params']
|
2009
|
-
end
|
2010
|
-
end
|
2011
|
-
|
2012
|
-
# DescribeAssetsMappingList返回参数结构体
|
2013
|
-
class DescribeAssetsMappingListResponse < TencentCloud::Common::AbstractModel
|
2014
|
-
# @param Data: 资产测绘列表
|
2015
|
-
# @type Data: Array
|
2016
|
-
# @param TotalCount: 资产测绘总数
|
2017
|
-
# @type TotalCount: Integer
|
2018
|
-
# @param CountByType: 类型分类统计数量
|
2019
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
2020
|
-
# @type CountByType: String
|
2021
|
-
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
2022
|
-
# @type RequestId: String
|
2023
|
-
|
2024
|
-
attr_accessor :Data, :TotalCount, :CountByType, :RequestId
|
2025
|
-
|
2026
|
-
def initialize(data=nil, totalcount=nil, countbytype=nil, requestid=nil)
|
2027
|
-
@Data = data
|
2028
|
-
@TotalCount = totalcount
|
2029
|
-
@CountByType = countbytype
|
2030
|
-
@RequestId = requestid
|
2031
|
-
end
|
2032
|
-
|
2033
|
-
def deserialize(params)
|
2034
|
-
unless params['Data'].nil?
|
2035
|
-
@Data = []
|
2036
|
-
params['Data'].each do |i|
|
2037
|
-
dataassetmapping_tmp = DataAssetMapping.new
|
2038
|
-
dataassetmapping_tmp.deserialize(i)
|
2039
|
-
@Data << dataassetmapping_tmp
|
2040
|
-
end
|
2041
|
-
end
|
2042
|
-
@TotalCount = params['TotalCount']
|
2043
|
-
@CountByType = params['CountByType']
|
2044
|
-
@RequestId = params['RequestId']
|
2045
|
-
end
|
2046
|
-
end
|
2047
|
-
|
2048
1702
|
# DescribeCheckConfigAssetList请求参数结构体
|
2049
1703
|
class DescribeCheckConfigAssetListRequest < TencentCloud::Common::AbstractModel
|
2050
1704
|
# @param Id: 检查项UUID
|
@@ -2658,81 +2312,6 @@ module TencentCloud
|
|
2658
2312
|
end
|
2659
2313
|
end
|
2660
2314
|
|
2661
|
-
# DescribeSafetyEventList请求参数结构体
|
2662
|
-
class DescribeSafetyEventListRequest < TencentCloud::Common::AbstractModel
|
2663
|
-
# @param Filter: 搜索过滤查询参数
|
2664
|
-
# @type Filter: String
|
2665
|
-
# @param Limit: 限制数目
|
2666
|
-
# @type Limit: Integer
|
2667
|
-
# @param Offset: 页偏移
|
2668
|
-
# @type Offset: Integer
|
2669
|
-
# @param Order: 排序列名
|
2670
|
-
# @type Order: String
|
2671
|
-
# @param By: 排序升降:desc-降序 asc-升序
|
2672
|
-
# @type By: String
|
2673
|
-
# @param StartTime: 开始查询时间
|
2674
|
-
# @type StartTime: String
|
2675
|
-
# @param EndTime: 结束查询时间
|
2676
|
-
# @type EndTime: String
|
2677
|
-
# @param IsFilterResponseTime: 是否过滤响应时间
|
2678
|
-
# @type IsFilterResponseTime: Boolean
|
2679
|
-
|
2680
|
-
attr_accessor :Filter, :Limit, :Offset, :Order, :By, :StartTime, :EndTime, :IsFilterResponseTime
|
2681
|
-
|
2682
|
-
def initialize(filter=nil, limit=nil, offset=nil, order=nil, by=nil, starttime=nil, endtime=nil, isfilterresponsetime=nil)
|
2683
|
-
@Filter = filter
|
2684
|
-
@Limit = limit
|
2685
|
-
@Offset = offset
|
2686
|
-
@Order = order
|
2687
|
-
@By = by
|
2688
|
-
@StartTime = starttime
|
2689
|
-
@EndTime = endtime
|
2690
|
-
@IsFilterResponseTime = isfilterresponsetime
|
2691
|
-
end
|
2692
|
-
|
2693
|
-
def deserialize(params)
|
2694
|
-
@Filter = params['Filter']
|
2695
|
-
@Limit = params['Limit']
|
2696
|
-
@Offset = params['Offset']
|
2697
|
-
@Order = params['Order']
|
2698
|
-
@By = params['By']
|
2699
|
-
@StartTime = params['StartTime']
|
2700
|
-
@EndTime = params['EndTime']
|
2701
|
-
@IsFilterResponseTime = params['IsFilterResponseTime']
|
2702
|
-
end
|
2703
|
-
end
|
2704
|
-
|
2705
|
-
# DescribeSafetyEventList返回参数结构体
|
2706
|
-
class DescribeSafetyEventListResponse < TencentCloud::Common::AbstractModel
|
2707
|
-
# @param List: 事件列表
|
2708
|
-
# @type List: Array
|
2709
|
-
# @param Total: 事件总条数
|
2710
|
-
# @type Total: Integer
|
2711
|
-
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
2712
|
-
# @type RequestId: String
|
2713
|
-
|
2714
|
-
attr_accessor :List, :Total, :RequestId
|
2715
|
-
|
2716
|
-
def initialize(list=nil, total=nil, requestid=nil)
|
2717
|
-
@List = list
|
2718
|
-
@Total = total
|
2719
|
-
@RequestId = requestid
|
2720
|
-
end
|
2721
|
-
|
2722
|
-
def deserialize(params)
|
2723
|
-
unless params['List'].nil?
|
2724
|
-
@List = []
|
2725
|
-
params['List'].each do |i|
|
2726
|
-
dataevent_tmp = DataEvent.new
|
2727
|
-
dataevent_tmp.deserialize(i)
|
2728
|
-
@List << dataevent_tmp
|
2729
|
-
end
|
2730
|
-
end
|
2731
|
-
@Total = params['Total']
|
2732
|
-
@RequestId = params['RequestId']
|
2733
|
-
end
|
2734
|
-
end
|
2735
|
-
|
2736
2315
|
# DescribeSocAlertDetails请求参数结构体
|
2737
2316
|
class DescribeSocAlertDetailsRequest < TencentCloud::Common::AbstractModel
|
2738
2317
|
# @param AlertId: 告警id
|
@@ -3773,192 +3352,6 @@ module TencentCloud
|
|
3773
3352
|
end
|
3774
3353
|
end
|
3775
3354
|
|
3776
|
-
# 查询_通用字段
|
3777
|
-
class SaDivulgeDataQueryPub < TencentCloud::Common::AbstractModel
|
3778
|
-
# @param Id: Id信息
|
3779
|
-
# @type Id: String
|
3780
|
-
# @param Uin: 用户Uin
|
3781
|
-
# @type Uin: String
|
3782
|
-
# @param AppId: 用户AppId
|
3783
|
-
# @type AppId: String
|
3784
|
-
# @param EventName: 事件名称
|
3785
|
-
# @type EventName: String
|
3786
|
-
# @param DivulgeSoure: 监控源 0:全部 1:GitHub 2:暗网 默认值1
|
3787
|
-
# @type DivulgeSoure: String
|
3788
|
-
# @param Asset: 受影响资产
|
3789
|
-
# @type Asset: String
|
3790
|
-
# @param RuleName: 命中主题集下的规则topic名称
|
3791
|
-
# @type RuleName: String
|
3792
|
-
# @param RuleId: 命中主题集下的规则topic唯一id
|
3793
|
-
# @type RuleId: String
|
3794
|
-
# @param RuleWord: 命中主题集下的自定义规则策略
|
3795
|
-
# @type RuleWord: String
|
3796
|
-
# @param ScanUrl: 扫描监测url
|
3797
|
-
# @type ScanUrl: String
|
3798
|
-
# @param ScanCount: 扫描监测命中次数
|
3799
|
-
# @type ScanCount: String
|
3800
|
-
# @param Level: 风险等级 -1:未知 1:低危 2:中危 3:高危 4:严重
|
3801
|
-
# @type Level: String
|
3802
|
-
# @param Status: 安全事件处理状态 -1:未知 1:待处理 2:已处理 3:误报 4:已忽略 5:已知晓 6:已信任
|
3803
|
-
# @type Status: String
|
3804
|
-
# @param EventTime: 安全事件发生时间
|
3805
|
-
# @type EventTime: String
|
3806
|
-
# @param InsertTime: 事件插入时间
|
3807
|
-
# @type InsertTime: String
|
3808
|
-
# @param UpdateTime: 事件更新时间
|
3809
|
-
# @type UpdateTime: String
|
3810
|
-
|
3811
|
-
attr_accessor :Id, :Uin, :AppId, :EventName, :DivulgeSoure, :Asset, :RuleName, :RuleId, :RuleWord, :ScanUrl, :ScanCount, :Level, :Status, :EventTime, :InsertTime, :UpdateTime
|
3812
|
-
|
3813
|
-
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)
|
3814
|
-
@Id = id
|
3815
|
-
@Uin = uin
|
3816
|
-
@AppId = appid
|
3817
|
-
@EventName = eventname
|
3818
|
-
@DivulgeSoure = divulgesoure
|
3819
|
-
@Asset = asset
|
3820
|
-
@RuleName = rulename
|
3821
|
-
@RuleId = ruleid
|
3822
|
-
@RuleWord = ruleword
|
3823
|
-
@ScanUrl = scanurl
|
3824
|
-
@ScanCount = scancount
|
3825
|
-
@Level = level
|
3826
|
-
@Status = status
|
3827
|
-
@EventTime = eventtime
|
3828
|
-
@InsertTime = inserttime
|
3829
|
-
@UpdateTime = updatetime
|
3830
|
-
end
|
3831
|
-
|
3832
|
-
def deserialize(params)
|
3833
|
-
@Id = params['Id']
|
3834
|
-
@Uin = params['Uin']
|
3835
|
-
@AppId = params['AppId']
|
3836
|
-
@EventName = params['EventName']
|
3837
|
-
@DivulgeSoure = params['DivulgeSoure']
|
3838
|
-
@Asset = params['Asset']
|
3839
|
-
@RuleName = params['RuleName']
|
3840
|
-
@RuleId = params['RuleId']
|
3841
|
-
@RuleWord = params['RuleWord']
|
3842
|
-
@ScanUrl = params['ScanUrl']
|
3843
|
-
@ScanCount = params['ScanCount']
|
3844
|
-
@Level = params['Level']
|
3845
|
-
@Status = params['Status']
|
3846
|
-
@EventTime = params['EventTime']
|
3847
|
-
@InsertTime = params['InsertTime']
|
3848
|
-
@UpdateTime = params['UpdateTime']
|
3849
|
-
end
|
3850
|
-
end
|
3851
|
-
|
3852
|
-
# 自定义泄露事件列表
|
3853
|
-
class SaDivulgeDataQueryPubList < TencentCloud::Common::AbstractModel
|
3854
|
-
# @param Count: 数据条数
|
3855
|
-
# @type Count: Integer
|
3856
|
-
# @param List: 自定义泄露事件列表
|
3857
|
-
# @type List: Array
|
3858
|
-
|
3859
|
-
attr_accessor :Count, :List
|
3860
|
-
|
3861
|
-
def initialize(count=nil, list=nil)
|
3862
|
-
@Count = count
|
3863
|
-
@List = list
|
3864
|
-
end
|
3865
|
-
|
3866
|
-
def deserialize(params)
|
3867
|
-
@Count = params['Count']
|
3868
|
-
unless params['List'].nil?
|
3869
|
-
@List = []
|
3870
|
-
params['List'].each do |i|
|
3871
|
-
sadivulgedataquerypub_tmp = SaDivulgeDataQueryPub.new
|
3872
|
-
sadivulgedataquerypub_tmp.deserialize(i)
|
3873
|
-
@List << sadivulgedataquerypub_tmp
|
3874
|
-
end
|
3875
|
-
end
|
3876
|
-
end
|
3877
|
-
end
|
3878
|
-
|
3879
|
-
# SaDivulgeDataQueryPub请求参数结构体
|
3880
|
-
class SaDivulgeDataQueryPubRequest < TencentCloud::Common::AbstractModel
|
3881
|
-
# @param QueryKey: 模糊查询字段(针对appid或者uin)
|
3882
|
-
# @type QueryKey: String
|
3883
|
-
# @param EventName: 安全事件名称
|
3884
|
-
# @type EventName: String
|
3885
|
-
# @param DivulgeSoure: 监控源 0:全部 1:GitHub 2:暗网 默认值1
|
3886
|
-
# @type DivulgeSoure: String
|
3887
|
-
# @param Asset: 受影响资产
|
3888
|
-
# @type Asset: String
|
3889
|
-
# @param RuleName: 命中主题集下的规则topic名称
|
3890
|
-
# @type RuleName: String
|
3891
|
-
# @param RuleId: 命中主题集下的规则topic唯一id
|
3892
|
-
# @type RuleId: String
|
3893
|
-
# @param Level: 风险等级 -1:未知 1:低危 2:中危 3:高危 4:严重
|
3894
|
-
# @type Level: String
|
3895
|
-
# @param Status: 安全事件处理状态 -1:未知 1:待处理 2:已处理 3:误报 4:已忽略 5:已知晓 6:已信任
|
3896
|
-
# @type Status: String
|
3897
|
-
# @param StartTime: 起始时间
|
3898
|
-
# @type StartTime: String
|
3899
|
-
# @param EndTime: 结束时间
|
3900
|
-
# @type EndTime: String
|
3901
|
-
# @param Offset: 查询起始地址
|
3902
|
-
# @type Offset: String
|
3903
|
-
# @param Limit: 查询个数
|
3904
|
-
# @type Limit: String
|
3905
|
-
|
3906
|
-
attr_accessor :QueryKey, :EventName, :DivulgeSoure, :Asset, :RuleName, :RuleId, :Level, :Status, :StartTime, :EndTime, :Offset, :Limit
|
3907
|
-
|
3908
|
-
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)
|
3909
|
-
@QueryKey = querykey
|
3910
|
-
@EventName = eventname
|
3911
|
-
@DivulgeSoure = divulgesoure
|
3912
|
-
@Asset = asset
|
3913
|
-
@RuleName = rulename
|
3914
|
-
@RuleId = ruleid
|
3915
|
-
@Level = level
|
3916
|
-
@Status = status
|
3917
|
-
@StartTime = starttime
|
3918
|
-
@EndTime = endtime
|
3919
|
-
@Offset = offset
|
3920
|
-
@Limit = limit
|
3921
|
-
end
|
3922
|
-
|
3923
|
-
def deserialize(params)
|
3924
|
-
@QueryKey = params['QueryKey']
|
3925
|
-
@EventName = params['EventName']
|
3926
|
-
@DivulgeSoure = params['DivulgeSoure']
|
3927
|
-
@Asset = params['Asset']
|
3928
|
-
@RuleName = params['RuleName']
|
3929
|
-
@RuleId = params['RuleId']
|
3930
|
-
@Level = params['Level']
|
3931
|
-
@Status = params['Status']
|
3932
|
-
@StartTime = params['StartTime']
|
3933
|
-
@EndTime = params['EndTime']
|
3934
|
-
@Offset = params['Offset']
|
3935
|
-
@Limit = params['Limit']
|
3936
|
-
end
|
3937
|
-
end
|
3938
|
-
|
3939
|
-
# SaDivulgeDataQueryPub返回参数结构体
|
3940
|
-
class SaDivulgeDataQueryPubResponse < TencentCloud::Common::AbstractModel
|
3941
|
-
# @param Data: 自定义泄露事件列表
|
3942
|
-
# @type Data: :class:`Tencentcloud::Ssa.v20180608.models.SaDivulgeDataQueryPubList`
|
3943
|
-
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
3944
|
-
# @type RequestId: String
|
3945
|
-
|
3946
|
-
attr_accessor :Data, :RequestId
|
3947
|
-
|
3948
|
-
def initialize(data=nil, requestid=nil)
|
3949
|
-
@Data = data
|
3950
|
-
@RequestId = requestid
|
3951
|
-
end
|
3952
|
-
|
3953
|
-
def deserialize(params)
|
3954
|
-
unless params['Data'].nil?
|
3955
|
-
@Data = SaDivulgeDataQueryPubList.new
|
3956
|
-
@Data.deserialize(params['Data'])
|
3957
|
-
end
|
3958
|
-
@RequestId = params['RequestId']
|
3959
|
-
end
|
3960
|
-
end
|
3961
|
-
|
3962
3355
|
# SaDivulgeScanRuleMutate请求参数结构体
|
3963
3356
|
class SaDivulgeScanRuleMutateRequest < TencentCloud::Common::AbstractModel
|
3964
3357
|
# @param Id: Id
|
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.703
|
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-11-
|
11
|
+
date: 2023-11-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|