tencentcloud-sdk-cwp 3.0.583 → 3.0.584

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 2db7f1641ebbfd6b116b17d1a29ebad59397f4b7
4
- data.tar.gz: 9b4d8831186695ce8cef4c1b29f45b72b35a309a
3
+ metadata.gz: 58905d0f334a653068b017b3b448445dfbac02a6
4
+ data.tar.gz: d9ac91811180cea5030a8264b505b01844d6b236
5
5
  SHA512:
6
- metadata.gz: 4e9ef9d5a60a6d7b1694d2443685d56abd79a885d71d8da2f132167334e0297820ffffdba23ffb7f1f9624e5e32d768d0bb3ca6901d84925977edaa6eb1e3ec9
7
- data.tar.gz: f369b7521cf5b4463383a35358e528aee44b65c9acb971ba5710b79fdd1563ef856d480240c8a637ab6b73789234314661441456d00e9c283dd12427580043d4
6
+ metadata.gz: be1bff8855bd8ba4e4b2a05ba4a8831e9e8514dcc201b8e9f2914e1d612c3d04d339d2e86285254186adda6c71b19ce31358ac6c84918224f9989187d46c96e7
7
+ data.tar.gz: 7b0b9f6fcb82705f52e45e28d04644592839369e1a71e280b5cbea2ba8aa6b338e6b1fbb7097fa94e8c1c3e1f434f5f0ef3f9f6ca5899fdef881a409fe3c0094
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.583
1
+ 3.0.584
@@ -4064,32 +4064,6 @@ module TencentCloud
4064
4064
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
4065
4065
  end
4066
4066
 
4067
- # 下线
4068
-
4069
- # 更新或者插入用户告警设置(该接口废弃,请调用 ModifyWarningSetting )
4070
-
4071
- # @param request: Request instance for DescribeSaveOrUpdateWarnings.
4072
- # @type request: :class:`Tencentcloud::cwp::V20180228::DescribeSaveOrUpdateWarningsRequest`
4073
- # @rtype: :class:`Tencentcloud::cwp::V20180228::DescribeSaveOrUpdateWarningsResponse`
4074
- def DescribeSaveOrUpdateWarnings(request)
4075
- body = send_request('DescribeSaveOrUpdateWarnings', request.serialize)
4076
- response = JSON.parse(body)
4077
- if response['Response'].key?('Error') == false
4078
- model = DescribeSaveOrUpdateWarningsResponse.new
4079
- model.deserialize(response['Response'])
4080
- model
4081
- else
4082
- code = response['Response']['Error']['Code']
4083
- message = response['Response']['Error']['Message']
4084
- reqid = response['Response']['RequestId']
4085
- raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
4086
- end
4087
- rescue TencentCloud::Common::TencentCloudSDKException => e
4088
- raise e
4089
- rescue StandardError => e
4090
- raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
4091
- end
4092
-
4093
4067
  # 查询木马扫描进度
4094
4068
 
4095
4069
  # @param request: Request instance for DescribeScanMalwareSchedule.
@@ -4788,6 +4762,30 @@ module TencentCloud
4788
4762
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
4789
4763
  end
4790
4764
 
4765
+ # 获取漏洞库列表
4766
+
4767
+ # @param request: Request instance for DescribeVulStoreList.
4768
+ # @type request: :class:`Tencentcloud::cwp::V20180228::DescribeVulStoreListRequest`
4769
+ # @rtype: :class:`Tencentcloud::cwp::V20180228::DescribeVulStoreListResponse`
4770
+ def DescribeVulStoreList(request)
4771
+ body = send_request('DescribeVulStoreList', request.serialize)
4772
+ response = JSON.parse(body)
4773
+ if response['Response'].key?('Error') == false
4774
+ model = DescribeVulStoreListResponse.new
4775
+ model.deserialize(response['Response'])
4776
+ model
4777
+ else
4778
+ code = response['Response']['Error']['Code']
4779
+ message = response['Response']['Error']['Message']
4780
+ reqid = response['Response']['RequestId']
4781
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
4782
+ end
4783
+ rescue TencentCloud::Common::TencentCloudSDKException => e
4784
+ raise e
4785
+ rescue StandardError => e
4786
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
4787
+ end
4788
+
4791
4789
  # 漏洞top统计
4792
4790
 
4793
4791
  # @param request: Request instance for DescribeVulTop.
@@ -14492,45 +14492,6 @@ module TencentCloud
14492
14492
  end
14493
14493
  end
14494
14494
 
