tencentcloud-sdk-cwp 3.0.932 → 3.0.934

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: af81532393acb768eb36f5b07159e8ba39e88991
4
- data.tar.gz: c5c086ae74537680ed220ab06509241fe3bf6b71
3
+ metadata.gz: 31039c6500f45f1211f5a3e944a9200603e0c60b
4
+ data.tar.gz: 17a6af6dd0a324463d069ed8258ab8027002f637
5
5
  SHA512:
6
- metadata.gz: c3c8edfd458b3b78231aed5d0695dae001372dbb6ee380677a307ac20a9ec39aef7d092b055cb6266eb259a4f06c23e638dda64e77e8660745d643260983107b
7
- data.tar.gz: e4d29462e51cefdd62854c4f1b5605046ad6833b8f6d9c53869bb1d5a96c9f8c52cce73ee4c95f26d7de02ed1b1a4ff2cde6e01ba879eebe0dad04c202cc957b
6
+ metadata.gz: f06888adc6fd07a9bd8237fecbc0e9c4069f821409428e2c86ca499ffdea038a58bfa55561d4e31139b66e3b45bb62664f065bb48870a1e69501393db504cc32
7
+ data.tar.gz: 0b992d30891f41a9fb1d559963fb5812c39568591dd7cfb1b89b3578b11963a7a05a711a0020439a17a13540ce0040edf94bb4aef698e034836bcfb33511f205
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.932
1
+ 3.0.934
@@ -2938,6 +2938,8 @@ module TencentCloud
2938
2938
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2939
2939
  end
2940
2940
 
2941
+ # DescribeAttackEvents 代替
2942
+
2941
2943
  # 按分页形式展示网络攻击日志列表
2942
2944
 
2943
2945
  # @param request: Request instance for DescribeAttackLogs.
@@ -1308,7 +1308,7 @@ module TencentCloud
1308
1308
  # @type EndTime: String
1309
1309
  # @param CoreVersion: 内核版本
1310
1310
  # @type CoreVersion: String
1311
- # @param OsType: linux/windows
1311
+ # @param OsType: Linux/Windows
1312
1312
  # @type OsType: String
1313
1313
  # @param AgentVersion: agent版本
1314
1314
  # @type AgentVersion: String
@@ -4774,8 +4774,8 @@ module TencentCloud
4774
4774
 
4775
4775
  attr_accessor :Id, :Uuid, :Name, :Level, :Rule, :Decription, :Operator, :IsGlobal, :Status, :CreateTime, :ModifyTime, :Hostip, :Uuids, :White, :DealOldEvents, :Description
4776
4776
  extend Gem::Deprecate
4777
- deprecate :Decription, :none, 2024, 10
4778
- deprecate :Decription=, :none, 2024, 10
4777
+ deprecate :Decription, :none, 2024, 11
4778
+ deprecate :Decription=, :none, 2024, 11
4779
4779
 
4780
4780
  def initialize(id=nil, uuid=nil, name=nil, level=nil, rule=nil, decription=nil, operator=nil, isglobal=nil, status=nil, createtime=nil, modifytime=nil, hostip=nil, uuids=nil, white=nil, dealoldevents=nil, description=nil)
4781
4781
  @Id = id
@@ -17505,7 +17505,7 @@ module TencentCloud
17505
17505
  # @type DiskSize: Integer
17506
17506
  # @param Username: 用户名
17507
17507
  # @type Username: String
17508
- # @param DeliverTypeDetails: xx
17508
+ # @param DeliverTypeDetails: 投递类型细节
17509
17509
  # @type DeliverTypeDetails: Array
17510
17510
  # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
17511
17511
  # @type RequestId: String
@@ -27485,22 +27485,7 @@ module TencentCloud
27485
27485
  class ExportAssetUserListRequest < TencentCloud::Common::AbstractModel
27486
27486
  # @param Quuid: 查询指定Quuid主机的信息
27487
27487
  # @type Quuid: String
