tencentcloud-sdk-waf 3.0.694 → 3.0.696

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: bc15e20e2277af12f2dff912e0a36c639f9d9ba1
4
- data.tar.gz: b1f66131ed1cf735827f04d55ae4b0c008f1accf
3
+ metadata.gz: 477c975b3cafd9569b355916737093a059b67096
4
+ data.tar.gz: 2960a113ed2b2520905dd7b5932cbcc2c8474637
5
5
  SHA512:
6
- metadata.gz: 600a3e3102f14380be83e267578ec7f499cf044eeff0a4abe47f53906ce236c134df83643dbc3f8a2610bc89f0f98f1c5e9b9a80c5f299e4a260a263fee9d544
7
- data.tar.gz: 87a01278b95d95fce4926882039d1259612238254a214e77bfa3f38f8b37d4b9a79f7de7a98e4e1471195f29bd75171ec92046946dd5ad602e20787d43e7c890
6
+ metadata.gz: 8edbe1cb2e08ff8a16a7116ba5eabf6c894238d517665ce994448cd3985281dba7ea0cb435944142c135ce34040ad80b95c36ec36333abe262c4280bb01f3ac6
7
+ data.tar.gz: b5dbc650f4a74c36e92a033ab55153a6453e0f6dc6f4de3594bfde84bfdbe33e7ed18d6ba1925fb8bdd3440df4ade1e97355553dc945e1f129571f88fe96aace
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.694
1
+ 3.0.696
@@ -852,8 +852,6 @@ module TencentCloud
852
852
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
853
853
  end
854
854
 
855
- # 接口已废弃
856
-
857
855
  # 描述WAF自动封禁IP详情,对齐自动封堵状态
858
856
 
859
857
  # @param request: Request instance for DescribeAutoDenyIP.
@@ -3376,12 +3376,44 @@ module TencentCloud
3376
3376
 
3377
3377
  # DescribeCCRuleList请求参数结构体
3378
3378
  class DescribeCCRuleListRequest < TencentCloud::Common::AbstractModel
3379
+ # @param Domain: 需要查询的API所属的域名
3380
+ # @type Domain: String
3381
+ # @param Offset: 偏移
3382
+ # @type Offset: Integer
3383
+ # @param Limit: 容量
3384
+ # @type Limit: Integer
3385
+ # @param By: 目前支持根据ts_version排序
3386
+ # @type By: String
3387
+ # @param Filters: 过滤数组,name可以是如下的值: RuleID,ParamName,Url,Action,Method,Source,Status
3388
+ # @type Filters: Array
3389
+ # @param Order: asc或者desc
3390
+ # @type Order: String
3379
3391
 
3392
+ attr_accessor :Domain, :Offset, :Limit, :By, :Filters, :Order
3380
3393
 
3381
- def initialize()
3394
+ def initialize(domain=nil, offset=nil, limit=nil, by=nil, filters=nil, order=nil)
3395
+ @Domain = domain
3396
+ @Offset = offset
3397
+ @Limit = limit
3398
+ @By = by
3399
+ @Filters = filters
3400
+ @Order = order
3382
3401
  end
3383
3402
 
3384
3403
  def deserialize(params)
3404
+ @Domain = params['Domain']
3405
+ @Offset = params['Offset']
3406
+ @Limit = params['Limit']
3407
+ @By = params['By']
3408
+ unless params['Filters'].nil?
3409
+ @Filters = []
3410
+ params['Filters'].each do |i|
3411
+ filtersitemnew_tmp = FiltersItemNew.new
3412
+ filtersitemnew_tmp.deserialize(i)
3413
+ @Filters << filtersitemnew_tmp
3414
+ end
3415
+ end
3416
+ @Order = params['Order']
3385
3417
  end
3386
3418
  end
3387
3419
 
@@ -4715,27 +4747,56 @@ module TencentCloud
4715
4747
 
4716
4748
  # DescribeModuleStatus请求参数结构体
4717
4749
  class DescribeModuleStatusRequest < TencentCloud::Common::AbstractModel
4750
+ # @param Domain: 要查询状态的域名
4751
+ # @type Domain: String
4718
4752
 
4753
+ attr_accessor :Domain
4719
4754
 
4720
- def initialize()
4755
+ def initialize(domain=nil)
4756
+ @Domain = domain
4721
4757
  end
4722
4758
 
4723
4759
  def deserialize(params)
4760
+ @Domain = params['Domain']
4724
4761
  end
4725
4762
  end
4726
4763
 
4727
4764
  # DescribeModuleStatus返回参数结构体
4728
4765
  class DescribeModuleStatusResponse < TencentCloud::Common::AbstractModel