14495
- # DescribeSaveOrUpdateWarnings请求参数结构体
14496
- class DescribeSaveOrUpdateWarningsRequest < TencentCloud::Common::AbstractModel
14497
- # @param WarningObjects: 告警设置的修改内容
14498
- # @type WarningObjects: Array
14499
-
14500
- attr_accessor :WarningObjects
14501
-
14502
- def initialize(warningobjects=nil)
14503
- @WarningObjects = warningobjects
14504
- end
14505
-
14506
- def deserialize(params)
14507
- unless params['WarningObjects'].nil?
14508
- @WarningObjects = []
14509
- params['WarningObjects'].each do |i|
14510
- warningobject_tmp = WarningObject.new
14511
- warningobject_tmp.deserialize(i)
14512
- @WarningObjects << warningobject_tmp
14513
- end
14514
- end
14515
- end
14516
- end
14517
-
14518
- # DescribeSaveOrUpdateWarnings返回参数结构体
14519
- class DescribeSaveOrUpdateWarningsResponse < TencentCloud::Common::AbstractModel
14520
- # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
14521
- # @type RequestId: String
14522
-
14523
- attr_accessor :RequestId
14524
-
14525
- def initialize(requestid=nil)
14526
- @RequestId = requestid
14527
- end
14528
-
14529
- def deserialize(params)
14530
- @RequestId = params['RequestId']
14531
- end
14532
- end
14533
-
14534
14495
  # DescribeScanMalwareSchedule请求参数结构体
14535
14496
  class DescribeScanMalwareScheduleRequest < TencentCloud::Common::AbstractModel
14536
14497
 
@@ -16489,6 +16450,90 @@ module TencentCloud
16489
16450
  end
16490
16451
  end
16491
16452
 
16453
+ # DescribeVulStoreList请求参数结构体
16454
+ class DescribeVulStoreListRequest < TencentCloud::Common::AbstractModel
16455
+ # @param Filters: <li>VulName- string - 是否必填:否 - 漏洞名称</li>
16456
+ # <li>CveId- string - 是否必填:否 - cveid</li>
16457
+ # <li>VulCategory- string - 是否必填:否 - 漏洞分类 1 Web-CMS漏洞 ,2 应用漏洞 ,4 Linux软件漏洞,5 Windows系统漏洞</li>
16458
+ # <li>Method- string - 是否必填:否 - 检测方法 0版本对比,1 poc检测 </li>
16459
+ # <li>SupportDefense- string - 是否必填:否 - 是否支持防御 0不支持,1支持</li>
16460
+ # <li>FixSwitch- string - 是否必填:否 - 是否支持自动修复 0不支持,1支持</li>
16461
+ # @type Filters: Array
16462
+ # @param Limit: 限制条数,默认10,最大100
16463
+ # @type Limit: Integer
16464
+ # @param Offset: 偏移量,默认0
16465
+ # @type Offset: Integer
16466
+ # @param Order: 排序方式: [ASC:升序|DESC:降序]
16467
+ # @type Order: String
16468
+ # @param By: 可选排序列: [PublishDate]
16469
+ # @type By: String
16470
+
16471
+ attr_accessor :Filters, :Limit, :Offset, :Order, :By
16472
+
16473
+ def initialize(filters=nil, limit=nil, offset=nil, order=nil, by=nil)
16474
+ @Filters = filters
16475
+ @Limit = limit
16476
+ @Offset = offset
16477
+ @Order = order
16478
+ @By = by
16479
+ end
16480
+
16481
+ def deserialize(params)
16482
+ unless params['Filters'].nil?
16483
+ @Filters = []
16484
+ params['Filters'].each do |i|
16485
+ filter_tmp = Filter.new
16486
+ filter_tmp.deserialize(i)
16487
+ @Filters << filter_tmp
16488
+ end
16489
+ end
16490
+ @Limit = params['Limit']
16491
+ @Offset = params['Offset']
16492
+ @Order = params['Order']
16493
+ @By = params['By']
16494
+ end
16495
+ end
16496
+
16497
+ # DescribeVulStoreList返回参数结构体
16498
+ class DescribeVulStoreListResponse < TencentCloud::Common::AbstractModel
16499
+ # @param List: 漏洞信息
16500
+ # 注意:此字段可能返回 null,表示取不到有效值。
16501
+ # @type List: Array
16502
+ # @param TotalCount: 总数
16503
+ # @type TotalCount: Integer
16504
+ # @param Remaining: 今日剩余搜索此时
16505
+ # @type Remaining: Integer
16506
+ # @param FreeSearchTimes: 免费搜索次数
16507
+ # @type FreeSearchTimes: Integer
16508
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
16509
+ # @type RequestId: String
16510
+
16511
+ attr_accessor :List, :TotalCount, :Remaining, :FreeSearchTimes, :RequestId
16512
+
16513
+ def initialize(list=nil, totalcount=nil, remaining=nil, freesearchtimes=nil, requestid=nil)
16514
+ @List = list
16515
+ @TotalCount = totalcount
16516
+ @Remaining = remaining
16517
+ @FreeSearchTimes = freesearchtimes
16518
+ @RequestId = requestid
16519
+ end
16520
+
16521
+ def deserialize(params)
16522
+ unless params['List'].nil?
16523
+ @List = []
16524
+ params['List'].each do |i|
16525
+ vulstorelistinfo_tmp = VulStoreListInfo.new
16526
+ vulstorelistinfo_tmp.deserialize(i)
16527
+ @List << vulstorelistinfo_tmp
16528
+ end
16529
+ end
16530
+ @TotalCount = params['TotalCount']
16531
+ @Remaining = params['Remaining']
16532
+ @FreeSearchTimes = params['FreeSearchTimes']
16533
+ @RequestId = params['RequestId']
16534
+ end
16535
+ end
16536
+
16492
16537
  # DescribeVulTop请求参数结构体