27488
- # @param Filters: 过滤条件。
27489
- # <li>Name - String - 是否必填:否 - 账户名</li>
27490
- # <li>Uid - uint64 - 是否必填:否 - Uid</li>
27491
- # <li>Guid - uint64 - 是否必填:否 - Guid</li>
27492
- # <li>LoginTimeStart - String - 是否必填:否 - 开始时间,如:2021-01-11</li>
27493
- # <li>LoginTimeEnd - String - 是否必填:否 - 结束时间,如:2021-01-11</li>
27494
- # <li>LoginType - uint64 - 是否必填:否 - 0-不可登录;1-只允许key登录;2只允许密码登录;3-允许key和密码 仅linux</li>
27495
- # <li>OsType - String - 是否必填:否 - windows或linux</li>
27496
- # <li>Status - uint64 - 是否必填:否 - 账号状态:0-禁用;1-启用</li>
27497
- # <li>Type - uint64 - 是否必填:否 - 账号类型:0访客用户,1标准用户,2管理员用户 仅windows</li>
27498
- # <li>IsDomain - uint64 - 是否必填:否 - 是否域账号:0 不是,1是 仅windows
27499
- # <li>IsRoot - uint64 - 是否必填:否 - 是否Root权限:0 不是,1是 仅linux
27500
- # <li>IsSudo - uint64 - 是否必填:否 - 是否Sudo权限:0 不是,1是 仅linux</li>
27501
- # <li>IsSshLogin - uint64 - 是否必填:否 - 是否ssh登录:0 不是,1是 仅linux</li>
27502
- # <li>ShellLoginStatus - uint64 - 是否必填:否 - 是否shell登录性,0不是;1是 仅linux</li>
27503
- # <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>
27504
27489
  # @type Filters: Array
27505
27490
  # @param Order: 排序方式,asc升序 或 desc降序
27506
27491
  # @type Order: String
@@ -28492,8 +28477,8 @@ module TencentCloud
28492
28477
 
28493
28478
  attr_accessor :Filters, :Fileds, :Fields
28494
28479
  extend Gem::Deprecate
28495
- deprecate :Fileds, :none, 2024, 10
28496
- deprecate :Fileds=, :none, 2024, 10
28480
+ deprecate :Fileds, :none, 2024, 11
28481
+ deprecate :Fileds=, :none, 2024, 11
28497
28482
 
28498
28483
  def initialize(filters=nil, fileds=nil, fields=nil)
28499
28484
  @Filters = filters
@@ -31442,7 +31427,7 @@ module TencentCloud
31442
31427
  # @param MachineExtraInfo: 主机额外信息
31443
31428
  # 注意:此字段可能返回 null,表示取不到有效值。
31444
31429
  # @type MachineExtraInfo: :class:`Tencentcloud::Cwp.v20180228.models.MachineExtraInfo`
31445
- # @param MachineState: 实例状态:RUNNING,STOPPED,SHUTDOWN...
31430
+ # @param MachineState: agent状态:OFFLINE,ONLINE
31446
31431
  # @type MachineState: String
31447
31432
 
31448
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
@@ -32504,31 +32489,51 @@ module TencentCloud
32504
32489
  class MachineLicenseDetail < TencentCloud::Common::AbstractModel
32505
32490
  # @param Quuid: 主机quuid
32506
32491
  # @type Quuid: String
32507
- # @param PayMode: xx
32492
+ # @param PayMode: 计费模式, 0 按量计费 , 1 预付费
32508
32493
  # @type PayMode: Integer
32509
- # @param ResourceId: xxx
32494
+ # @param ResourceId: 资源ID
32510
32495
  # @type ResourceId: String
32511
- # @param InquireKey: xxx
32512
- # @type InquireKey: String
32513
- # @param SourceType: xxx
32496
+ # @param LicenseType: 授权类型
32497
+ # @type LicenseType: Integer
32498
+ # @param SourceType: 订单类型,0 默认计费订单 1 试用订单, 2 赠送 3 体验
32514
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
32515
32510
 
32516
- attr_accessor :Quuid, :PayMode, :ResourceId, :InquireKey, :SourceType
32511
+ attr_accessor :Quuid, :PayMode, :ResourceId, :LicenseType, :SourceType, :InquireKey, :AutoRenewFlag, :Deadline, :BuyTime, :LicenseCnt
32517
32512
 
32518
- def initialize(quuid=nil, paymode=nil, resourceid=nil, inquirekey=nil, sourcetype=nil)
32513
+ def initialize(quuid=nil, paymode=nil, resourceid=nil, licensetype=nil, sourcetype=nil, inquirekey=nil, autorenewflag=nil, deadline=nil, buytime=nil, licensecnt=nil)
32519
32514
  @Quuid = quuid
32520
32515
  @PayMode = paymode
32521
32516
  @ResourceId = resourceid
32522
- @InquireKey = inquirekey
32517
+ @LicenseType = licensetype
32523
32518
  @SourceType = sourcetype