4766
+ # @param WebSecurity: WEB安全规则是否开启
4767
+ # @type WebSecurity: Integer
4768
+ # @param AccessControl: 访问控制规则是否开启
4769
+ # @type AccessControl: Integer
4770
+ # @param CcProtection: CC防护是否开启
4771
+ # @type CcProtection: Integer
4772
+ # @param AntiTamper: 网页防篡改是否开启
4773
+ # @type AntiTamper: Integer
4774
+ # @param AntiLeakage: 信息防泄漏是否开启
4775
+ # @type AntiLeakage: Integer
4776
+ # @param ApiProtection: API安全是否开启
4777
+ # @type ApiProtection: Integer
4729
4778
  # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
4730
4779
  # @type RequestId: String
4731
4780
 
4732
- attr_accessor :RequestId
4781
+ attr_accessor :WebSecurity, :AccessControl, :CcProtection, :AntiTamper, :AntiLeakage, :ApiProtection, :RequestId
4733
4782
 
4734
- def initialize(requestid=nil)
4783
+ def initialize(websecurity=nil, accesscontrol=nil, ccprotection=nil, antitamper=nil, antileakage=nil, apiprotection=nil, requestid=nil)
4784
+ @WebSecurity = websecurity
4785
+ @AccessControl = accesscontrol
4786
+ @CcProtection = ccprotection
4787
+ @AntiTamper = antitamper
4788
+ @AntiLeakage = antileakage
4789
+ @ApiProtection = apiprotection
4735
4790
  @RequestId = requestid
4736
4791
  end
4737
4792
 
4738
4793
  def deserialize(params)
4794
+ @WebSecurity = params['WebSecurity']
4795
+ @AccessControl = params['AccessControl']
4796
+ @CcProtection = params['CcProtection']
4797
+ @AntiTamper = params['AntiTamper']
4798
+ @AntiLeakage = params['AntiLeakage']
4799
+ @ApiProtection = params['ApiProtection']
4739
4800
  @RequestId = params['RequestId']
4740
4801
  end
4741
4802
  end
@@ -9112,12 +9173,41 @@ module TencentCloud
9112
9173
 
9113
9174
  # ModifyModuleStatus请求参数结构体
9114
9175
  class ModifyModuleStatusRequest < TencentCloud::Common::AbstractModel
9176
+ # @param Domain: 需要设置的domain
9177
+ # @type Domain: String
9178
+ # @param WebSecurity: WEB 安全模块开关,0或1
9179
+ # @type WebSecurity: Integer
9180
+ # @param AccessControl: 访问控制模块开关,0或者1
9181
+ # @type AccessControl: Integer
9182
+ # @param CcProtection: CC模块开关,0或者1
9183
+ # @type CcProtection: Integer
9184
+ # @param ApiProtection: API安全模块开关,0或者1
9185
+ # @type ApiProtection: Integer
9186
+ # @param AntiTamper: 防篡改模块开关,0或者1
9187
+ # @type AntiTamper: Integer
9188
+ # @param AntiLeakage: 防泄漏模块开关,0或者1
9189
+ # @type AntiLeakage: Integer
9115
9190
 
9191
+ attr_accessor :Domain, :WebSecurity, :AccessControl, :CcProtection, :ApiProtection, :AntiTamper, :AntiLeakage
9116
9192
 
9117
- def initialize()
9193
+ def initialize(domain=nil, websecurity=nil, accesscontrol=nil, ccprotection=nil, apiprotection=nil, antitamper=nil, antileakage=nil)
9194
+ @Domain = domain
9195
+ @WebSecurity = websecurity
9196
+ @AccessControl = accesscontrol
9197
+ @CcProtection = ccprotection
9198
+ @ApiProtection = apiprotection
9199
+ @AntiTamper = antitamper
9200
+ @AntiLeakage = antileakage
9118
9201
  end
9119
9202
 
9120
9203
  def deserialize(params)
9204
+ @Domain = params['Domain']
9205
+ @WebSecurity = params['WebSecurity']
9206
+ @AccessControl = params['AccessControl']
9207
+ @CcProtection = params['CcProtection']
9208
+ @ApiProtection = params['ApiProtection']
9209
+ @AntiTamper = params['AntiTamper']
9210
+ @AntiLeakage = params['AntiLeakage']
9121
9211
  end
9122
9212
  end
9123
9213
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-waf
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.694
4
+ version: 3.0.696
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-11-06 00:00:00.000000000 Z
11
+ date: 2023-11-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common
@@ -33,9 +33,9 @@ executables: []
33
33
  extensions: []
34
34
  extra_rdoc_files: []
35
35
  files:
36
- - lib/v20180125/models.rb
37
- - lib/v20180125/client.rb
38
36
  - lib/tencentcloud-sdk-waf.rb
37
+ - lib/v20180125/client.rb
38
+ - lib/v20180125/models.rb
39
39
  - lib/VERSION
40
40
  homepage: https://github.com/TencentCloud/tencentcloud-sdk-ruby
41
41
  licenses: