tencentcloud-sdk-cwp 3.0.931 → 3.0.933
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 +2 -0
- data/lib/v20180228/models.rb +102 -53
- 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: 9920dc47f6dce38948db6a87fe68792bcd41bc92
|
|
4
|
+
data.tar.gz: fd6dee8b1a6bb22054567d8907e0a8678d720367
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 1587e50f4a412403803b0a63a10efc78d9bdd94508b18721f8e066860ba18ce44fe8e5684daaf6c938fd9b158605c25e17eed0e34ba9888e3a3eba91144706a7
|
|
7
|
+
data.tar.gz: 2719fd1996c0ca77de1585f12b5ec4e623d90d7667ab056256f21aa976a9af14965a8a9f1c01dba30f20c2d9e00ae4d4445d496405c2e88b495fbd32c3f7e4a4
|
data/lib/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
3.0.
|
|
1
|
+
3.0.933
|
data/lib/v20180228/client.rb
CHANGED
data/lib/v20180228/models.rb
CHANGED
|
@@ -1308,7 +1308,7 @@ module TencentCloud
|
|
|
1308
1308
|
# @type EndTime: String
|
|
1309
1309
|
# @param CoreVersion: 内核版本
|
|
1310
1310
|
# @type CoreVersion: String
|
|
1311
|
-
# @param OsType:
|
|
1311
|
+
# @param OsType: Linux/Windows
|
|
1312
1312
|
# @type OsType: String
|
|
1313
1313
|
# @param AgentVersion: agent版本
|
|
1314
1314
|
# @type AgentVersion: String
|
|
@@ -4941,6 +4941,8 @@ module TencentCloud
|
|
|
4941
4941
|
# 83-不阻断(已加白名单)
|
|
4942
4942
|
# 86-不阻断(系统白名单)
|
|
4943
4943
|
# 87-不阻断(客户端离线)
|
|
4944
|
+
# 88-不阻断(来源Ip归属相同客户)
|
|
4945
|
+
# 89-不阻断(ipv6不支持阻断)
|
|
4944
4946
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
4945
4947
|
# @type BanStatus: Integer
|
|
4946
4948
|
# @param EventType: 事件类型:200-暴力破解事件,300-暴力破解成功事件(页面展示),400-暴力破解不存在的帐号事件
|
|
@@ -14593,7 +14595,13 @@ module TencentCloud
|
|
|
14593
14595
|
# @param Offset: 偏移量,默认为0。
|
|
14594
14596
|
# @type Offset: Integer
|
|
14595
14597
|
# @param Filters: 过滤条件。
|
|
14596
|
-
# <li>
|
|
14598
|
+
# <li>Name - String - 是否必填:否 - 规则名称</li>
|
|
14599
|
+
# <li>Rule - String - 是否必填:否 - 规则内容</li>
|
|
14600
|
+
# <li>Level - Int - 是否必填:否 - 威胁等级</li>
|
|
14601
|
+
# <li>White - Int - 是否必填:否 - 白名单类型</li>
|
|
14602
|
+
# <li>RuleCategory - Int - 是否必填:否 - 策略类型</li>
|
|
14603
|
+
# <li>BashAction - Int - 是否必填:否 - 操作动作</li>
|
|
14604
|
+
# <li>Status - Int - 是否必填:否 - 生效状态</li>
|
|
14597
14605
|
# @type Filters: Array
|
|
14598
14606
|
|
|
14599
14607
|
attr_accessor :Type, :Limit, :Offset, :Filters
|
|
@@ -14668,7 +14676,9 @@ module TencentCloud
|
|
|
14668
14676
|
# <li>CreateEndTime - String - 是否必填:否 - 首次攻击时间筛选,结束时间</li>
|
|
14669
14677
|
# <li>ModifyBeginTime - String - 是否必填:否 - 最近攻击时间筛选,开始时间</li>
|
|
14670
14678
|
# <li>ModifyEndTime - String - 是否必填:否 - 最近攻击时间筛选,结束时间</li>
|
|
14671
|
-
# <li>Banned - String - 是否必填:否 - 阻断状态筛选,多个用","分割:0-未阻断(全局ZK开关关闭),82-未阻断(非专业版),83-未阻断(已加白名单),1
|
|
14679
|
+
# <li>Banned - String - 是否必填:否 - 阻断状态筛选,多个用","分割:0-未阻断(全局ZK开关关闭),82-未阻断(非专业版),83-未阻断(已加白名单),1-阻断成功(已完成),2-未阻断-程序异常,3-未阻断-内网攻击暂不支持阻断,4-未阻断-安平暂不支持阻断,10-阻断成功(生效中)</li>
|
|
14680
|
+
# <li>DataFrom - Int - 命中规则:0-登录规则,1-情报规则</li>
|
|
14681
|
+
# <li>EventType - String - 是否必填:否 - 破解状态筛选:200-破解失败(密码错误),300-破解成功,400-破解失败(账号不存在)</li>
|
|
14672
14682
|
# @type Filters: Array
|
|
14673
14683
|
# @param Order: 排序方式:根据请求次数排序:asc-升序/desc-降序
|
|
14674
14684
|
# @type Order: String
|
|
@@ -17495,7 +17505,7 @@ module TencentCloud
|
|
|
17495
17505
|
# @type DiskSize: Integer
|
|
17496
17506
|
# @param Username: 用户名
|
|
17497
17507
|
# @type Username: String
|
|
17498
|
-
# @param DeliverTypeDetails:
|
|
17508
|
+
# @param DeliverTypeDetails: 投递类型细节
|
|
17499
17509
|
# @type DeliverTypeDetails: Array
|
|
17500
17510
|
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
17501
17511
|
# @type RequestId: String
|
|
@@ -17699,11 +17709,7 @@ module TencentCloud
|
|
|
17699
17709
|
# @type Limit: Integer
|
|
17700
17710
|
# @param Offset: 偏移量,默认为0。
|
|
17701
17711
|
# @type Offset: Integer
|
|
17702
|
-
# @param Filters:
|
|
17703
|
-
# <li>IpOrAlias - String - 是否必填:否 - 主机ip或别名筛选</li>
|
|
17704
|
-
# <li>UserName - String - 是否必填:否 - 用户名筛选</li>
|
|
17705
|
-
# <li>ModifyBeginTime - String - 是否必填:否 - 按照修改时间段筛选,开始时间</li>
|
|
17706
|
-
# <li>ModifyEndTime - String - 是否必填:否 - 按照修改时间段筛选,结束时间</li>
|
|
17712
|
+
# @param Filters: 过滤条件。<li>IpOrAlias - String - 是否必填:否 - 主机ip或别名筛选</li><li>UserName - String - 是否必填:否 - 用户名筛选</li><li>SrcIP - String - 是否必填:否 - 来源IP筛选</li><li>Location - String - 是否必填:否 - 登录地筛选</li><li>ModifyBeginTime - String - 是否必填:否 - 按照修改时间段筛选,开始时间</li><li>ModifyEndTime - String - 是否必填:否 - 按照修改时间段筛选,结束时间</li>
|
|
17707
17713
|
# @type Filters: Array
|
|
17708
17714
|
|
|
17709
17715
|
attr_accessor :Limit, :Offset, :Filters
|
|
@@ -22765,7 +22771,7 @@ module TencentCloud
|
|
|
22765
22771
|
# @type BeginDate: String
|
|
22766
22772
|
# @param EndDate: 筛选发布日期:结束时间
|
|
22767
22773
|
# @type EndDate: String
|
|
22768
|
-
# @param BroadcastType: 过滤安全播报类型:0-紧急通知,1-功能更新,2-行业荣誉,3-版本发布,4
|
|
22774
|
+
# @param BroadcastType: 过滤安全播报类型:0-紧急通知,1-功能更新,2-行业荣誉,3-版本发布,4-实践教程
|
|
22769
22775
|
# @type BroadcastType: String
|
|
22770
22776
|
|
|
22771
22777
|
attr_accessor :Offset, :Limit, :BeginDate, :EndDate, :BroadcastType
|
|
@@ -24710,7 +24716,7 @@ module TencentCloud
|
|
|
24710
24716
|
# @type FixSuccessCnt: Integer
|
|
24711
24717
|
# @param FixFailCnt: 修复失败的主机数
|
|
24712
24718
|
# @type FixFailCnt: Integer
|
|
24713
|
-
# @param HostCnt:
|
|
24719
|
+
# @param HostCnt: 主机总数
|
|
24714
24720
|
# @type HostCnt: Integer
|
|
24715
24721
|
# @param FixId: 修复的任务id
|
|
24716
24722
|
# @type FixId: Integer
|
|
@@ -24722,7 +24728,7 @@ module TencentCloud
|
|
|
24722
24728
|
# @type VulFixList: Array
|
|
24723
24729
|
# @param SnapshotProgress: 快照创建进度0-100
|
|
24724
24730
|
# @type SnapshotProgress: Integer
|
|
24725
|
-
# @param FixProgress:
|
|
24731
|
+
# @param FixProgress: 修复进度 0-100
|
|
24726
24732
|
# @type FixProgress: Integer
|
|
24727
24733
|
# @param RemainingTime: 预计剩余时间(单位秒)
|
|
24728
24734
|
# @type RemainingTime: Integer
|
|
@@ -26177,10 +26183,20 @@ module TencentCloud
|
|
|
26177
26183
|
# @type EventId: Integer
|
|
26178
26184
|
# @param DealOldEvents: 是否处理旧事件为白名单 0=不处理 1=处理
|
|
26179
26185
|
# @type DealOldEvents: Integer
|
|
26186
|
+
# @param Descript: 策略描述
|
|
26187
|
+
# @type Descript: String
|
|
26188
|
+
# @param Status: 生效与否 0:不生效 1:生效
|
|
26189
|
+
# @type Status: Integer
|
|
26190
|
+
# @param BashAction: 0:告警 1:白名单 2:拦截
|
|
26191
|
+
# @type BashAction: Integer
|
|
26192
|
+
# @param Scope: 生效范围(0:一组quuid 1:所有专业版 2:所有专业版+旗舰版 3:所有主机)
|
|
26193
|
+
# @type Scope: Integer
|
|
26194
|
+
# @param Quuids: 生效主机的QUUID集合
|
|
26195
|
+
# @type Quuids: Array
|
|
26180
26196
|
|
|
26181
|
-
attr_accessor :Id, :Uuids, :HostIp, :Name, :Level, :Rule, :IsGlobal, :White, :EventId, :DealOldEvents
|
|
26197
|
+
attr_accessor :Id, :Uuids, :HostIp, :Name, :Level, :Rule, :IsGlobal, :White, :EventId, :DealOldEvents, :Descript, :Status, :BashAction, :Scope, :Quuids
|
|
26182
26198
|
|
|
26183
|
-
def initialize(id=nil, uuids=nil, hostip=nil, name=nil, level=nil, rule=nil, isglobal=nil, white=nil, eventid=nil, dealoldevents=nil)
|
|
26199
|
+
def initialize(id=nil, uuids=nil, hostip=nil, name=nil, level=nil, rule=nil, isglobal=nil, white=nil, eventid=nil, dealoldevents=nil, descript=nil, status=nil, bashaction=nil, scope=nil, quuids=nil)
|
|
26184
26200
|
@Id = id
|
|
26185
26201
|
@Uuids = uuids
|
|
26186
26202
|
@HostIp = hostip
|
|
@@ -26191,6 +26207,11 @@ module TencentCloud
|
|
|
26191
26207
|
@White = white
|
|
26192
26208
|
@EventId = eventid
|
|
26193
26209
|
@DealOldEvents = dealoldevents
|
|
26210
|
+
@Descript = descript
|
|
26211
|
+
@Status = status
|
|
26212
|
+
@BashAction = bashaction
|
|
26213
|
+
@Scope = scope
|
|
26214
|
+
@Quuids = quuids
|
|
26194
26215
|
end
|
|
26195
26216
|
|
|
26196
26217
|
def deserialize(params)
|
|
@@ -26204,6 +26225,11 @@ module TencentCloud
|
|
|
26204
26225
|
@White = params['White']
|
|
26205
26226
|
@EventId = params['EventId']
|
|
26206
26227
|
@DealOldEvents = params['DealOldEvents']
|
|
26228
|
+
@Descript = params['Descript']
|
|
26229
|
+
@Status = params['Status']
|
|
26230
|
+
@BashAction = params['BashAction']
|
|
26231
|
+
@Scope = params['Scope']
|
|
26232
|
+
@Quuids = params['Quuids']
|
|
26207
26233
|
end
|
|
26208
26234
|
end
|
|
26209
26235
|
|
|
@@ -27459,22 +27485,7 @@ module TencentCloud
|
|
|
27459
27485
|
class ExportAssetUserListRequest < TencentCloud::Common::AbstractModel
|
|
27460
27486
|
# @param Quuid: 查询指定Quuid主机的信息
|
|
27461
27487
|
# @type Quuid: String
|
|
27462
|
-
# @param Filters:
|
|
27463
|
-
# <li>Name - String - 是否必填:否 - 账户名</li>
|
|
27464
|
-
# <li>Uid - uint64 - 是否必填:否 - Uid</li>
|
|
27465
|
-
# <li>Guid - uint64 - 是否必填:否 - Guid</li>
|
|
27466
|
-
# <li>LoginTimeStart - String - 是否必填:否 - 开始时间,如:2021-01-11</li>
|
|
27467
|
-
# <li>LoginTimeEnd - String - 是否必填:否 - 结束时间,如:2021-01-11</li>
|
|
27468
|
-
# <li>LoginType - uint64 - 是否必填:否 - 0-不可登录;1-只允许key登录;2只允许密码登录;3-允许key和密码 仅linux</li>
|
|
27469
|
-
# <li>OsType - String - 是否必填:否 - windows或linux</li>
|
|
27470
|
-
# <li>Status - uint64 - 是否必填:否 - 账号状态:0-禁用;1-启用</li>
|
|
27471
|
-
# <li>Type - uint64 - 是否必填:否 - 账号类型:0访客用户,1标准用户,2管理员用户 仅windows</li>
|
|
27472
|
-
# <li>IsDomain - uint64 - 是否必填:否 - 是否域账号:0 不是,1是 仅windows
|
|
27473
|
-
# <li>IsRoot - uint64 - 是否必填:否 - 是否Root权限:0 不是,1是 仅linux
|
|
27474
|
-
# <li>IsSudo - uint64 - 是否必填:否 - 是否Sudo权限:0 不是,1是 仅linux</li>
|
|
27475
|
-
# <li>IsSshLogin - uint64 - 是否必填:否 - 是否ssh登录:0 不是,1是 仅linux</li>
|
|
27476
|
-
# <li>ShellLoginStatus - uint64 - 是否必填:否 - 是否shell登录性,0不是;1是 仅linux</li>
|
|
27477
|
-
# <li>PasswordStatus - uint64 - 是否必填:否 - 密码状态:1正常 2即将过期 3已过期 4已锁定 仅linux</li>
|
|
27488
|
+
# @param Filters: 过滤条件。<li>Name - String - 是否必填:否 - 账户名</li> <li>Uid - uint64 - 是否必填:否 - Uid</li><li>Guid - uint64 - 是否必填:否 - Guid</li> <li>LoginTimeStart - String - 是否必填:否 - 开始时间,如:2021-01-11</li><li>LoginTimeEnd - String - 是否必填:否 - 结束时间,如:2021-01-11</li> <li>LoginType - uint64 - 是否必填:否 - 0-不可登录;1-只允许key登录;2只允许密码登录;3-允许key和密码 仅linux</li> <li>OsType - String - 是否必填:否 - windows或linux</li><li>Status - uint64 - 是否必填:否 - 账号状态:0-禁用;1-启用</li> <li>Type - uint64 - 是否必填:否 - 账号类型:0访客用户,1标准用户,2管理员用户 仅windows</li> <li>IsDomain - uint64 - 是否必填:否 - 是否域账号:0 不是,1是 仅windows</li> <li>IsRoot - uint64 - 是否必填:否 - 是否Root权限:0 不是,1是 仅linux</li> <li>IsSudo - uint64 - 是否必填:否 - 是否Sudo权限:0 不是,1是 仅linux</li> <li>IsSshLogin - uint64 - 是否必填:否 - 是否ssh登录:0 不是,1是 仅linux</li> <li>ShellLoginStatus - uint64 - 是否必填:否 - 是否shell登录性,0不是;1是 仅linux</li> <li>PasswordStatus - uint64 - 是否必填:否 - 密码状态:1正常 2即将过期 3已过期 4已锁定 仅linux</li>
|
|
27478
27489
|
# @type Filters: Array
|
|
27479
27490
|
# @param Order: 排序方式,asc升序 或 desc降序
|
|
27480
27491
|
# @type Order: String
|
|
@@ -31416,7 +31427,7 @@ module TencentCloud
|
|
|
31416
31427
|
# @param MachineExtraInfo: 主机额外信息
|
|
31417
31428
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
31418
31429
|
# @type MachineExtraInfo: :class:`Tencentcloud::Cwp.v20180228.models.MachineExtraInfo`
|
|
31419
|
-
# @param MachineState:
|
|
31430
|
+
# @param MachineState: agent状态:OFFLINE,ONLINE
|
|
31420
31431
|
# @type MachineState: String
|
|
31421
31432
|
|
|
31422
31433
|
attr_accessor :InstanceName, :InstanceState, :PrivateIp, :PublicIp, :Type, :Description, :CreateTime, :RecentFoundTime, :Status, :ClassLoaderName, :SuperClassName, :Md5, :Interfaces, :Annotations, :Pid, :Exe, :Args, :ClassName, :ClassContent, :ClassContentPretty, :EventDescription, :SecurityAdvice, :MachineExtraInfo, :MachineState
|
|
@@ -32478,31 +32489,51 @@ module TencentCloud
|
|
|
32478
32489
|
class MachineLicenseDetail < TencentCloud::Common::AbstractModel
|
|
32479
32490
|
# @param Quuid: 主机quuid
|
|
32480
32491
|
# @type Quuid: String
|
|
32481
|
-
# @param PayMode:
|
|
32492
|
+
# @param PayMode: 计费模式, 0 按量计费 , 1 预付费
|
|
32482
32493
|
# @type PayMode: Integer
|
|
32483
|
-
# @param ResourceId:
|
|
32494
|
+
# @param ResourceId: 资源ID
|
|
32484
32495
|
# @type ResourceId: String
|
|
32485
|
-
# @param
|
|
32486
|
-
# @type
|
|
32487
|
-
# @param SourceType:
|
|
32496
|
+
# @param LicenseType: 授权类型
|
|
32497
|
+
# @type LicenseType: Integer
|
|
32498
|
+
# @param SourceType: 订单类型,0 默认计费订单 1 试用订单, 2 赠送 3 体验
|
|
32488
32499
|
# @type SourceType: Integer
|
|
32500
|
+
# @param InquireKey: 废弃字段,
|
|
32501
|
+
# @type InquireKey: String
|
|
32502
|
+
# @param AutoRenewFlag: 自动续费标识 0 默认不自动付费, 1 自动付费 2 手动设置不续费
|
|
32503
|
+
# @type AutoRenewFlag: Integer
|
|
32504
|
+
# @param Deadline: 到期时间,按量付费该值为空
|
|
32505
|
+
# @type Deadline: String
|
|
32506
|
+
# @param BuyTime: 购买时间
|
|
32507
|
+
# @type BuyTime: String
|
|
32508
|
+
# @param LicenseCnt: 授权数量
|
|
32509
|
+
# @type LicenseCnt: Integer
|
|
32489
32510
|
|
|
32490
|
-
attr_accessor :Quuid, :PayMode, :ResourceId, :InquireKey, :
|
|
32511
|
+
attr_accessor :Quuid, :PayMode, :ResourceId, :LicenseType, :SourceType, :InquireKey, :AutoRenewFlag, :Deadline, :BuyTime, :LicenseCnt
|
|
32491
32512
|
|
|
32492
|
-
def initialize(quuid=nil, paymode=nil, resourceid=nil,
|
|
32513
|
+
def initialize(quuid=nil, paymode=nil, resourceid=nil, licensetype=nil, sourcetype=nil, inquirekey=nil, autorenewflag=nil, deadline=nil, buytime=nil, licensecnt=nil)
|
|
32493
32514
|
@Quuid = quuid
|
|
32494
32515
|
@PayMode = paymode
|
|
32495
32516
|
@ResourceId = resourceid
|
|
32496
|
-
@
|
|
32517
|
+
@LicenseType = licensetype
|
|
32497
32518
|
@SourceType = sourcetype
|
|
32519
|
+
@InquireKey = inquirekey
|
|
32520
|
+
@AutoRenewFlag = autorenewflag
|
|
32521
|
+
@Deadline = deadline
|
|
32522
|
+
@BuyTime = buytime
|
|
32523
|
+
@LicenseCnt = licensecnt
|
|
32498
32524
|
end
|
|
32499
32525
|
|
|
32500
32526
|
def deserialize(params)
|
|
32501
32527
|
@Quuid = params['Quuid']
|
|
32502
32528
|
@PayMode = params['PayMode']
|
|
32503
32529
|
@ResourceId = params['ResourceId']
|
|
32504
|
-
@
|
|
32530
|
+
@LicenseType = params['LicenseType']
|
|
32505
32531
|
@SourceType = params['SourceType']
|
|
32532
|
+
@InquireKey = params['InquireKey']
|
|
32533
|
+
@AutoRenewFlag = params['AutoRenewFlag']
|
|
32534
|
+
@Deadline = params['Deadline']
|
|
32535
|
+
@BuyTime = params['BuyTime']
|
|
32536
|
+
@LicenseCnt = params['LicenseCnt']
|
|
32506
32537
|
end
|
|
32507
32538
|
end
|
|
32508
32539
|
|
|
@@ -32698,9 +32729,9 @@ module TencentCloud
|
|
|
32698
32729
|
# @type Uuid: String
|
|
32699
32730
|
# @param FilePath: 路径
|
|
32700
32731
|
# @type FilePath: String
|
|
32701
|
-
# @param VirusName:
|
|
32732
|
+
# @param VirusName: 病毒名称
|
|
32702
32733
|
# @type VirusName: String
|
|
32703
|
-
# @param Status: 状态;4-:待处理,5-已信任,6-已隔离,8-文件已删除, 14
|
|
32734
|
+
# @param Status: 状态;4-:待处理,5-已信任,6-已隔离,8-文件已删除, 14:已处理,13-已加白
|
|
32704
32735
|
# @type Status: Integer
|
|
32705
32736
|
# @param Id: 唯一ID
|
|
32706
32737
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
@@ -34314,21 +34345,25 @@ module TencentCloud
|
|
|
34314
34345
|
# @type IsModifyPeriod: Boolean
|
|
34315
34346
|
# @param Type: 存储类型,string数组
|
|
34316
34347
|
# @type Type: Array
|
|
34317
|
-
# @param Period:
|
|
34348
|
+
# @param Period: 日志存储时长,3640表示不限
|
|
34318
34349
|
# @type Period: Integer
|
|
34350
|
+
# @param Granularity: 日志存储时长单位,年year/月month/天day
|
|
34351
|
+
# @type Granularity: String
|
|
34319
34352
|
|
|
34320
|
-
attr_accessor :IsModifyPeriod, :Type, :Period
|
|
34353
|
+
attr_accessor :IsModifyPeriod, :Type, :Period, :Granularity
|
|
34321
34354
|
|
|
34322
|
-
def initialize(ismodifyperiod=nil, type=nil, period=nil)
|
|
34355
|
+
def initialize(ismodifyperiod=nil, type=nil, period=nil, granularity=nil)
|
|
34323
34356
|
@IsModifyPeriod = ismodifyperiod
|
|
34324
34357
|
@Type = type
|
|
34325
34358
|
@Period = period
|
|
34359
|
+
@Granularity = granularity
|
|
34326
34360
|
end
|
|
34327
34361
|
|
|
34328
34362
|
def deserialize(params)
|
|
34329
34363
|
@IsModifyPeriod = params['IsModifyPeriod']
|
|
34330
34364
|
@Type = params['Type']
|
|
34331
34365
|
@Period = params['Period']
|
|
34366
|
+
@Granularity = params['Granularity']
|
|
34332
34367
|
end
|
|
34333
34368
|
end
|
|
34334
34369
|
|
|
@@ -35107,7 +35142,7 @@ module TencentCloud
|
|
|
35107
35142
|
|
|
35108
35143
|
# ModifyRiskEventsStatus请求参数结构体
|
|
35109
35144
|
class ModifyRiskEventsStatusRequest < TencentCloud::Common::AbstractModel
|
|
35110
|
-
# @param Operate: 操作-0:标记已处理,1:忽略,2:删除记录,3:木马隔离,4:木马恢复隔离,5:木马信任,6:木马取消信任,7
|
|
35145
|
+
# @param Operate: 操作-0:标记已处理,1:忽略,2:删除记录,3:木马隔离,4:木马恢复隔离,5:木马信任,6:木马取消信任,7:查杀异常进程,8:加入白名单
|
|
35111
35146
|
# @type Operate: Integer
|
|
35112
35147
|
# @param RiskType: 操作事件类型,文件查杀:MALWARE,异常登录:HOST_LOGIN,密码破解:BRUTE_ATTACK,恶意请求:MALICIOUS_REQUEST,高危命令:BASH_EVENT,本地提权:PRIVILEGE_EVENT,反弹shell:REVERSE_SHELL. 异常进程:PROCESS
|
|
35113
35148
|
# @type RiskType: String
|
|
@@ -35137,10 +35172,13 @@ module TencentCloud
|
|
|
35137
35172
|
# <li>EndTime - String - 是否必填:否 - 进程启动时间-结束</li>
|
|
35138
35173
|
# <li>Status - String - 是否必填:否 - 状态筛选 0待处理;1查杀中;2已查杀3已退出;4已信任</li>
|
|
35139
35174
|
# @type Filters: Array
|
|
35175
|
+
# @param DoClean: 当Operate 是木马隔离时
|
|
35176
|
+
# <li> 本操作会修复被篡改的系统命令,计划任务等系统文件,操作中请确保yum/apt 可用。</li>
|
|
35177
|
+
# @type DoClean: Boolean
|
|
35140
35178
|
|
|
35141
|
-
attr_accessor :Operate, :RiskType, :Ids, :UpdateAll, :ExcludeId, :KillProcess, :Ip, :Filters
|
|
35179
|
+
attr_accessor :Operate, :RiskType, :Ids, :UpdateAll, :ExcludeId, :KillProcess, :Ip, :Filters, :DoClean
|
|
35142
35180
|
|
|
35143
|
-
def initialize(operate=nil, risktype=nil, ids=nil, updateall=nil, excludeid=nil, killprocess=nil, ip=nil, filters=nil)
|
|
35181
|
+
def initialize(operate=nil, risktype=nil, ids=nil, updateall=nil, excludeid=nil, killprocess=nil, ip=nil, filters=nil, doclean=nil)
|
|
35144
35182
|
@Operate = operate
|
|
35145
35183
|
@RiskType = risktype
|
|
35146
35184
|
@Ids = ids
|
|
@@ -35149,6 +35187,7 @@ module TencentCloud
|
|
|
35149
35187
|
@KillProcess = killprocess
|
|
35150
35188
|
@Ip = ip
|
|
35151
35189
|
@Filters = filters
|
|
35190
|
+
@DoClean = doclean
|
|
35152
35191
|
end
|
|
35153
35192
|
|
|
35154
35193
|
def deserialize(params)
|
|
@@ -35167,6 +35206,7 @@ module TencentCloud
|
|
|
35167
35206
|
@Filters << filters_tmp
|
|
35168
35207
|
end
|
|
35169
35208
|
end
|
|
35209
|
+
@DoClean = params['DoClean']
|
|
35170
35210
|
end
|
|
35171
35211
|
end
|
|
35172
35212
|
|
|
@@ -36249,12 +36289,16 @@ module TencentCloud
|
|
|
36249
36289
|
# 登录地信息
|
|
36250
36290
|
class Place < TencentCloud::Common::AbstractModel
|
|
36251
36291
|
# @param CityId: 城市 ID。
|
|
36292
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
36252
36293
|
# @type CityId: Integer
|
|
36253
36294
|
# @param ProvinceId: 省份 ID。
|
|
36295
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
36254
36296
|
# @type ProvinceId: Integer
|
|
36255
36297
|
# @param CountryId: 国家ID,暂只支持国内:1。
|
|
36298
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
36256
36299
|
# @type CountryId: Integer
|
|
36257
36300
|
# @param Location: 位置名称
|
|
36301
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
36258
36302
|
# @type Location: String
|
|
36259
36303
|
|
|
36260
36304
|
attr_accessor :CityId, :ProvinceId, :CountryId, :Location
|
|
@@ -37979,7 +38023,7 @@ module TencentCloud
|
|
|
37979
38023
|
# @type ParentProcGroup: String
|
|
37980
38024
|
# @param ParentProcPath: 父进程路径
|
|
37981
38025
|
# @type ParentProcPath: String
|
|
37982
|
-
# @param Status: 处理状态:0-待处理 2-白名单 3-已处理 4-已忽略
|
|
38026
|
+
# @param Status: 处理状态:0-待处理 2-白名单 3-已处理 4-已忽略 6-已拦截
|
|
37983
38027
|
# @type Status: Integer
|
|
37984
38028
|
# @param CreateTime: 产生时间
|
|
37985
38029
|
# @type CreateTime: String
|
|
@@ -38802,7 +38846,7 @@ module TencentCloud
|
|
|
38802
38846
|
# @type Uuid: String
|
|
38803
38847
|
# @param Quuid: 唯一Quuid
|
|
38804
38848
|
# @type Quuid: String
|
|
38805
|
-
# @param Status: 状态码
|
|
38849
|
+
# @param Status: 状态码Scanning、Ok、Fail
|
|
38806
38850
|
# @type Status: String
|
|
38807
38851
|
# @param Description: 描述
|
|
38808
38852
|
# @type Description: String
|
|
@@ -41433,10 +41477,13 @@ module TencentCloud
|
|
|
41433
41477
|
# @type PublishTime: String
|
|
41434
41478
|
# @param VulId: 漏洞id
|
|
41435
41479
|
# @type VulId: Integer
|
|
41480
|
+
# @param Status: 状态,0:防御中,1:已加白,指的是在白名单列表中有这个漏洞的,不一定是全局型白名单
|
|
41481
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
41482
|
+
# @type Status: Integer
|
|
41436
41483
|
|
|
41437
|
-
attr_accessor :VulName, :Label, :Level, :CvssScore, :CveId, :PublishTime, :VulId
|
|
41484
|
+
attr_accessor :VulName, :Label, :Level, :CvssScore, :CveId, :PublishTime, :VulId, :Status
|
|
41438
41485
|
|
|
41439
|
-
def initialize(vulname=nil, label=nil, level=nil, cvssscore=nil, cveid=nil, publishtime=nil, vulid=nil)
|
|
41486
|
+
def initialize(vulname=nil, label=nil, level=nil, cvssscore=nil, cveid=nil, publishtime=nil, vulid=nil, status=nil)
|
|
41440
41487
|
@VulName = vulname
|
|
41441
41488
|
@Label = label
|
|
41442
41489
|
@Level = level
|
|
@@ -41444,6 +41491,7 @@ module TencentCloud
|
|
|
41444
41491
|
@CveId = cveid
|
|
41445
41492
|
@PublishTime = publishtime
|
|
41446
41493
|
@VulId = vulid
|
|
41494
|
+
@Status = status
|
|
41447
41495
|
end
|
|
41448
41496
|
|
|
41449
41497
|
def deserialize(params)
|
|
@@ -41454,6 +41502,7 @@ module TencentCloud
|
|
|
41454
41502
|
@CveId = params['CveId']
|
|
41455
41503
|
@PublishTime = params['PublishTime']
|
|
41456
41504
|
@VulId = params['VulId']
|
|
41505
|
+
@Status = params['Status']
|
|
41457
41506
|
end
|
|
41458
41507
|
end
|
|
41459
41508
|
|
|
@@ -41876,7 +41925,7 @@ module TencentCloud
|
|
|
41876
41925
|
class VulInfoByCveId < TencentCloud::Common::AbstractModel
|
|
41877
41926
|
# @param VulId: 漏洞id
|
|
41878
41927
|
# @type VulId: Integer
|
|
41879
|
-
# @param FixSwitch: 修复支持情况:0-
|
|
41928
|
+
# @param FixSwitch: 修复支持情况:0-Windows/Linux均不支持修复 ;1-Windows/Linux 均支持修复 ;2-仅Linux支持修复;3-仅Windows支持修复
|
|
41880
41929
|
# @type FixSwitch: Integer
|
|
41881
41930
|
|
|
41882
41931
|
attr_accessor :VulId, :FixSwitch
|
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.933
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Tencent Cloud
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2024-10-
|
|
11
|
+
date: 2024-10-31 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: tencentcloud-sdk-common
|