tencentcloud-sdk-cwp 3.0.432 → 3.0.433
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/v20180228/client.rb +144 -0
- data/lib/v20180228/models.rb +468 -0
- 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: ac771364a8e0c2fdd4b7d51621daf906acf1714d
|
4
|
+
data.tar.gz: 24df0a1e23255b4a424b1901424c08a760d5681a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e443974a3dc8721327841029ac885d4df66804e753ffbe2c71b1ad6d7c60c8e468606caf98dd5ed678f6dca0ee48ea456f62ecba4b09acc2a7acf7091f438d32
|
7
|
+
data.tar.gz: c5806605797c129fca6e9a5685e33f6af78a9858e944769e44134f665910ecec69c00762fc915b57a2004ab36f2b469f985806e9aeed0ae17df49525ea02cafb
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.433
|
data/lib/v20180228/client.rb
CHANGED
@@ -296,6 +296,30 @@ module TencentCloud
|
|
296
296
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
297
297
|
end
|
298
298
|
|
299
|
+
# 删除基线策略配置
|
300
|
+
|
301
|
+
# @param request: Request instance for DeleteBaselinePolicy.
|
302
|
+
# @type request: :class:`Tencentcloud::cwp::V20180228::DeleteBaselinePolicyRequest`
|
303
|
+
# @rtype: :class:`Tencentcloud::cwp::V20180228::DeleteBaselinePolicyResponse`
|
304
|
+
def DeleteBaselinePolicy(request)
|
305
|
+
body = send_request('DeleteBaselinePolicy', request.serialize)
|
306
|
+
response = JSON.parse(body)
|
307
|
+
if response['Response'].key?('Error') == false
|
308
|
+
model = DeleteBaselinePolicyResponse.new
|
309
|
+
model.deserialize(response['Response'])
|
310
|
+
model
|
311
|
+
else
|
312
|
+
code = response['Response']['Error']['Code']
|
313
|
+
message = response['Response']['Error']['Message']
|
314
|
+
reqid = response['Response']['RequestId']
|
315
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
316
|
+
end
|
317
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
318
|
+
raise e
|
319
|
+
rescue StandardError => e
|
320
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
321
|
+
end
|
322
|
+
|
299
323
|
# 根据基线策略id删除策略
|
300
324
|
|
301
325
|
# @param request: Request instance for DeleteBaselineStrategy.
|
@@ -704,6 +728,30 @@ module TencentCloud
|
|
704
728
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
705
729
|
end
|
706
730
|
|
731
|
+
# DeleteScanTask 该接口可以对指定类型的扫描任务进行停止扫描;
|
732
|
+
|
733
|
+
# @param request: Request instance for DeleteScanTask.
|
734
|
+
# @type request: :class:`Tencentcloud::cwp::V20180228::DeleteScanTaskRequest`
|
735
|
+
# @rtype: :class:`Tencentcloud::cwp::V20180228::DeleteScanTaskResponse`
|
736
|
+
def DeleteScanTask(request)
|
737
|
+
body = send_request('DeleteScanTask', request.serialize)
|
738
|
+
response = JSON.parse(body)
|
739
|
+
if response['Response'].key?('Error') == false
|
740
|
+
model = DeleteScanTaskResponse.new
|
741
|
+
model.deserialize(response['Response'])
|
742
|
+
model
|
743
|
+
else
|
744
|
+
code = response['Response']['Error']['Code']
|
745
|
+
message = response['Response']['Error']['Message']
|
746
|
+
reqid = response['Response']['RequestId']
|
747
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
748
|
+
end
|
749
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
750
|
+
raise e
|
751
|
+
rescue StandardError => e
|
752
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
753
|
+
end
|
754
|
+
|
707
755
|
# 删除检索模板
|
708
756
|
|
709
757
|
# @param request: Request instance for DeleteSearchTemplate.
|
@@ -1760,6 +1808,30 @@ module TencentCloud
|
|
1760
1808
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1761
1809
|
end
|
1762
1810
|
|
1811
|
+
# 获取基线检测主机列表
|
1812
|
+
|
1813
|
+
# @param request: Request instance for DescribeBaselineHostDetectList.
|
1814
|
+
# @type request: :class:`Tencentcloud::cwp::V20180228::DescribeBaselineHostDetectListRequest`
|
1815
|
+
# @rtype: :class:`Tencentcloud::cwp::V20180228::DescribeBaselineHostDetectListResponse`
|
1816
|
+
def DescribeBaselineHostDetectList(request)
|
1817
|
+
body = send_request('DescribeBaselineHostDetectList', request.serialize)
|
1818
|
+
response = JSON.parse(body)
|
1819
|
+
if response['Response'].key?('Error') == false
|
1820
|
+
model = DescribeBaselineHostDetectListResponse.new
|
1821
|
+
model.deserialize(response['Response'])
|
1822
|
+
model
|
1823
|
+
else
|
1824
|
+
code = response['Response']['Error']['Code']
|
1825
|
+
message = response['Response']['Error']['Message']
|
1826
|
+
reqid = response['Response']['RequestId']
|
1827
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1828
|
+
end
|
1829
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1830
|
+
raise e
|
1831
|
+
rescue StandardError => e
|
1832
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1833
|
+
end
|
1834
|
+
|
1763
1835
|
# 接口返回TopN的风险服务器
|
1764
1836
|
|
1765
1837
|
# @param request: Request instance for DescribeBaselineHostTop.
|
@@ -2432,6 +2504,30 @@ module TencentCloud
|
|
2432
2504
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
2433
2505
|
end
|
2434
2506
|
|
2507
|
+
# 查询java内存马事件列表
|
2508
|
+
|
2509
|
+
# @param request: Request instance for DescribeJavaMemShellList.
|
2510
|
+
# @type request: :class:`Tencentcloud::cwp::V20180228::DescribeJavaMemShellListRequest`
|
2511
|
+
# @rtype: :class:`Tencentcloud::cwp::V20180228::DescribeJavaMemShellListResponse`
|
2512
|
+
def DescribeJavaMemShellList(request)
|
2513
|
+
body = send_request('DescribeJavaMemShellList', request.serialize)
|
2514
|
+
response = JSON.parse(body)
|
2515
|
+
if response['Response'].key?('Error') == false
|
2516
|
+
model = DescribeJavaMemShellListResponse.new
|
2517
|
+
model.deserialize(response['Response'])
|
2518
|
+
model
|
2519
|
+
else
|
2520
|
+
code = response['Response']['Error']['Code']
|
2521
|
+
message = response['Response']['Error']['Message']
|
2522
|
+
reqid = response['Response']['RequestId']
|
2523
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
2524
|
+
end
|
2525
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
2526
|
+
raise e
|
2527
|
+
rescue StandardError => e
|
2528
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
2529
|
+
end
|
2530
|
+
|
2435
2531
|
# 该接口可以获取设置中心-授权管理,某个授权下已绑定的授权机器列表
|
2436
2532
|
|
2437
2533
|
# @param request: Request instance for DescribeLicenseBindList.
|
@@ -4784,6 +4880,30 @@ module TencentCloud
|
|
4784
4880
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
4785
4881
|
end
|
4786
4882
|
|
4883
|
+
# 更改基线策略设置
|
4884
|
+
|
4885
|
+
# @param request: Request instance for ModifyBaselinePolicy.
|
4886
|
+
# @type request: :class:`Tencentcloud::cwp::V20180228::ModifyBaselinePolicyRequest`
|
4887
|
+
# @rtype: :class:`Tencentcloud::cwp::V20180228::ModifyBaselinePolicyResponse`
|
4888
|
+
def ModifyBaselinePolicy(request)
|
4889
|
+
body = send_request('ModifyBaselinePolicy', request.serialize)
|
4890
|
+
response = JSON.parse(body)
|
4891
|
+
if response['Response'].key?('Error') == false
|
4892
|
+
model = ModifyBaselinePolicyResponse.new
|
4893
|
+
model.deserialize(response['Response'])
|
4894
|
+
model
|
4895
|
+
else
|
4896
|
+
code = response['Response']['Error']['Code']
|
4897
|
+
message = response['Response']['Error']['Message']
|
4898
|
+
reqid = response['Response']['RequestId']
|
4899
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
4900
|
+
end
|
4901
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
4902
|
+
raise e
|
4903
|
+
rescue StandardError => e
|
4904
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
4905
|
+
end
|
4906
|
+
|
4787
4907
|
# 修改暴力破解规则
|
4788
4908
|
|
4789
4909
|
# @param request: Request instance for ModifyBruteAttackRules.
|
@@ -5192,6 +5312,30 @@ module TencentCloud
|
|
5192
5312
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
5193
5313
|
end
|
5194
5314
|
|
5315
|
+
# 停止基线检测
|
5316
|
+
|
5317
|
+
# @param request: Request instance for StopBaselineDetect.
|
5318
|
+
# @type request: :class:`Tencentcloud::cwp::V20180228::StopBaselineDetectRequest`
|
5319
|
+
# @rtype: :class:`Tencentcloud::cwp::V20180228::StopBaselineDetectResponse`
|
5320
|
+
def StopBaselineDetect(request)
|
5321
|
+
body = send_request('StopBaselineDetect', request.serialize)
|
5322
|
+
response = JSON.parse(body)
|
5323
|
+
if response['Response'].key?('Error') == false
|
5324
|
+
model = StopBaselineDetectResponse.new
|
5325
|
+
model.deserialize(response['Response'])
|
5326
|
+
model
|
5327
|
+
else
|
5328
|
+
code = response['Response']['Error']['Code']
|
5329
|
+
message = response['Response']['Error']['Message']
|
5330
|
+
reqid = response['Response']['RequestId']
|
5331
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
5332
|
+
end
|
5333
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
5334
|
+
raise e
|
5335
|
+
rescue StandardError => e
|
5336
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
5337
|
+
end
|
5338
|
+
|
5195
5339
|
# 不再提醒爆破阻断提示弹窗
|
5196
5340
|
|
5197
5341
|
# @param request: Request instance for StopNoticeBanTips.
|
data/lib/v20180228/models.rb
CHANGED
@@ -2605,6 +2605,63 @@ module TencentCloud
|
|
2605
2605
|
end
|
2606
2606
|
end
|
2607
2607
|
|
2608
|
+
# 基线主机检测
|
2609
|
+
class BaselineHostDetect < TencentCloud::Common::AbstractModel
|
2610
|
+
# @param HostId: 主机Id
|
2611
|
+
# @type HostId: String
|
2612
|
+
# @param HostIp: 内网Ip
|
2613
|
+
# @type HostIp: String
|
2614
|
+
# @param HostName: 主机名称
|
2615
|
+
# @type HostName: String
|
2616
|
+
# @param WanIp: 外网Ip
|
2617
|
+
# @type WanIp: String
|
2618
|
+
# @param DetectStatus: 0:未通过 1:忽略 3:通过 5:检测中
|
2619
|
+
# @type DetectStatus: Integer
|
2620
|
+
# @param PassedItemCount: 检测通过数
|
2621
|
+
# @type PassedItemCount: Integer
|
2622
|
+
# @param ItemCount: 关联检测项数
|
2623
|
+
# @type ItemCount: Integer
|
2624
|
+
# @param NotPassedItemCount: 检测未通过数
|
2625
|
+
# @type NotPassedItemCount: Integer
|
2626
|
+
# @param FirstTime: 首次检测时间
|
2627
|
+
# @type FirstTime: String
|
2628
|
+
# @param LastTime: 最后检测时间
|
2629
|
+
# @type LastTime: String
|
2630
|
+
# @param Uuid: 主机安全UUID
|
2631
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2632
|
+
# @type Uuid: String
|
2633
|
+
|
2634
|
+
attr_accessor :HostId, :HostIp, :HostName, :WanIp, :DetectStatus, :PassedItemCount, :ItemCount, :NotPassedItemCount, :FirstTime, :LastTime, :Uuid
|
2635
|
+
|
2636
|
+
def initialize(hostid=nil, hostip=nil, hostname=nil, wanip=nil, detectstatus=nil, passeditemcount=nil, itemcount=nil, notpasseditemcount=nil, firsttime=nil, lasttime=nil, uuid=nil)
|
2637
|
+
@HostId = hostid
|
2638
|
+
@HostIp = hostip
|
2639
|
+
@HostName = hostname
|
2640
|
+
@WanIp = wanip
|
2641
|
+
@DetectStatus = detectstatus
|
2642
|
+
@PassedItemCount = passeditemcount
|
2643
|
+
@ItemCount = itemcount
|
2644
|
+
@NotPassedItemCount = notpasseditemcount
|
2645
|
+
@FirstTime = firsttime
|
2646
|
+
@LastTime = lasttime
|
2647
|
+
@Uuid = uuid
|
2648
|
+
end
|
2649
|
+
|
2650
|
+
def deserialize(params)
|
2651
|
+
@HostId = params['HostId']
|
2652
|
+
@HostIp = params['HostIp']
|
2653
|
+
@HostName = params['HostName']
|
2654
|
+
@WanIp = params['WanIp']
|
2655
|
+
@DetectStatus = params['DetectStatus']
|
2656
|
+
@PassedItemCount = params['PassedItemCount']
|
2657
|
+
@ItemCount = params['ItemCount']
|
2658
|
+
@NotPassedItemCount = params['NotPassedItemCount']
|
2659
|
+
@FirstTime = params['FirstTime']
|
2660
|
+
@LastTime = params['LastTime']
|
2661
|
+
@Uuid = params['Uuid']
|
2662
|
+
end
|
2663
|
+
end
|
2664
|
+
|
2608
2665
|
# 基线影响服务器列表数据
|
2609
2666
|
class BaselineHostTopList < TencentCloud::Common::AbstractModel
|
2610
2667
|
# @param EventLevelList: 事件等级与次数列表
|
@@ -2874,6 +2931,70 @@ module TencentCloud
|
|
2874
2931
|
end
|
2875
2932
|
end
|
2876
2933
|
|
2934
|
+
# 基线策略信息
|
2935
|
+
class BaselinePolicy < TencentCloud::Common::AbstractModel
|
2936
|
+
# @param PolicyName: 策略名称,长度不超过128英文字符
|
2937
|
+
# @type PolicyName: String
|
2938
|
+
# @param DetectInterval: 检测间隔[1:1天|3:3天|5:5天|7:7天]
|
2939
|
+
# @type DetectInterval: Integer
|
2940
|
+
# @param DetectTime: 检测时间
|
2941
|
+
# @type DetectTime: String
|
2942
|
+
# @param IsEnabled: 是否开启[0:未开启|1:开启]
|
2943
|
+
# @type IsEnabled: Integer
|
2944
|
+
# @param AssetType: 资产类型[0:所有专业版旗舰版|1:id|2:ip]
|
2945
|
+
# @type AssetType: Integer
|
2946
|
+
# @param PolicyId: 策略Id
|
2947
|
+
# @type PolicyId: Integer
|
2948
|
+
# @param RuleCount: 关联基线项数目
|
2949
|
+
# @type RuleCount: Integer
|
2950
|
+
# @param ItemCount: 关联基线项数目
|
2951
|
+
# @type ItemCount: Integer
|
2952
|
+
# @param HostCount: 关联基线主机数目
|
2953
|
+
# @type HostCount: Integer
|
2954
|
+
# @param RuleIds: 规则Id
|
2955
|
+
# @type RuleIds: Array
|
2956
|
+
# @param HostIds: 主机Id
|
2957
|
+
# @type HostIds: Array
|
2958
|
+
# @param HostIps: 主机Ip
|
2959
|
+
# @type HostIps: Array
|
2960
|
+
# @param IsDefault: 是否是系统默认
|
2961
|
+
# @type IsDefault: Integer
|
2962
|
+
|
2963
|
+
attr_accessor :PolicyName, :DetectInterval, :DetectTime, :IsEnabled, :AssetType, :PolicyId, :RuleCount, :ItemCount, :HostCount, :RuleIds, :HostIds, :HostIps, :IsDefault
|
2964
|
+
|
2965
|
+
def initialize(policyname=nil, detectinterval=nil, detecttime=nil, isenabled=nil, assettype=nil, policyid=nil, rulecount=nil, itemcount=nil, hostcount=nil, ruleids=nil, hostids=nil, hostips=nil, isdefault=nil)
|
2966
|
+
@PolicyName = policyname
|
2967
|
+
@DetectInterval = detectinterval
|
2968
|
+
@DetectTime = detecttime
|
2969
|
+
@IsEnabled = isenabled
|
2970
|
+
@AssetType = assettype
|
2971
|
+
@PolicyId = policyid
|
2972
|
+
@RuleCount = rulecount
|
2973
|
+
@ItemCount = itemcount
|
2974
|
+
@HostCount = hostcount
|
2975
|
+
@RuleIds = ruleids
|
2976
|
+
@HostIds = hostids
|
2977
|
+
@HostIps = hostips
|
2978
|
+
@IsDefault = isdefault
|
2979
|
+
end
|
2980
|
+
|
2981
|
+
def deserialize(params)
|
2982
|
+
@PolicyName = params['PolicyName']
|
2983
|
+
@DetectInterval = params['DetectInterval']
|
2984
|
+
@DetectTime = params['DetectTime']
|
2985
|
+
@IsEnabled = params['IsEnabled']
|
2986
|
+
@AssetType = params['AssetType']
|
2987
|
+
@PolicyId = params['PolicyId']
|
2988
|
+
@RuleCount = params['RuleCount']
|
2989
|
+
@ItemCount = params['ItemCount']
|
2990
|
+
@HostCount = params['HostCount']
|
2991
|
+
@RuleIds = params['RuleIds']
|
2992
|
+
@HostIds = params['HostIds']
|
2993
|
+
@HostIps = params['HostIps']
|
2994
|
+
@IsDefault = params['IsDefault']
|
2995
|
+
end
|
2996
|
+
end
|
2997
|
+
|
2877
2998
|
# 基线检测信息
|
2878
2999
|
class BaselineRuleInfo < TencentCloud::Common::AbstractModel
|
2879
3000
|
# @param RuleName: 检测项名称
|
@@ -3909,6 +4030,38 @@ module TencentCloud
|
|
3909
4030
|
end
|
3910
4031
|
end
|
3911
4032
|
|
4033
|
+
# DeleteBaselinePolicy请求参数结构体
|
4034
|
+
class DeleteBaselinePolicyRequest < TencentCloud::Common::AbstractModel
|
4035
|
+
# @param PolicyIds: 策略Id
|
4036
|
+
# @type PolicyIds: Array
|
4037
|
+
|
4038
|
+
attr_accessor :PolicyIds
|
4039
|
+
|
4040
|
+
def initialize(policyids=nil)
|
4041
|
+
@PolicyIds = policyids
|
4042
|
+
end
|
4043
|
+
|
4044
|
+
def deserialize(params)
|
4045
|
+
@PolicyIds = params['PolicyIds']
|
4046
|
+
end
|
4047
|
+
end
|
4048
|
+
|
4049
|
+
# DeleteBaselinePolicy返回参数结构体
|
4050
|
+
class DeleteBaselinePolicyResponse < TencentCloud::Common::AbstractModel
|
4051
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
4052
|
+
# @type RequestId: String
|
4053
|
+
|
4054
|
+
attr_accessor :RequestId
|
4055
|
+
|
4056
|
+
def initialize(requestid=nil)
|
4057
|
+
@RequestId = requestid
|
4058
|
+
end
|
4059
|
+
|
4060
|
+
def deserialize(params)
|
4061
|
+
@RequestId = params['RequestId']
|
4062
|
+
end
|
4063
|
+
end
|
4064
|
+
|
3912
4065
|
# DeleteBaselineStrategy请求参数结构体
|
3913
4066
|
class DeleteBaselineStrategyRequest < TencentCloud::Common::AbstractModel
|
3914
4067
|
# @param StrategyId: 基线策略id
|
@@ -4468,6 +4621,46 @@ module TencentCloud
|
|
4468
4621
|
end
|
4469
4622
|
end
|
4470
4623
|
|
4624
|
+
# DeleteScanTask请求参数结构体
|
4625
|
+
class DeleteScanTaskRequest < TencentCloud::Common::AbstractModel
|
4626
|
+
# @param TaskId: 任务Id
|
4627
|
+
# @type TaskId: Integer
|
4628
|
+
# @param ModuleType: 模块类型 当前提供 Malware 木马 , Vul 漏洞 , Baseline 基线
|
4629
|
+
# @type ModuleType: String
|
4630
|
+
# @param QuuidList: 自选服务器时生效,主机quuid的string数组
|
4631
|
+
# @type QuuidList: Array
|
4632
|
+
|
4633
|
+
attr_accessor :TaskId, :ModuleType, :QuuidList
|
4634
|
+
|
4635
|
+
def initialize(taskid=nil, moduletype=nil, quuidlist=nil)
|
4636
|
+
@TaskId = taskid
|
4637
|
+
@ModuleType = moduletype
|
4638
|
+
@QuuidList = quuidlist
|
4639
|
+
end
|
4640
|
+
|
4641
|
+
def deserialize(params)
|
4642
|
+
@TaskId = params['TaskId']
|
4643
|
+
@ModuleType = params['ModuleType']
|
4644
|
+
@QuuidList = params['QuuidList']
|
4645
|
+
end
|
4646
|
+
end
|
4647
|
+
|
4648
|
+
# DeleteScanTask返回参数结构体
|
4649
|
+
class DeleteScanTaskResponse < TencentCloud::Common::AbstractModel
|
4650
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
4651
|
+
# @type RequestId: String
|
4652
|
+
|
4653
|
+
attr_accessor :RequestId
|
4654
|
+
|
4655
|
+
def initialize(requestid=nil)
|
4656
|
+
@RequestId = requestid
|
4657
|
+
end
|
4658
|
+
|
4659
|
+
def deserialize(params)
|
4660
|
+
@RequestId = params['RequestId']
|
4661
|
+
end
|
4662
|
+
end
|
4663
|
+
|
4471
4664
|
# DeleteSearchTemplate请求参数结构体
|
4472
4665
|
class DeleteSearchTemplateRequest < TencentCloud::Common::AbstractModel
|
4473
4666
|
# @param Id: 模板ID
|
@@ -7443,6 +7636,84 @@ module TencentCloud
|
|
7443
7636
|
end
|
7444
7637
|
end
|
7445
7638
|
|
7639
|
+
# DescribeBaselineHostDetectList请求参数结构体
|
7640
|
+
class DescribeBaselineHostDetectListRequest < TencentCloud::Common::AbstractModel
|
7641
|
+
# @param Filters: <li>PolicyId - int64 - 是否必填:否 - 策略Id</li>
|
7642
|
+
# <li>HostName - string - 是否必填:否 - 主机名称</i>
|
7643
|
+
# <li>HostIp - string - 是否必填:否 - 主机Ip</i>
|
7644
|
+
# <li>ItemId - int64 - 是否必填:否 - 项Id</i>
|
7645
|
+
# <li>RuleId - int64 - 是否必填:否 - 规则Id</li>
|
7646
|
+
# <li>DetectStatus - int - 是否必填:否 - 检测状态</li>
|
7647
|
+
# <li>Level - int - 是否必填:否 - 风险等级</li>
|
7648
|
+
# <li>StartTime - string - 是否必填:否 - 开时时间</li>
|
7649
|
+
# <li>EndTime - string - 是否必填:否 - 结束时间</li>
|
7650
|
+
# @type Filters: Array
|
7651
|
+
# @param Limit: 限制条数,默认10,最大100
|
7652
|
+
# @type Limit: Integer
|
7653
|
+
# @param Offset: 偏移量,默认0
|
7654
|
+
# @type Offset: Integer
|
7655
|
+
# @param Order: 排序方式: [ASC:升序|DESC:降序]
|
7656
|
+
# @type Order: String
|
7657
|
+
# @param By: 可选排序列: [LastTime|ItemCount|PassedItemCount|NotPassedItemCount|FirstTime]
|
7658
|
+
# @type By: String
|
7659
|
+
|
7660
|
+
attr_accessor :Filters, :Limit, :Offset, :Order, :By
|
7661
|
+
|
7662
|
+
def initialize(filters=nil, limit=nil, offset=nil, order=nil, by=nil)
|
7663
|
+
@Filters = filters
|
7664
|
+
@Limit = limit
|
7665
|
+
@Offset = offset
|
7666
|
+
@Order = order
|
7667
|
+
@By = by
|
7668
|
+
end
|
7669
|
+
|
7670
|
+
def deserialize(params)
|
7671
|
+
unless params['Filters'].nil?
|
7672
|
+
@Filters = []
|
7673
|
+
params['Filters'].each do |i|
|
7674
|
+
filter_tmp = Filter.new
|
7675
|
+
filter_tmp.deserialize(i)
|
7676
|
+
@Filters << filter_tmp
|
7677
|
+
end
|
7678
|
+
end
|
7679
|
+
@Limit = params['Limit']
|
7680
|
+
@Offset = params['Offset']
|
7681
|
+
@Order = params['Order']
|
7682
|
+
@By = params['By']
|
7683
|
+
end
|
7684
|
+
end
|
7685
|
+
|
7686
|
+
# DescribeBaselineHostDetectList返回参数结构体
|
7687
|
+
class DescribeBaselineHostDetectListResponse < TencentCloud::Common::AbstractModel
|
7688
|
+
# @param List: 无
|
7689
|
+
# @type List: Array
|
7690
|
+
# @param Total: 总数
|
7691
|
+
# @type Total: Integer
|
7692
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
7693
|
+
# @type RequestId: String
|
7694
|
+
|
7695
|
+
attr_accessor :List, :Total, :RequestId
|
7696
|
+
|
7697
|
+
def initialize(list=nil, total=nil, requestid=nil)
|
7698
|
+
@List = list
|
7699
|
+
@Total = total
|
7700
|
+
@RequestId = requestid
|
7701
|
+
end
|
7702
|
+
|
7703
|
+
def deserialize(params)
|
7704
|
+
unless params['List'].nil?
|
7705
|
+
@List = []
|
7706
|
+
params['List'].each do |i|
|
7707
|
+
baselinehostdetect_tmp = BaselineHostDetect.new
|
7708
|
+
baselinehostdetect_tmp.deserialize(i)
|
7709
|
+
@List << baselinehostdetect_tmp
|
7710
|
+
end
|
7711
|
+
end
|
7712
|
+
@Total = params['Total']
|
7713
|
+
@RequestId = params['RequestId']
|
7714
|
+
end
|
7715
|
+
end
|
7716
|
+
|
7446
7717
|
# DescribeBaselineHostTop请求参数结构体
|
7447
7718
|
class DescribeBaselineHostTopRequest < TencentCloud::Common::AbstractModel
|
7448
7719
|
# @param Top: 动态top值
|
@@ -9270,6 +9541,69 @@ module TencentCloud
|
|
9270
9541
|
end
|
9271
9542
|
end
|
9272
9543
|
|
9544
|
+
# DescribeJavaMemShellList请求参数结构体
|
9545
|
+
class DescribeJavaMemShellListRequest < TencentCloud::Common::AbstractModel
|
9546
|
+
# @param Filters: 过滤条件:Keywords: ip或者主机名模糊查询, Type,Status精确匹配,CreateBeginTime,CreateEndTime时间段
|
9547
|
+
# @type Filters: Array
|
9548
|
+
# @param Offset: 偏移量,默认为0。
|
9549
|
+
# @type Offset: Integer
|
9550
|
+
# @param Limit: 需要返回的数量,默认为10,最大值为100
|
9551
|
+
# @type Limit: Integer
|
9552
|
+
|
9553
|
+
attr_accessor :Filters, :Offset, :Limit
|
9554
|
+
|
9555
|
+
def initialize(filters=nil, offset=nil, limit=nil)
|
9556
|
+
@Filters = filters
|
9557
|
+
@Offset = offset
|
9558
|
+
@Limit = limit
|
9559
|
+
end
|
9560
|
+
|
9561
|
+
def deserialize(params)
|
9562
|
+
unless params['Filters'].nil?
|
9563
|
+
@Filters = []
|
9564
|
+
params['Filters'].each do |i|
|
9565
|
+
filters_tmp = Filters.new
|
9566
|
+
filters_tmp.deserialize(i)
|
9567
|
+
@Filters << filters_tmp
|
9568
|
+
end
|
9569
|
+
end
|
9570
|
+
@Offset = params['Offset']
|
9571
|
+
@Limit = params['Limit']
|
9572
|
+
end
|
9573
|
+
end
|
9574
|
+
|
9575
|
+
# DescribeJavaMemShellList返回参数结构体
|
9576
|
+
class DescribeJavaMemShellListResponse < TencentCloud::Common::AbstractModel
|
9577
|
+
# @param List: 事件列表
|
9578
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
9579
|
+
# @type List: Array
|
9580
|
+
# @param TotalCount: 总数
|
9581
|
+
# @type TotalCount: Integer
|
9582
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
9583
|
+
# @type RequestId: String
|
9584
|
+
|
9585
|
+
attr_accessor :List, :TotalCount, :RequestId
|
9586
|
+
|
9587
|
+
def initialize(list=nil, totalcount=nil, requestid=nil)
|
9588
|
+
@List = list
|
9589
|
+
@TotalCount = totalcount
|
9590
|
+
@RequestId = requestid
|
9591
|
+
end
|
9592
|
+
|
9593
|
+
def deserialize(params)
|
9594
|
+
unless params['List'].nil?
|
9595
|
+
@List = []
|
9596
|
+
params['List'].each do |i|
|
9597
|
+
javamemshellinfo_tmp = JavaMemShellInfo.new
|
9598
|
+
javamemshellinfo_tmp.deserialize(i)
|
9599
|
+
@List << javamemshellinfo_tmp
|
9600
|
+
end
|
9601
|
+
end
|
9602
|
+
@TotalCount = params['TotalCount']
|
9603
|
+
@RequestId = params['RequestId']
|
9604
|
+
end
|
9605
|
+
end
|
9606
|
+
|
9273
9607
|
# DescribeLicenseBindList请求参数结构体
|
9274
9608
|
class DescribeLicenseBindListRequest < TencentCloud::Common::AbstractModel
|
9275
9609
|
# @param LicenseId: 授权ID
|
@@ -15648,6 +15982,56 @@ module TencentCloud
|
|
15648
15982
|
end
|
15649
15983
|
end
|
15650
15984
|
|
15985
|
+
# java内存马事件信息
|
15986
|
+
class JavaMemShellInfo < TencentCloud::Common::AbstractModel
|
15987
|
+
# @param Id: 事件ID
|
15988
|
+
# @type Id: Integer
|
15989
|
+
# @param Alias: 服务器名称
|
15990
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
15991
|
+
# @type Alias: String
|
15992
|
+
# @param HostIp: 服务器IP
|
15993
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
15994
|
+
# @type HostIp: String
|
15995
|
+
# @param Type: 内存马类型 0:Filter型 1:Listener型 2:Servlet型 3:Interceptors型 4:Agent型 5:其他
|
15996
|
+
# @type Type: Integer
|
15997
|
+
# @param Description: 说明
|
15998
|
+
# @type Description: String
|
15999
|
+
# @param CreateTime: 首次发现时间
|
16000
|
+
# @type CreateTime: String
|
16001
|
+
# @param RecentFoundTime: 最近检测时间
|
16002
|
+
# @type RecentFoundTime: String
|
16003
|
+
# @param Status: 处理状态 0 -- 待处理 1 -- 已加白 2 -- 已删除 3 - 已忽略 4 - 已手动处理
|
16004
|
+
# @type Status: Integer
|
16005
|
+
# @param Quuid: 服务器quuid
|
16006
|
+
# @type Quuid: String
|
16007
|
+
|
16008
|
+
attr_accessor :Id, :Alias, :HostIp, :Type, :Description, :CreateTime, :RecentFoundTime, :Status, :Quuid
|
16009
|
+
|
16010
|
+
def initialize(id=nil, _alias=nil, hostip=nil, type=nil, description=nil, createtime=nil, recentfoundtime=nil, status=nil, quuid=nil)
|
16011
|
+
@Id = id
|
16012
|
+
@Alias = _alias
|
16013
|
+
@HostIp = hostip
|
16014
|
+
@Type = type
|
16015
|
+
@Description = description
|
16016
|
+
@CreateTime = createtime
|
16017
|
+
@RecentFoundTime = recentfoundtime
|
16018
|
+
@Status = status
|
16019
|
+
@Quuid = quuid
|
16020
|
+
end
|
16021
|
+
|
16022
|
+
def deserialize(params)
|
16023
|
+
@Id = params['Id']
|
16024
|
+
@Alias = params['Alias']
|
16025
|
+
@HostIp = params['HostIp']
|
16026
|
+
@Type = params['Type']
|
16027
|
+
@Description = params['Description']
|
16028
|
+
@CreateTime = params['CreateTime']
|
16029
|
+
@RecentFoundTime = params['RecentFoundTime']
|
16030
|
+
@Status = params['Status']
|
16031
|
+
@Quuid = params['Quuid']
|
16032
|
+
end
|
16033
|
+
end
|
16034
|
+
|
15651
16035
|
# 授权绑定详情信息
|
15652
16036
|
class LicenseBindDetail < TencentCloud::Common::AbstractModel
|
15653
16037
|
# @param MachineName: 机器别名
|
@@ -16555,6 +16939,58 @@ module TencentCloud
|
|
16555
16939
|
end
|
16556
16940
|
end
|
16557
16941
|
|
16942
|
+
# ModifyBaselinePolicy请求参数结构体
|
16943
|
+
class ModifyBaselinePolicyRequest < TencentCloud::Common::AbstractModel
|
16944
|
+
# @param Data: 无
|
16945
|
+
# @type Data: :class:`Tencentcloud::Cwp.v20180228.models.BaselinePolicy`
|
16946
|
+
# @param Filters: <li>RuleName - String - 是否必填:否 - 规则名称</li>
|
16947
|
+
# <li>CategoryId - int64 - 是否必填:否 自定义筛选为-1 - 规则分类</li>
|
16948
|
+
# <li>RuleType - int - 是否必填:否 0:系统 1:自定义 - 规则类型</li>
|
16949
|
+
# @type Filters: Array
|
16950
|
+
# @param SelectAll: 是否按照过滤的全选
|
16951
|
+
# @type SelectAll: Integer
|
16952
|
+
|
16953
|
+
attr_accessor :Data, :Filters, :SelectAll
|
16954
|
+
|
16955
|
+
def initialize(data=nil, filters=nil, selectall=nil)
|
16956
|
+
@Data = data
|
16957
|
+
@Filters = filters
|
16958
|
+
@SelectAll = selectall
|
16959
|
+
end
|
16960
|
+
|
16961
|
+
def deserialize(params)
|
16962
|
+
unless params['Data'].nil?
|
16963
|
+
@Data = BaselinePolicy.new
|
16964
|
+
@Data.deserialize(params['Data'])
|
16965
|
+
end
|
16966
|
+
unless params['Filters'].nil?
|
16967
|
+
@Filters = []
|
16968
|
+
params['Filters'].each do |i|
|
16969
|
+
filter_tmp = Filter.new
|
16970
|
+
filter_tmp.deserialize(i)
|
16971
|
+
@Filters << filter_tmp
|
16972
|
+
end
|
16973
|
+
end
|
16974
|
+
@SelectAll = params['SelectAll']
|
16975
|
+
end
|
16976
|
+
end
|
16977
|
+
|
16978
|
+
# ModifyBaselinePolicy返回参数结构体
|
16979
|
+
class ModifyBaselinePolicyResponse < TencentCloud::Common::AbstractModel
|
16980
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
16981
|
+
# @type RequestId: String
|
16982
|
+
|
16983
|
+
attr_accessor :RequestId
|
16984
|
+
|
16985
|
+
def initialize(requestid=nil)
|
16986
|
+
@RequestId = requestid
|
16987
|
+
end
|
16988
|
+
|
16989
|
+
def deserialize(params)
|
16990
|
+
@RequestId = params['RequestId']
|
16991
|
+
end
|
16992
|
+
end
|
16993
|
+
|
16558
16994
|
# ModifyBruteAttackRules请求参数结构体
|
16559
16995
|
class ModifyBruteAttackRulesRequest < TencentCloud::Common::AbstractModel
|
16560
16996
|
# @param Rules: 暴力破解判断规则
|
@@ -18452,6 +18888,38 @@ module TencentCloud
|
|
18452
18888
|
end
|
18453
18889
|
end
|
18454
18890
|
|
18891
|
+
# StopBaselineDetect请求参数结构体
|
18892
|
+
class StopBaselineDetectRequest < TencentCloud::Common::AbstractModel
|
18893
|
+
# @param TaskIds: 取消任务ID集合
|
18894
|
+
# @type TaskIds: Array
|
18895
|
+
|
18896
|
+
attr_accessor :TaskIds
|
18897
|
+
|
18898
|
+
def initialize(taskids=nil)
|
18899
|
+
@TaskIds = taskids
|
18900
|
+
end
|
18901
|
+
|
18902
|
+
def deserialize(params)
|
18903
|
+
@TaskIds = params['TaskIds']
|
18904
|
+
end
|
18905
|
+
end
|
18906
|
+
|
18907
|
+
# StopBaselineDetect返回参数结构体
|
18908
|
+
class StopBaselineDetectResponse < TencentCloud::Common::AbstractModel
|
18909
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
18910
|
+
# @type RequestId: String
|
18911
|
+
|
18912
|
+
attr_accessor :RequestId
|
18913
|
+
|
18914
|
+
def initialize(requestid=nil)
|
18915
|
+
@RequestId = requestid
|
18916
|
+
end
|
18917
|
+
|
18918
|
+
def deserialize(params)
|
18919
|
+
@RequestId = params['RequestId']
|
18920
|
+
end
|
18921
|
+
end
|
18922
|
+
|
18455
18923
|
# StopNoticeBanTips请求参数结构体
|
18456
18924
|
class StopNoticeBanTipsRequest < TencentCloud::Common::AbstractModel
|
18457
18925
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tencentcloud-sdk-cwp
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.433
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-10-
|
11
|
+
date: 2022-10-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|