tencentcloud-sdk-teo 3.0.502 → 3.0.504

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/VERSION +1 -1
  3. data/lib/v20220901/models.rb +29 -19
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 3df49e05895e49afcd01c173c50adc5a55bf2d50
4
- data.tar.gz: 2e753d887bf2e3e77414629865f1a3ccd3bc9bac
3
+ metadata.gz: 48af9cd732848d3e993895c15e69cfc393f406f6
4
+ data.tar.gz: ac3dda014c0d1acaba2c6c7f58849f2c1bc1cdd1
5
5
  SHA512:
6
- metadata.gz: fc7f7ecff9f99e1013e4f47943bb5861677b507abdf3a5ca6741893f5b75fa89aa4157a2aae52e4db7139e77a09013229f1fa8c978c6bddf5010e0701205c0bc
7
- data.tar.gz: a48bedb0a7e6585b50d13b51b08d89c42b258de07d86ad275322464d07a4a4e38d988596d53c5e38fe0c499eb38794333f4af169486d174b28c3398bb8c4e2da
6
+ metadata.gz: d355c585148150d5cbed995ea6b529f07c71338cb8f6630e30b82e60a6ca1dab1137f6684d96b93eb8b271122486715236f5f7c2b433cc4a58289be39dda2b35
7
+ data.tar.gz: 3ac53ac661e3aa3a508e277c584d5946c36bc27608725e168400fdbe974f7a5dc2acb41cace9a472f65dc4b6058ebcbc6d0cb2297063d10486e99be3c7865613
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.502
1
+ 3.0.504
@@ -249,7 +249,8 @@ module TencentCloud
249
249
  # <li> TlsVersion;</li>
250
250
  # <li> OcspStapling;</li>
251
251
  # <li> HTTP/2 访问(Http2);</li>
252
- # <li> 回源跟随重定向(UpstreamFollowRedirect)。</li>
252
+ # <li> 回源跟随重定向(UpstreamFollowRedirect);</li>
253
+ # <li> 修改源站(Origin)。</li>
253
254
  # 注意:此字段可能返回 null,表示取不到有效值。
254
255
  # @type NormalAction: :class:`Tencentcloud::Teo.v20220901.models.NormalAction`
255
256
  # @param RewriteAction: 带有请求头/响应头的功能操作,选择该类型的功能项有:
@@ -4603,6 +4604,7 @@ module TencentCloud
4603
4604
  # <li>ruleId:规则id;</li>
4604
4605
  # <li>sipCountryCode:ip所在国家;</li>
4605
4606
  # <li>attackIp:攻击ip;</li>
4607
+ # <li>realClientIp:真实客户端ip;</li>
4606
4608
  # <li>oriDomain:被攻击的子域名;</li>
4607
4609
  # <li>eventId:事件id;</li>
4608
4610
  # <li>ua:用户代理;</li>
@@ -10408,56 +10410,64 @@ module TencentCloud
10408
10410
  class WebLogs < TencentCloud::Common::AbstractModel
10409
10411
  # @param EventId: 请求(事件)ID。
10410
10412
  # @type EventId: String
10411
- # @param AttackIp: 攻击源(客户端)Ip。
10412
- # @type AttackIp: String
10413
- # @param Domain: 受攻击子域名。
10414
- # @type Domain: String
10415
10413
  # @param HttpLog: http 日志内容。
10416
10414
  # @type HttpLog: String
10415
+ # @param Domain: 受攻击子域名。
10416
+ # @type Domain: String
10417
+ # @param AttackIp: 攻击源(客户端)Ip。
10418
+ # @type AttackIp: String
10417
10419
  # @param SipCountryCode: IP所在国家iso-3166中alpha-2编码,编码信息请参考[ISO-3166](https://git.woa.com/edgeone/iso-3166/blob/master/all/all.json)
10418
10420
  # @type SipCountryCode: String
10421
+ # @param RealClientIp: 真实客户端Ip。
10422
+ # @type RealClientIp: String
10423
+ # @param RealClientIpCountryCode: 真实客户端Ip所在国家iso-3166中alpha-2编码。
10424
+ # @type RealClientIpCountryCode: String
10419
10425
  # @param AttackTime: 攻击时间,采用unix秒级时间戳。
10420
10426
  # @type AttackTime: Integer
10421
10427
  # @param RequestUri: 请求地址。