32519
+ @InquireKey = inquirekey
32520
+ @AutoRenewFlag = autorenewflag
32521
+ @Deadline = deadline
32522
+ @BuyTime = buytime
32523
+ @LicenseCnt = licensecnt
32524
32524
  end
32525
32525
 
32526
32526
  def deserialize(params)
32527
32527
  @Quuid = params['Quuid']
32528
32528
  @PayMode = params['PayMode']
32529
32529
  @ResourceId = params['ResourceId']
32530
- @InquireKey = params['InquireKey']
32530
+ @LicenseType = params['LicenseType']
32531
32531
  @SourceType = params['SourceType']
32532
+ @InquireKey = params['InquireKey']
32533
+ @AutoRenewFlag = params['AutoRenewFlag']
32534
+ @Deadline = params['Deadline']
32535
+ @BuyTime = params['BuyTime']
32536
+ @LicenseCnt = params['LicenseCnt']
32532
32537
  end
32533
32538
  end
32534
32539
 
@@ -32724,9 +32729,9 @@ module TencentCloud
32724
32729
  # @type Uuid: String
32725
32730
  # @param FilePath: 路径
32726
32731
  # @type FilePath: String
32727
- # @param VirusName: 描述
32732
+ # @param VirusName: 病毒名称
32728
32733
  # @type VirusName: String
32729
- # @param Status: 状态;4-:待处理,5-已信任,6-已隔离,8-文件已删除, 14:已处理
32734
+ # @param Status: 状态;4-:待处理,5-已信任,6-已隔离,8-文件已删除, 14:已处理,13-已加白
32730
32735
  # @type Status: Integer
32731
32736
  # @param Id: 唯一ID
32732
32737
  # 注意:此字段可能返回 null,表示取不到有效值。
@@ -34340,21 +34345,25 @@ module TencentCloud
34340
34345
  # @type IsModifyPeriod: Boolean
34341
34346
  # @param Type: 存储类型,string数组
34342
34347
  # @type Type: Array
34343
- # @param Period: 日志存储天数,3640表示不限
34348
+ # @param Period: 日志存储时长,3640表示不限
34344
34349
  # @type Period: Integer
34350
+ # @param Granularity: 日志存储时长单位,年year/月month/天day
34351
+ # @type Granularity: String
34345
34352
 
34346
- attr_accessor :IsModifyPeriod, :Type, :Period
34353
+ attr_accessor :IsModifyPeriod, :Type, :Period, :Granularity
34347
34354
 
34348
- def initialize(ismodifyperiod=nil, type=nil, period=nil)
34355
+ def initialize(ismodifyperiod=nil, type=nil, period=nil, granularity=nil)
34349
34356
  @IsModifyPeriod = ismodifyperiod
34350
34357
  @Type = type
34351
34358
  @Period = period
34359
+ @Granularity = granularity
34352
34360
  end
34353
34361
 
34354
34362
  def deserialize(params)
34355
34363
  @IsModifyPeriod = params['IsModifyPeriod']
34356
34364
  @Type = params['Type']
34357
34365
  @Period = params['Period']
34366
+ @Granularity = params['Granularity']
34358
34367
  end
34359
34368
  end
34360
34369
 
@@ -35133,7 +35142,7 @@ module TencentCloud
35133
35142
 
35134
35143
  # ModifyRiskEventsStatus请求参数结构体
35135
35144
  class ModifyRiskEventsStatusRequest < TencentCloud::Common::AbstractModel
35136
- # @param Operate: 操作-0:标记已处理,1:忽略,2:删除记录,3:木马隔离,4:木马恢复隔离,5:木马信任,6:木马取消信任,7:查杀异常进程
35145
+ # @param Operate: 操作-0:标记已处理,1:忽略,2:删除记录,3:木马隔离,4:木马恢复隔离,5:木马信任,6:木马取消信任,7:查杀异常进程,8:加入白名单
35137
35146
  # @type Operate: Integer
35138
35147
  # @param RiskType: 操作事件类型,文件查杀:MALWARE,异常登录:HOST_LOGIN,密码破解:BRUTE_ATTACK,恶意请求:MALICIOUS_REQUEST,高危命令:BASH_EVENT,本地提权:PRIVILEGE_EVENT,反弹shell:REVERSE_SHELL. 异常进程:PROCESS
35139
35148
  # @type RiskType: String
