tencentcloud-sdk-cwp 3.0.1000 → 3.0.1002
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/v20180228/client.rb +0 -26
- data/lib/v20180228/models.rb +0 -91
- 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: f64dba5ef103fbe09b5bcb209bb59f9e6f4a9923
|
4
|
+
data.tar.gz: 8c4cba64b65388ebfa98b7a626d8e3665746ad07
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2b5fd19f2dda620fa83f65afb67e462a50988051c7f6c2c8edc8f2ad3e40e785c07a5e65b40a9a022b3faf60b93f91725846473717121027398d1174c11d2c89
|
7
|
+
data.tar.gz: ada4bfdee1014a73632ae02cb09db9bfea6c6bded85869c312bb59bf577c0f55377ffa1728556c870b365b59f2b285ce736beccbb0b73a5afdb2e31d13fd3fcf
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.1002
|
data/lib/v20180228/client.rb
CHANGED
@@ -7400,32 +7400,6 @@ module TencentCloud
|
|
7400
7400
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
7401
7401
|
end
|
7402
7402
|
|
7403
|
-
# 接口已无效
|
7404
|
-
|
7405
|
-
# 获取安全防护状态汇总
|
7406
|
-
|
7407
|
-
# @param request: Request instance for DescribeSecurityProtectionStat.
|
7408
|
-
# @type request: :class:`Tencentcloud::cwp::V20180228::DescribeSecurityProtectionStatRequest`
|
7409
|
-
# @rtype: :class:`Tencentcloud::cwp::V20180228::DescribeSecurityProtectionStatResponse`
|
7410
|
-
def DescribeSecurityProtectionStat(request)
|
7411
|
-
body = send_request('DescribeSecurityProtectionStat', request.serialize)
|
7412
|
-
response = JSON.parse(body)
|
7413
|
-
if response['Response'].key?('Error') == false
|
7414
|
-
model = DescribeSecurityProtectionStatResponse.new
|
7415
|
-
model.deserialize(response['Response'])
|
7416
|
-
model
|
7417
|
-
else
|
7418
|
-
code = response['Response']['Error']['Code']
|
7419
|
-
message = response['Response']['Error']['Message']
|
7420
|
-
reqid = response['Response']['RequestId']
|
7421
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
7422
|
-
end
|
7423
|
-
rescue TencentCloud::Common::TencentCloudSDKException => e
|
7424
|
-
raise e
|
7425
|
-
rescue StandardError => e
|
7426
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
7427
|
-
end
|
7428
|
-
|
7429
7403
|
# 本接口 (DescribeSecurityTrends) 用于获取安全事件统计数据。
|
7430
7404
|
|
7431
7405
|
# @param request: Request instance for DescribeSecurityTrends.
|
data/lib/v20180228/models.rb
CHANGED
@@ -22401,97 +22401,6 @@ module TencentCloud
|
|
22401
22401
|
end
|
22402
22402
|
end
|
22403
22403
|
|
22404
|
-
# DescribeSecurityProtectionStat请求参数结构体
|
22405
|
-
class DescribeSecurityProtectionStatRequest < TencentCloud::Common::AbstractModel
|
22406
|
-
|
22407
|
-
|
22408
|
-
def initialize()
|
22409
|
-
end
|
22410
|
-
|
22411
|
-
def deserialize(params)
|
22412
|
-
end
|
22413
|
-
end
|
22414
|
-
|
22415
|
-
# DescribeSecurityProtectionStat返回参数结构体
|
22416
|
-
class DescribeSecurityProtectionStatResponse < TencentCloud::Common::AbstractModel
|
22417
|
-
# @param AssetManageStat: 0 :0付费资产情况, 1:存在未安装agent情况 ,2:部分资产已是专业版/旗舰版, 3:全部资产已是专业版/旗舰版
|
22418
|
-
# @type AssetManageStat: Integer
|
22419
|
-
# @param VulManageStat: 0:从未检测过,或0资产付费情况, 1:存在漏洞风险, 2:无风险
|
22420
|
-
# @type VulManageStat: Integer
|
22421
|
-
# @param SecureBasicLineStat: 0:从未检测过,或0资产付费情况, 1:存在基线风险,2:无风险
|
22422
|
-
# @type SecureBasicLineStat: Integer
|
22423
|
-
# @param MalwareScanStat: 0:从未检测过,或0资产付费情况, 1:已检测,存在恶意文件, 2:已检测,未开启隔离防护, 3:已检测且已开启防护且无风险
|
22424
|
-
# @type MalwareScanStat: Integer
|
22425
|
-
# @param DefenseBruteAttackStat: 密码破解是否开启防护 0:未开启防护或0付费资产情况 1:已开启防护 2:存在带处理事件
|
22426
|
-
# @type DefenseBruteAttackStat: Integer
|
22427
|
-
# @param FileTamperStat: 核心文件监控 0:未开启防护(0付费资产情况),1: 已开通
|
22428
|
-
# @type FileTamperStat: Integer
|
22429
|
-
# @param WebPageStat: 网页防篡改 0:未开通, 1:已开通
|
22430
|
-
# @type WebPageStat: Integer
|
22431
|
-
# @param LoginLogStat: 异常登录 0:存在未处理风险,1:无风险,未配置白名单,2:无风险,已配置
|
22432
|
-
# @type LoginLogStat: Integer
|
22433
|
-
# @param DiscoverBruteAttackStat: 检测--密码破解有无存在风险 0:存在未处理风险, 1:无风险,正常检测
|
22434
|
-
# @type DiscoverBruteAttackStat: Integer
|
22435
|
-
# @param MaliciousRequestStat: 恶意请求 0 : 0台开通专业版/旗舰版, 1: 恶意请求 存在未处理风险, 2:已有付费资产,无风险
|
22436
|
-
# @type MaliciousRequestStat: Integer
|
22437
|
-
# @param PrivilegeStat: 本地提权 0:0台开通专业版/旗舰版, 1:存在未处理风险 2:已有付费资产,无风险
|
22438
|
-
# @type PrivilegeStat: Integer
|
22439
|
-
# @param ReverseShellStat: 反弹shell 0:0台开通专业版/旗舰版, 1:存在未处理风险 2:已有付费资产,无风险
|
22440
|
-
# @type ReverseShellStat: Integer
|
22441
|
-
# @param ExpertServiceStat: 专家服务 0:未开通服务, 1:已开通
|
22442
|
-
# @type ExpertServiceStat: Integer
|
22443
|
-
# @param LogAnalysisStat: 日志分析 0:未开通服务, 1:已开通
|
22444
|
-
# @type LogAnalysisStat: Integer
|
22445
|
-
# @param WarningSetStat: 安全告警 0:未开通设置(全部关闭) 1:已开通(只要开启1个就算)
|
22446
|
-
# @type WarningSetStat: Integer
|
22447
|
-
# @param EventBashStat: 高危命令,0:0台开通专业版/旗舰版, 1:存在未处理风险, 2:已有付费资产,无风险
|
22448
|
-
# @type EventBashStat: Integer
|
22449
|
-
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
22450
|
-
# @type RequestId: String
|
22451
|
-
|
22452
|
-
attr_accessor :AssetManageStat, :VulManageStat, :SecureBasicLineStat, :MalwareScanStat, :DefenseBruteAttackStat, :FileTamperStat, :WebPageStat, :LoginLogStat, :DiscoverBruteAttackStat, :MaliciousRequestStat, :PrivilegeStat, :ReverseShellStat, :ExpertServiceStat, :LogAnalysisStat, :WarningSetStat, :EventBashStat, :RequestId
|
22453
|
-
|
22454
|
-
def initialize(assetmanagestat=nil, vulmanagestat=nil, securebasiclinestat=nil, malwarescanstat=nil, defensebruteattackstat=nil, filetamperstat=nil, webpagestat=nil, loginlogstat=nil, discoverbruteattackstat=nil, maliciousrequeststat=nil, privilegestat=nil, reverseshellstat=nil, expertservicestat=nil, loganalysisstat=nil, warningsetstat=nil, eventbashstat=nil, requestid=nil)
|
22455
|
-
@AssetManageStat = assetmanagestat
|
22456
|
-
@VulManageStat = vulmanagestat
|
22457
|
-
@SecureBasicLineStat = securebasiclinestat
|
22458
|
-
@MalwareScanStat = malwarescanstat
|
22459
|
-
@DefenseBruteAttackStat = defensebruteattackstat
|
22460
|
-
@FileTamperStat = filetamperstat
|
22461
|
-
@WebPageStat = webpagestat
|
22462
|
-
@LoginLogStat = loginlogstat
|
22463
|
-
@DiscoverBruteAttackStat = discoverbruteattackstat
|
22464
|
-
@MaliciousRequestStat = maliciousrequeststat
|
22465
|
-
@PrivilegeStat = privilegestat
|
22466
|
-
@ReverseShellStat = reverseshellstat
|
22467
|
-
@ExpertServiceStat = expertservicestat
|
22468
|
-
@LogAnalysisStat = loganalysisstat
|
22469
|
-
@WarningSetStat = warningsetstat
|
22470
|
-
@EventBashStat = eventbashstat
|
22471
|
-
@RequestId = requestid
|
22472
|
-
end
|
22473
|
-
|
22474
|
-
def deserialize(params)
|
22475
|
-
@AssetManageStat = params['AssetManageStat']
|
22476
|
-
@VulManageStat = params['VulManageStat']
|
22477
|
-
@SecureBasicLineStat = params['SecureBasicLineStat']
|
22478
|
-
@MalwareScanStat = params['MalwareScanStat']
|
22479
|
-
@DefenseBruteAttackStat = params['DefenseBruteAttackStat']
|
22480
|
-
@FileTamperStat = params['FileTamperStat']
|
22481
|
-
@WebPageStat = params['WebPageStat']
|
22482
|
-
@LoginLogStat = params['LoginLogStat']
|
22483
|
-
@DiscoverBruteAttackStat = params['DiscoverBruteAttackStat']
|
22484
|
-
@MaliciousRequestStat = params['MaliciousRequestStat']
|
22485
|
-
@PrivilegeStat = params['PrivilegeStat']
|
22486
|
-
@ReverseShellStat = params['ReverseShellStat']
|
22487
|
-
@ExpertServiceStat = params['ExpertServiceStat']
|
22488
|
-
@LogAnalysisStat = params['LogAnalysisStat']
|
22489
|
-
@WarningSetStat = params['WarningSetStat']
|
22490
|
-
@EventBashStat = params['EventBashStat']
|
22491
|
-
@RequestId = params['RequestId']
|
22492
|
-
end
|
22493
|
-
end
|
22494
|
-
|
22495
22404
|
# DescribeSecurityTrends请求参数结构体
|
22496
22405
|
class DescribeSecurityTrendsRequest < TencentCloud::Common::AbstractModel
|
22497
22406
|
# @param BeginDate: 开始时间,如:2021-07-10
|
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.1002
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2025-02-
|
11
|
+
date: 2025-02-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|