10422
10428
  # @type RequestUri: String
10423
- # @param AttackContent: 攻击内容。
10429
+ # @param ReqMethod: 请求类型。
10424
10430
  # 注意:此字段可能返回 null,表示取不到有效值。
10425
- # @type AttackContent: String
10431
+ # @type ReqMethod: String
10426
10432
  # @param RuleDetailList: 规则相关信息列表。
10427
10433
  # 注意:此字段可能返回 null,表示取不到有效值。
10428
10434
  # @type RuleDetailList: Array
10429
- # @param ReqMethod: 请求类型。
10435
+ # @param AttackContent: 攻击内容。
10430
10436
  # 注意:此字段可能返回 null,表示取不到有效值。
10431
- # @type ReqMethod: String
10437
+ # @type AttackContent: String
10432
10438
  # @param Area: 日志所属区域。
10433
10439
  # 注意:此字段可能返回 null,表示取不到有效值。
10434
10440
  # @type Area: String
10435
10441
 
10436
- attr_accessor :EventId, :AttackIp, :Domain, :HttpLog, :SipCountryCode, :AttackTime, :RequestUri, :AttackContent, :RuleDetailList, :ReqMethod, :Area
10442
+ attr_accessor :EventId, :HttpLog, :Domain, :AttackIp, :SipCountryCode, :RealClientIp, :RealClientIpCountryCode, :AttackTime, :RequestUri, :ReqMethod, :RuleDetailList, :AttackContent, :Area
10437
10443
 
10438
- def initialize(eventid=nil, attackip=nil, domain=nil, httplog=nil, sipcountrycode=nil, attacktime=nil, requesturi=nil, attackcontent=nil, ruledetaillist=nil, reqmethod=nil, area=nil)
10444
+ def initialize(eventid=nil, httplog=nil, domain=nil, attackip=nil, sipcountrycode=nil, realclientip=nil, realclientipcountrycode=nil, attacktime=nil, requesturi=nil, reqmethod=nil, ruledetaillist=nil, attackcontent=nil, area=nil)
10439
10445
  @EventId = eventid
10440
- @AttackIp = attackip
10441
- @Domain = domain
10442
10446
  @HttpLog = httplog
10447
+ @Domain = domain
10448
+ @AttackIp = attackip
10443
10449
  @SipCountryCode = sipcountrycode
10450
+ @RealClientIp = realclientip
10451
+ @RealClientIpCountryCode = realclientipcountrycode
10444
10452
  @AttackTime = attacktime
10445
10453
  @RequestUri = requesturi
10446
- @AttackContent = attackcontent
10447
- @RuleDetailList = ruledetaillist
10448
10454
  @ReqMethod = reqmethod
10455
+ @RuleDetailList = ruledetaillist
10456
+ @AttackContent = attackcontent
10449
10457
  @Area = area
10450
10458
  end
10451
10459
 
10452
10460
  def deserialize(params)
10453
10461
  @EventId = params['EventId']
10454
- @AttackIp = params['AttackIp']
10455
- @Domain = params['Domain']
10456
10462
  @HttpLog = params['HttpLog']
10463
+ @Domain = params['Domain']
10464
+ @AttackIp = params['AttackIp']
10457
10465
  @SipCountryCode = params['SipCountryCode']
10466
+ @RealClientIp = params['RealClientIp']
10467
+ @RealClientIpCountryCode = params['RealClientIpCountryCode']
10458
10468
  @AttackTime = params['AttackTime']
10459
10469
  @RequestUri = params['RequestUri']
10460
- @AttackContent = params['AttackContent']
10470
+ @ReqMethod = params['ReqMethod']
10461
10471
  unless params['RuleDetailList'].nil?
10462
10472
  @RuleDetailList = []
10463
10473
  params['RuleDetailList'].each do |i|
@@ -10466,7 +10476,7 @@ module TencentCloud
10466
10476
  @RuleDetailList << secrulerelatedinfo_tmp
10467
10477
  end
10468
10478
  end
10469
- @ReqMethod = params['ReqMethod']
10479
+ @AttackContent = params['AttackContent']
10470
10480
  @Area = params['Area']
10471
10481
  end
10472
10482
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-teo
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.502
4
+ version: 3.0.504
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-02-06 00:00:00.000000000 Z
11
+ date: 2023-02-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common