@@ -35163,10 +35172,13 @@ module TencentCloud
35163
35172
  # <li>EndTime - String - 是否必填:否 - 进程启动时间-结束</li>
35164
35173
  # <li>Status - String - 是否必填:否 - 状态筛选 0待处理;1查杀中;2已查杀3已退出;4已信任</li>
35165
35174
  # @type Filters: Array
35175
+ # @param DoClean: 当Operate 是木马隔离时
35176
+ # <li> 本操作会修复被篡改的系统命令,计划任务等系统文件,操作中请确保yum/apt 可用。</li>
35177
+ # @type DoClean: Boolean
35166
35178
 
35167
- attr_accessor :Operate, :RiskType, :Ids, :UpdateAll, :ExcludeId, :KillProcess, :Ip, :Filters
35179
+ attr_accessor :Operate, :RiskType, :Ids, :UpdateAll, :ExcludeId, :KillProcess, :Ip, :Filters, :DoClean
35168
35180
 
35169
- 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)
35170
35182
  @Operate = operate
35171
35183
  @RiskType = risktype
35172
35184
  @Ids = ids
@@ -35175,6 +35187,7 @@ module TencentCloud
35175
35187
  @KillProcess = killprocess
35176
35188
  @Ip = ip
35177
35189
  @Filters = filters
35190
+ @DoClean = doclean
35178
35191
  end
35179
35192
 
35180
35193
  def deserialize(params)
@@ -35193,6 +35206,7 @@ module TencentCloud
35193
35206
  @Filters << filters_tmp
35194
35207
  end
35195
35208
  end
35209
+ @DoClean = params['DoClean']
35196
35210
  end
35197
35211
  end
35198
35212
 
@@ -38832,7 +38846,7 @@ module TencentCloud
38832
38846
  # @type Uuid: String
38833
38847
  # @param Quuid: 唯一Quuid
38834
38848
  # @type Quuid: String
38835
- # @param Status: 状态码
38849
+ # @param Status: 状态码Scanning、Ok、Fail
38836
38850
  # @type Status: String
38837
38851
  # @param Description: 描述
38838
38852
  # @type Description: String
@@ -41463,10 +41477,13 @@ module TencentCloud
41463
41477
  # @type PublishTime: String
41464
41478
  # @param VulId: 漏洞id
41465
41479
  # @type VulId: Integer
41480
+ # @param Status: 状态,0:防御中,1:已加白,指的是在白名单列表中有这个漏洞的,不一定是全局型白名单
41481
+ # 注意:此字段可能返回 null,表示取不到有效值。
41482
+ # @type Status: Integer
41466
41483
 
41467
- attr_accessor :VulName, :Label, :Level, :CvssScore, :CveId, :PublishTime, :VulId
41484
+ attr_accessor :VulName, :Label, :Level, :CvssScore, :CveId, :PublishTime, :VulId, :Status
41468
41485
 
41469
- 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)
41470
41487
  @VulName = vulname
41471
41488
  @Label = label
41472
41489
  @Level = level
@@ -41474,6 +41491,7 @@ module TencentCloud
41474
41491
  @CveId = cveid
41475
41492
  @PublishTime = publishtime
41476
41493
  @VulId = vulid
41494
+ @Status = status
41477
41495
  end
41478
41496
 
41479
41497
  def deserialize(params)
@@ -41484,6 +41502,7 @@ module TencentCloud
41484
41502
  @CveId = params['CveId']
41485
41503
  @PublishTime = params['PublishTime']
41486
41504
  @VulId = params['VulId']
41505
+ @Status = params['Status']
41487
41506
  end
41488
41507
  end
41489
41508
 
@@ -41906,7 +41925,7 @@ module TencentCloud
41906
41925
  class VulInfoByCveId < TencentCloud::Common::AbstractModel
41907
41926
  # @param VulId: 漏洞id
41908
41927
  # @type VulId: Integer
41909
- # @param FixSwitch: 修复支持情况:0-windows/linux均不支持修复 ;1-windows/linux 均支持修复 ;2-仅linux支持修复;3-仅windows支持修复
41928
+ # @param FixSwitch: 修复支持情况:0-Windows/Linux均不支持修复 ;1-Windows/Linux 均支持修复 ;2-仅Linux支持修复;3-仅Windows支持修复
41910
41929
  # @type FixSwitch: Integer
41911
41930
 
41912
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.932
4
+ version: 3.0.934
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-29 00:00:00.000000000 Z
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