16493
16538
  class DescribeVulTopRequest < TencentCloud::Common::AbstractModel
16494
16539
  # @param Top: 漏洞风险服务器top,1-100
@@ -24441,6 +24486,60 @@ module TencentCloud
24441
24486
  end
24442
24487
  end
24443
24488
 
24489
+ # 漏洞仓库列表信息
24490
+ class VulStoreListInfo < TencentCloud::Common::AbstractModel
24491
+ # @param VulId: 漏洞ID
24492
+ # @type VulId: Integer
24493
+ # @param Level: 漏洞级别
24494
+ # @type Level: Integer
24495
+ # @param Name: 漏洞名称
24496
+ # @type Name: String
24497
+ # @param CveId: cve编号
24498
+ # @type CveId: String
24499
+ # @param VulCategory: 1: web-cms漏洞 2:应用漏洞 4: Linux软件漏洞 5: Windows系统漏洞 0= 应急漏洞
24500
+ # @type VulCategory: Integer
24501
+ # @param PublishDate: 发布时间
24502
+ # @type PublishDate: String
24503
+ # @param Method: 漏洞检测方法 0 - 版本比对, 1 - POC验证
24504
+ # @type Method: Integer
24505
+ # @param AttackLevel: 漏洞攻击热度
24506
+ # @type AttackLevel: Integer
24507
+ # @param FixSwitch: 漏洞是否支持自动修复
24508
+ # 0-windows/linux均关闭; 1-windows/linux均打开; 2-仅linux; 3-仅windows
24509
+ # @type FixSwitch: Integer
24510
+ # @param SupportDefense: 漏洞是否支持防御
24511
+ # 0:不支持 1:支持
24512
+ # @type SupportDefense: Integer
24513
+
24514
+ attr_accessor :VulId, :Level, :Name, :CveId, :VulCategory, :PublishDate, :Method, :AttackLevel, :FixSwitch, :SupportDefense
24515
+
24516
+ def initialize(vulid=nil, level=nil, name=nil, cveid=nil, vulcategory=nil, publishdate=nil, method=nil, attacklevel=nil, fixswitch=nil, supportdefense=nil)
24517
+ @VulId = vulid
24518
+ @Level = level
24519
+ @Name = name
24520
+ @CveId = cveid
24521
+ @VulCategory = vulcategory
24522
+ @PublishDate = publishdate
24523
+ @Method = method
24524
+ @AttackLevel = attacklevel
24525
+ @FixSwitch = fixswitch
24526
+ @SupportDefense = supportdefense
24527
+ end
24528
+
24529
+ def deserialize(params)
24530
+ @VulId = params['VulId']
24531
+ @Level = params['Level']
24532
+ @Name = params['Name']
24533
+ @CveId = params['CveId']
24534
+ @VulCategory = params['VulCategory']
24535
+ @PublishDate = params['PublishDate']
24536
+ @Method = params['Method']
24537
+ @AttackLevel = params['AttackLevel']
24538
+ @FixSwitch = params['FixSwitch']
24539
+ @SupportDefense = params['SupportDefense']
24540
+ end
24541
+ end
24542
+
24444
24543
  # 漏洞top统计实体
24445
24544
  class VulTopInfo < TencentCloud::Common::AbstractModel
24446
24545
  # @param VulName: 漏洞 名
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.583
4
+ version: 3.0.584
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-02 00:00:00.000000000 Z
11
+ date: 2023-06-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common