tencentcloud-sdk-python-cwp 3.1.181__tar.gz → 3.1.190__tar.gz

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.
Files changed (17) hide show
  1. {tencentcloud_sdk_python_cwp-3.1.181 → tencentcloud_sdk_python_cwp-3.1.190}/PKG-INFO +2 -2
  2. {tencentcloud_sdk_python_cwp-3.1.181 → tencentcloud_sdk_python_cwp-3.1.190}/setup.py +1 -1
  3. {tencentcloud_sdk_python_cwp-3.1.181 → tencentcloud_sdk_python_cwp-3.1.190}/tencentcloud/__init__.py +1 -1
  4. {tencentcloud_sdk_python_cwp-3.1.181 → tencentcloud_sdk_python_cwp-3.1.190}/tencentcloud/cwp/v20180228/models.py +425 -140
  5. {tencentcloud_sdk_python_cwp-3.1.181 → tencentcloud_sdk_python_cwp-3.1.190}/tencentcloud_sdk_python_cwp.egg-info/PKG-INFO +2 -2
  6. tencentcloud_sdk_python_cwp-3.1.190/tencentcloud_sdk_python_cwp.egg-info/requires.txt +1 -0
  7. tencentcloud_sdk_python_cwp-3.1.181/tencentcloud_sdk_python_cwp.egg-info/requires.txt +0 -1
  8. {tencentcloud_sdk_python_cwp-3.1.181 → tencentcloud_sdk_python_cwp-3.1.190}/README.rst +0 -0
  9. {tencentcloud_sdk_python_cwp-3.1.181 → tencentcloud_sdk_python_cwp-3.1.190}/setup.cfg +0 -0
  10. {tencentcloud_sdk_python_cwp-3.1.181 → tencentcloud_sdk_python_cwp-3.1.190}/tencentcloud/cwp/__init__.py +0 -0
  11. {tencentcloud_sdk_python_cwp-3.1.181 → tencentcloud_sdk_python_cwp-3.1.190}/tencentcloud/cwp/v20180228/__init__.py +0 -0
  12. {tencentcloud_sdk_python_cwp-3.1.181 → tencentcloud_sdk_python_cwp-3.1.190}/tencentcloud/cwp/v20180228/cwp_client.py +0 -0
  13. {tencentcloud_sdk_python_cwp-3.1.181 → tencentcloud_sdk_python_cwp-3.1.190}/tencentcloud/cwp/v20180228/cwp_client_async.py +0 -0
  14. {tencentcloud_sdk_python_cwp-3.1.181 → tencentcloud_sdk_python_cwp-3.1.190}/tencentcloud/cwp/v20180228/errorcodes.py +0 -0
  15. {tencentcloud_sdk_python_cwp-3.1.181 → tencentcloud_sdk_python_cwp-3.1.190}/tencentcloud_sdk_python_cwp.egg-info/SOURCES.txt +0 -0
  16. {tencentcloud_sdk_python_cwp-3.1.181 → tencentcloud_sdk_python_cwp-3.1.190}/tencentcloud_sdk_python_cwp.egg-info/dependency_links.txt +0 -0
  17. {tencentcloud_sdk_python_cwp-3.1.181 → tencentcloud_sdk_python_cwp-3.1.190}/tencentcloud_sdk_python_cwp.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tencentcloud-sdk-python-cwp
3
- Version: 3.1.181
3
+ Version: 3.1.190
4
4
  Summary: Tencent Cloud Cwp SDK for Python
5
5
  Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
6
6
  Author: Tencent Cloud
@@ -15,7 +15,7 @@ Classifier: Programming Language :: Python :: 2.7
15
15
  Classifier: Programming Language :: Python :: 3
16
16
  Classifier: Programming Language :: Python :: 3.6
17
17
  Classifier: Programming Language :: Python :: 3.7
18
- Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.181
18
+ Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.190
19
19
 
20
20
  ============================
21
21
  Tencent Cloud SDK for Python
@@ -8,7 +8,7 @@ ROOT = os.path.dirname(__file__)
8
8
 
9
9
  setup(
10
10
  name='tencentcloud-sdk-python-cwp',
11
- install_requires=["tencentcloud-sdk-python-common>=3.1.181,<4.0.0"],
11
+ install_requires=["tencentcloud-sdk-python-common>=3.1.190,<4.0.0"],
12
12
 
13
13
  version=tencentcloud.__version__,
14
14
  description='Tencent Cloud Cwp SDK for Python',
@@ -14,4 +14,4 @@
14
14
  # limitations under the License.
15
15
 
16
16
 
17
- __version__ = '3.1.181'
17
+ __version__ = '3.1.190'
@@ -12574,50 +12574,56 @@ class BashEventNew(AbstractModel):
12574
12574
 
12575
12575
  def __init__(self):
12576
12576
  r"""
12577
- :param _Id: 数据ID
12577
+ :param _Id: <p>数据ID</p>
12578
12578
  :type Id: int
12579
- :param _Uuid: 主机安全ID
12579
+ :param _Uuid: <p>主机安全ID</p>
12580
12580
  :type Uuid: str
12581
- :param _Quuid: 主机ID
12581
+ :param _Quuid: <p>主机ID</p>
12582
12582
  :type Quuid: str
12583
- :param _HostIp: 主机内网IP
12583
+ :param _HostIp: <p>主机内网IP</p>
12584
12584
  :type HostIp: str
12585
- :param _User: 执行用户名
12585
+ :param _User: <p>执行用户名</p>
12586
12586
  :type User: str
12587
- :param _Platform: 平台类型
12587
+ :param _Platform: <p>平台类型</p>
12588
12588
  :type Platform: int
12589
- :param _BashCmd: 执行命令
12589
+ :param _BashCmd: <p>执行命令</p>
12590
12590
  :type BashCmd: str
12591
- :param _RuleId: 规则ID
12591
+ :param _RuleId: <p>规则ID</p>
12592
12592
  :type RuleId: int
12593
- :param _RuleName: 规则名称
12593
+ :param _RuleName: <p>规则名称</p>
12594
12594
  :type RuleName: str
12595
- :param _RuleLevel: 规则等级:1-高 2-中 3-低
12595
+ :param _RuleLevel: <p>规则等级:1-高 2-中 3-低</p>
12596
12596
  :type RuleLevel: int
12597
- :param _Status: 处理状态: 0 = 待处理 1= 已处理, 2 = 已加白, 3 = 已忽略
12597
+ :param _Status: <p>处理状态: 0 = 待处理 1= 已处理, 2 = 已加白, 3 = 已忽略</p>
12598
12598
  :type Status: int
12599
- :param _CreateTime: 发生时间
12599
+ :param _CreateTime: <p>发生时间</p>
12600
12600
  :type CreateTime: str
12601
- :param _MachineName: 主机名
12601
+ :param _MachineName: <p>主机名</p>
12602
12602
  :type MachineName: str
12603
- :param _DetectBy: 0: bash日志 1: 实时监控(雷霆版)
12603
+ :param _DetectBy: <p>0: bash日志 1: 实时监控(雷霆版)</p>
12604
12604
  :type DetectBy: int
12605
- :param _Pid: 进程id
12605
+ :param _Pid: <p>进程id</p>
12606
12606
  :type Pid: str
12607
- :param _Exe: 进程名称
12607
+ :param _Exe: <p>进程名称</p>
12608
12608
  :type Exe: str
12609
- :param _ModifyTime: 处理时间
12609
+ :param _ModifyTime: <p>处理时间</p>
12610
12610
  :type ModifyTime: str
12611
- :param _RuleCategory: 规则类别 0=系统规则,1=用户规则
12611
+ :param _RuleCategory: <p>规则类别 0=系统规则,1=用户规则</p>
12612
12612
  :type RuleCategory: int
12613
- :param _RegexBashCmd: 转义后的正则表达式
12613
+ :param _RegexBashCmd: <p>转义后的正则表达式</p>
12614
12614
  :type RegexBashCmd: str
12615
- :param _RegexExe: 转义后的正则表达式
12615
+ :param _RegexExe: <p>转义后的正则表达式</p>
12616
12616
  :type RegexExe: str
12617
- :param _MachineType: 0:普通 1:专业版 2:旗舰版
12617
+ :param _MachineType: <p>0:普通 1:专业版 2:旗舰版</p>
12618
12618
  :type MachineType: int
12619
- :param _MachineExtraInfo: 机器额外信息
12619
+ :param _MachineExtraInfo: <p>机器额外信息</p>
12620
12620
  :type MachineExtraInfo: :class:`tencentcloud.cwp.v20180228.models.MachineExtraInfo`
12621
+ :param _EventCount: <p>告警次数:同一聚合维度当天的告警命中次数,老数据为空</p>
12622
+ :type EventCount: int
12623
+ :param _FirstDetectTime: <p>首次发现时间(格式 yyyy-MM-dd HH:mm:ss)</p>
12624
+ :type FirstDetectTime: str
12625
+ :param _LatestDetectTime: <p>最近发现时间(格式 yyyy-MM-dd HH:mm:ss)</p>
12626
+ :type LatestDetectTime: str
12621
12627
  """
12622
12628
  self._Id = None
12623
12629
  self._Uuid = None
@@ -12641,10 +12647,13 @@ class BashEventNew(AbstractModel):
12641
12647
  self._RegexExe = None
12642
12648
  self._MachineType = None
12643
12649
  self._MachineExtraInfo = None
12650
+ self._EventCount = None
12651
+ self._FirstDetectTime = None
12652
+ self._LatestDetectTime = None
12644
12653
 
12645
12654
  @property
12646
12655
  def Id(self):
12647
- r"""数据ID
12656
+ r"""<p>数据ID</p>
12648
12657
  :rtype: int
12649
12658
  """
12650
12659
  return self._Id
@@ -12655,7 +12664,7 @@ class BashEventNew(AbstractModel):
12655
12664
 
12656
12665
  @property
12657
12666
  def Uuid(self):
12658
- r"""主机安全ID
12667
+ r"""<p>主机安全ID</p>
12659
12668
  :rtype: str
12660
12669
  """
12661
12670
  return self._Uuid
@@ -12666,7 +12675,7 @@ class BashEventNew(AbstractModel):
12666
12675
 
12667
12676
  @property
12668
12677
  def Quuid(self):
12669
- r"""主机ID
12678
+ r"""<p>主机ID</p>
12670
12679
  :rtype: str
12671
12680
  """
12672
12681
  return self._Quuid
@@ -12677,7 +12686,7 @@ class BashEventNew(AbstractModel):
12677
12686
 
12678
12687
  @property
12679
12688
  def HostIp(self):
12680
- r"""主机内网IP
12689
+ r"""<p>主机内网IP</p>
12681
12690
  :rtype: str
12682
12691
  """
12683
12692
  return self._HostIp
@@ -12688,7 +12697,7 @@ class BashEventNew(AbstractModel):
12688
12697
 
12689
12698
  @property
12690
12699
  def User(self):
12691
- r"""执行用户名
12700
+ r"""<p>执行用户名</p>
12692
12701
  :rtype: str
12693
12702
  """
12694
12703
  return self._User
@@ -12699,7 +12708,7 @@ class BashEventNew(AbstractModel):
12699
12708
 
12700
12709
  @property
12701
12710
  def Platform(self):
12702
- r"""平台类型
12711
+ r"""<p>平台类型</p>
12703
12712
  :rtype: int
12704
12713
  """
12705
12714
  return self._Platform
@@ -12710,7 +12719,7 @@ class BashEventNew(AbstractModel):
12710
12719
 
12711
12720
  @property
12712
12721
  def BashCmd(self):
12713
- r"""执行命令
12722
+ r"""<p>执行命令</p>
12714
12723
  :rtype: str
12715
12724
  """
12716
12725
  return self._BashCmd
@@ -12721,7 +12730,7 @@ class BashEventNew(AbstractModel):
12721
12730
 
12722
12731
  @property
12723
12732
  def RuleId(self):
12724
- r"""规则ID
12733
+ r"""<p>规则ID</p>
12725
12734
  :rtype: int
12726
12735
  """
12727
12736
  return self._RuleId
@@ -12732,7 +12741,7 @@ class BashEventNew(AbstractModel):
12732
12741
 
12733
12742
  @property
12734
12743
  def RuleName(self):
12735
- r"""规则名称
12744
+ r"""<p>规则名称</p>
12736
12745
  :rtype: str
12737
12746
  """
12738
12747
  return self._RuleName
@@ -12743,7 +12752,7 @@ class BashEventNew(AbstractModel):
12743
12752
 
12744
12753
  @property
12745
12754
  def RuleLevel(self):
12746
- r"""规则等级:1-高 2-中 3-低
12755
+ r"""<p>规则等级:1-高 2-中 3-低</p>
12747
12756
  :rtype: int
12748
12757
  """
12749
12758
  return self._RuleLevel
@@ -12754,7 +12763,7 @@ class BashEventNew(AbstractModel):
12754
12763
 
12755
12764
  @property
12756
12765
  def Status(self):
12757
- r"""处理状态: 0 = 待处理 1= 已处理, 2 = 已加白, 3 = 已忽略
12766
+ r"""<p>处理状态: 0 = 待处理 1= 已处理, 2 = 已加白, 3 = 已忽略</p>
12758
12767
  :rtype: int
12759
12768
  """
12760
12769
  return self._Status
@@ -12765,7 +12774,7 @@ class BashEventNew(AbstractModel):
12765
12774
 
12766
12775
  @property
12767
12776
  def CreateTime(self):
12768
- r"""发生时间
12777
+ r"""<p>发生时间</p>
12769
12778
  :rtype: str
12770
12779
  """
12771
12780
  return self._CreateTime
@@ -12776,7 +12785,7 @@ class BashEventNew(AbstractModel):
12776
12785
 
12777
12786
  @property
12778
12787
  def MachineName(self):
12779
- r"""主机名
12788
+ r"""<p>主机名</p>
12780
12789
  :rtype: str
12781
12790
  """
12782
12791
  return self._MachineName
@@ -12787,7 +12796,7 @@ class BashEventNew(AbstractModel):
12787
12796
 
12788
12797
  @property
12789
12798
  def DetectBy(self):
12790
- r"""0: bash日志 1: 实时监控(雷霆版)
12799
+ r"""<p>0: bash日志 1: 实时监控(雷霆版)</p>
12791
12800
  :rtype: int
12792
12801
  """
12793
12802
  return self._DetectBy
@@ -12798,7 +12807,7 @@ class BashEventNew(AbstractModel):
12798
12807
 
12799
12808
  @property
12800
12809
  def Pid(self):
12801
- r"""进程id
12810
+ r"""<p>进程id</p>
12802
12811
  :rtype: str
12803
12812
  """
12804
12813
  return self._Pid
@@ -12809,7 +12818,7 @@ class BashEventNew(AbstractModel):
12809
12818
 
12810
12819
  @property
12811
12820
  def Exe(self):
12812
- r"""进程名称
12821
+ r"""<p>进程名称</p>
12813
12822
  :rtype: str
12814
12823
  """
12815
12824
  return self._Exe
@@ -12820,7 +12829,7 @@ class BashEventNew(AbstractModel):
12820
12829
 
12821
12830
  @property
12822
12831
  def ModifyTime(self):
12823
- r"""处理时间
12832
+ r"""<p>处理时间</p>
12824
12833
  :rtype: str
12825
12834
  """
12826
12835
  return self._ModifyTime
@@ -12831,7 +12840,7 @@ class BashEventNew(AbstractModel):
12831
12840
 
12832
12841
  @property
12833
12842
  def RuleCategory(self):
12834
- r"""规则类别 0=系统规则,1=用户规则
12843
+ r"""<p>规则类别 0=系统规则,1=用户规则</p>
12835
12844
  :rtype: int
12836
12845
  """
12837
12846
  return self._RuleCategory
@@ -12842,7 +12851,7 @@ class BashEventNew(AbstractModel):
12842
12851
 
12843
12852
  @property
12844
12853
  def RegexBashCmd(self):
12845
- r"""转义后的正则表达式
12854
+ r"""<p>转义后的正则表达式</p>
12846
12855
  :rtype: str
12847
12856
  """
12848
12857
  return self._RegexBashCmd
@@ -12853,7 +12862,7 @@ class BashEventNew(AbstractModel):
12853
12862
 
12854
12863
  @property
12855
12864
  def RegexExe(self):
12856
- r"""转义后的正则表达式
12865
+ r"""<p>转义后的正则表达式</p>
12857
12866
  :rtype: str
12858
12867
  """
12859
12868
  return self._RegexExe
@@ -12864,7 +12873,7 @@ class BashEventNew(AbstractModel):
12864
12873
 
12865
12874
  @property
12866
12875
  def MachineType(self):
12867
- r"""0:普通 1:专业版 2:旗舰版
12876
+ r"""<p>0:普通 1:专业版 2:旗舰版</p>
12868
12877
  :rtype: int
12869
12878
  """
12870
12879
  return self._MachineType
@@ -12875,7 +12884,7 @@ class BashEventNew(AbstractModel):
12875
12884
 
12876
12885
  @property
12877
12886
  def MachineExtraInfo(self):
12878
- r"""机器额外信息
12887
+ r"""<p>机器额外信息</p>
12879
12888
  :rtype: :class:`tencentcloud.cwp.v20180228.models.MachineExtraInfo`
12880
12889
  """
12881
12890
  return self._MachineExtraInfo
@@ -12884,6 +12893,39 @@ class BashEventNew(AbstractModel):
12884
12893
  def MachineExtraInfo(self, MachineExtraInfo):
12885
12894
  self._MachineExtraInfo = MachineExtraInfo
12886
12895
 
12896
+ @property
12897
+ def EventCount(self):
12898
+ r"""<p>告警次数:同一聚合维度当天的告警命中次数,老数据为空</p>
12899
+ :rtype: int
12900
+ """
12901
+ return self._EventCount
12902
+
12903
+ @EventCount.setter
12904
+ def EventCount(self, EventCount):
12905
+ self._EventCount = EventCount
12906
+
12907
+ @property
12908
+ def FirstDetectTime(self):
12909
+ r"""<p>首次发现时间(格式 yyyy-MM-dd HH:mm:ss)</p>
12910
+ :rtype: str
12911
+ """
12912
+ return self._FirstDetectTime
12913
+
12914
+ @FirstDetectTime.setter
12915
+ def FirstDetectTime(self, FirstDetectTime):
12916
+ self._FirstDetectTime = FirstDetectTime
12917
+
12918
+ @property
12919
+ def LatestDetectTime(self):
12920
+ r"""<p>最近发现时间(格式 yyyy-MM-dd HH:mm:ss)</p>
12921
+ :rtype: str
12922
+ """
12923
+ return self._LatestDetectTime
12924
+
12925
+ @LatestDetectTime.setter
12926
+ def LatestDetectTime(self, LatestDetectTime):
12927
+ self._LatestDetectTime = LatestDetectTime
12928
+
12887
12929
 
12888
12930
  def _deserialize(self, params):
12889
12931
  self._Id = params.get("Id")
@@ -12910,6 +12952,9 @@ class BashEventNew(AbstractModel):
12910
12952
  if params.get("MachineExtraInfo") is not None:
12911
12953
  self._MachineExtraInfo = MachineExtraInfo()
12912
12954
  self._MachineExtraInfo._deserialize(params.get("MachineExtraInfo"))
12955
+ self._EventCount = params.get("EventCount")
12956
+ self._FirstDetectTime = params.get("FirstDetectTime")
12957
+ self._LatestDetectTime = params.get("LatestDetectTime")
12913
12958
  memeber_set = set(params.keys())
12914
12959
  for name, value in vars(self).items():
12915
12960
  property_name = name[1:]
@@ -13338,62 +13383,88 @@ class BashEventsInfoNew(AbstractModel):
13338
13383
 
13339
13384
  def __init__(self):
13340
13385
  r"""
13341
- :param _Id: 数据ID
13386
+ :param _Id: <p>数据ID</p>
13342
13387
  :type Id: int
13343
- :param _Uuid: 主机安全ID
13388
+ :param _Uuid: <p>主机安全ID</p>
13344
13389
  :type Uuid: str
13345
- :param _Quuid: 主机ID
13390
+ :param _Quuid: <p>主机ID</p>
13346
13391
  :type Quuid: str
13347
- :param _HostIp: 主机内网IP
13392
+ :param _HostIp: <p>主机内网IP</p>
13348
13393
  :type HostIp: str
13349
- :param _Platform: 平台类型
13394
+ :param _Platform: <p>平台类型</p>
13350
13395
  :type Platform: int
13351
- :param _BashCmd: 执行命令
13396
+ :param _BashCmd: <p>执行命令</p>
13352
13397
  :type BashCmd: str
13353
- :param _RuleId: 规则ID,等于0表示已规则已被删除或生效范围已修改
13398
+ :param _RuleId: <p>规则ID,等于0表示已规则已被删除或生效范围已修改</p>
13354
13399
  :type RuleId: int
13355
- :param _RuleName: 规则名称
13400
+ :param _RuleName: <p>规则名称</p>
13356
13401
  :type RuleName: str
13357
- :param _RuleLevel: 规则等级:1-高 2-中 3-低
13402
+ :param _RuleLevel: <p>规则等级:1-高 2-中 3-低</p>
13358
13403
  :type RuleLevel: int
13359
- :param _Status: 处理状态: 0 = 待处理 1= 已处理, 2 = 已加白, 3= 已忽略
13404
+ :param _Status: <p>处理状态: 0 = 待处理 1= 已处理, 2 = 已加白, 3= 已忽略</p>
13360
13405
  :type Status: int
13361
- :param _CreateTime: 发生时间
13406
+ :param _CreateTime: <p>发生时间</p>
13362
13407
  :type CreateTime: str
13363
- :param _MachineName: 主机名
13408
+ :param _MachineName: <p>主机名</p>
13364
13409
  :type MachineName: str
13365
- :param _Exe: 进程名称
13410
+ :param _Exe: <p>进程名称</p>
13366
13411
  :type Exe: str
13367
- :param _ModifyTime: 处理时间
13412
+ :param _ModifyTime: <p>处理时间</p>
13368
13413
  :type ModifyTime: str
13369
- :param _RuleCategory: 规则类别 0=系统规则,1=用户规则
13414
+ :param _RuleCategory: <p>规则类别 0=系统规则,1=用户规则</p>
13370
13415
  :type RuleCategory: int
13371
- :param _RegexBashCmd: 自动生成的正则表达式
13416
+ :param _RegexBashCmd: <p>自动生成的正则表达式</p>
13372
13417
  :type RegexBashCmd: str
13373
- :param _PsTree: 进程树 json pid:进程id,exe:文件路径 ,account:进程所属用组和用户 ,cmdline:执行命令,ssh_service: SSH服务ip, ssh_soure:登录源
13418
+ :param _PsTree: <p>进程树 json pid:进程id,exe:文件路径 ,account:进程所属用组和用户 ,cmdline:执行命令,ssh_service: SSH服务ip, ssh_soure:登录源</p>
13374
13419
  :type PsTree: str
13375
- :param _SuggestScheme: 建议方案
13420
+ :param _SuggestScheme: <p>建议方案</p>
13376
13421
  :type SuggestScheme: str
13377
- :param _HarmDescribe: 描述
13422
+ :param _HarmDescribe: <p>描述</p>
13378
13423
  :type HarmDescribe: str
13379
- :param _Tags: 标签
13424
+ :param _Tags: <p>标签</p>
13380
13425
  :type Tags: list of str
13381
- :param _References: 参考链接
13426
+ :param _References: <p>参考链接</p>
13382
13427
  :type References: list of str
13383
- :param _MachineWanIp: 主机外网ip
13428
+ :param _MachineWanIp: <p>主机外网ip</p>
13384
13429
  :type MachineWanIp: str
13385
- :param _MachineStatus: 主机在线状态 OFFLINE ONLINE
13430
+ :param _MachineStatus: <p>主机在线状态 OFFLINE ONLINE</p>
13386
13431
  :type MachineStatus: str
13387
- :param _User: 登录用户
13432
+ :param _User: <p>登录用户</p>
13388
13433
  :type User: str
13389
- :param _Pid: 进程号
13434
+ :param _Pid: <p>进程号</p>
13390
13435
  :type Pid: str
13391
- :param _MachineType: 0:普通 1:专业版 2:旗舰版
13436
+ :param _MachineType: <p>0:普通 1:专业版 2:旗舰版</p>
13392
13437
  :type MachineType: int
13393
- :param _DetectBy: 检测来源 0:bash日志 1:实时监控
13438
+ :param _DetectBy: <p>检测来源 0:bash日志 1:实时监控</p>
13394
13439
  :type DetectBy: int
13395
- :param _BashCmdDecoded: 执行命令(解码后)
13440
+ :param _BashCmdDecoded: <p>执行命令(解码后)</p>
13396
13441
  :type BashCmdDecoded: str
13442
+ :param _EventCount: <p>告警次数:同一聚合维度当天的告警命中次数,老数据为空</p>
13443
+ :type EventCount: int
13444
+ :param _FirstDetectTime: <p>首次发现时间(格式 yyyy-MM-dd HH:mm:ss)</p>
13445
+ :type FirstDetectTime: str
13446
+ :param _LatestDetectTime: <p>最近发现时间(格式 yyyy-MM-dd HH:mm:ss)</p>
13447
+ :type LatestDetectTime: str
13448
+ :param _FileProcessMd5: <p>进程MD5(文件监控行为独有)</p>
13449
+ :type FileProcessMd5: str
13450
+ :param _FileAction: <p>动作:进程对文件的操作,如 读/写/重命名/删除/清空内容(文件监控行为独有)</p>
13451
+ :type FileAction: str
13452
+ :param _FilePath: <p>文件路径(文件监控行为独有)</p>
13453
+ :type FilePath: str
13454
+ :param _FileMd5: <p>文件MD5(文件监控行为独有)</p>
13455
+ :type FileMd5: str
13456
+ :param _FileName: <p>文件名称(文件监控行为独有)</p>
13457
+ :type FileName: str
13458
+ :param _FileSize: <p>文件大小(文件监控行为独有)</p>
13459
+ :type FileSize: str
13460
+ :param _FileModifyTime: <p>文件修改时间(文件监控行为独有)</p>
13461
+ :type FileModifyTime: str
13462
+ :param _FilePermission: <p>文件权限(文件监控行为独有)</p>
13463
+ :type FilePermission: str
13464
+ :param _FileAccessTime: <p>文件访问时间</p>
13465
+ :type FileAccessTime: str
13466
+ :param _BashType: <p>高危命令事件类型</p><p>枚举值:</p><ul><li>filemon: 文件监控事件</li><li>connect: 外联行为事件</li><li>process: 进程启动事件</li></ul>
13467
+ :type BashType: str
13397
13468
  """
13398
13469
  self._Id = None
13399
13470
  self._Uuid = None
@@ -13423,10 +13494,23 @@ class BashEventsInfoNew(AbstractModel):
13423
13494
  self._MachineType = None
13424
13495
  self._DetectBy = None
13425
13496
  self._BashCmdDecoded = None
13497
+ self._EventCount = None
13498
+ self._FirstDetectTime = None
13499
+ self._LatestDetectTime = None
13500
+ self._FileProcessMd5 = None
13501
+ self._FileAction = None
13502
+ self._FilePath = None
13503
+ self._FileMd5 = None
13504
+ self._FileName = None
13505
+ self._FileSize = None
13506
+ self._FileModifyTime = None
13507
+ self._FilePermission = None
13508
+ self._FileAccessTime = None
13509
+ self._BashType = None
13426
13510
 
13427
13511
  @property
13428
13512
  def Id(self):
13429
- r"""数据ID
13513
+ r"""<p>数据ID</p>
13430
13514
  :rtype: int
13431
13515
  """
13432
13516
  return self._Id
@@ -13437,7 +13521,7 @@ class BashEventsInfoNew(AbstractModel):
13437
13521
 
13438
13522
  @property
13439
13523
  def Uuid(self):
13440
- r"""主机安全ID
13524
+ r"""<p>主机安全ID</p>
13441
13525
  :rtype: str
13442
13526
  """
13443
13527
  return self._Uuid
@@ -13448,7 +13532,7 @@ class BashEventsInfoNew(AbstractModel):
13448
13532
 
13449
13533
  @property
13450
13534
  def Quuid(self):
13451
- r"""主机ID
13535
+ r"""<p>主机ID</p>
13452
13536
  :rtype: str
13453
13537
  """
13454
13538
  return self._Quuid
@@ -13459,7 +13543,7 @@ class BashEventsInfoNew(AbstractModel):
13459
13543
 
13460
13544
  @property
13461
13545
  def HostIp(self):
13462
- r"""主机内网IP
13546
+ r"""<p>主机内网IP</p>
13463
13547
  :rtype: str
13464
13548
  """
13465
13549
  return self._HostIp
@@ -13470,7 +13554,7 @@ class BashEventsInfoNew(AbstractModel):
13470
13554
 
13471
13555
  @property
13472
13556
  def Platform(self):
13473
- r"""平台类型
13557
+ r"""<p>平台类型</p>
13474
13558
  :rtype: int
13475
13559
  """
13476
13560
  return self._Platform
@@ -13481,7 +13565,7 @@ class BashEventsInfoNew(AbstractModel):
13481
13565
 
13482
13566
  @property
13483
13567
  def BashCmd(self):
13484
- r"""执行命令
13568
+ r"""<p>执行命令</p>
13485
13569
  :rtype: str
13486
13570
  """
13487
13571
  return self._BashCmd
@@ -13492,7 +13576,7 @@ class BashEventsInfoNew(AbstractModel):
13492
13576
 
13493
13577
  @property
13494
13578
  def RuleId(self):
13495
- r"""规则ID,等于0表示已规则已被删除或生效范围已修改
13579
+ r"""<p>规则ID,等于0表示已规则已被删除或生效范围已修改</p>
13496
13580
  :rtype: int
13497
13581
  """
13498
13582
  return self._RuleId
@@ -13503,7 +13587,7 @@ class BashEventsInfoNew(AbstractModel):
13503
13587
 
13504
13588
  @property
13505
13589
  def RuleName(self):
13506
- r"""规则名称
13590
+ r"""<p>规则名称</p>
13507
13591
  :rtype: str
13508
13592
  """
13509
13593
  return self._RuleName
@@ -13514,7 +13598,7 @@ class BashEventsInfoNew(AbstractModel):
13514
13598
 
13515
13599
  @property
13516
13600
  def RuleLevel(self):
13517
- r"""规则等级:1-高 2-中 3-低
13601
+ r"""<p>规则等级:1-高 2-中 3-低</p>
13518
13602
  :rtype: int
13519
13603
  """
13520
13604
  return self._RuleLevel
@@ -13525,7 +13609,7 @@ class BashEventsInfoNew(AbstractModel):
13525
13609
 
13526
13610
  @property
13527
13611
  def Status(self):
13528
- r"""处理状态: 0 = 待处理 1= 已处理, 2 = 已加白, 3= 已忽略
13612
+ r"""<p>处理状态: 0 = 待处理 1= 已处理, 2 = 已加白, 3= 已忽略</p>
13529
13613
  :rtype: int
13530
13614
  """
13531
13615
  return self._Status
@@ -13536,7 +13620,7 @@ class BashEventsInfoNew(AbstractModel):
13536
13620
 
13537
13621
  @property
13538
13622
  def CreateTime(self):
13539
- r"""发生时间
13623
+ r"""<p>发生时间</p>
13540
13624
  :rtype: str
13541
13625
  """
13542
13626
  return self._CreateTime
@@ -13547,7 +13631,7 @@ class BashEventsInfoNew(AbstractModel):
13547
13631
 
13548
13632
  @property
13549
13633
  def MachineName(self):
13550
- r"""主机名
13634
+ r"""<p>主机名</p>
13551
13635
  :rtype: str
13552
13636
  """
13553
13637
  return self._MachineName
@@ -13558,7 +13642,7 @@ class BashEventsInfoNew(AbstractModel):
13558
13642
 
13559
13643
  @property
13560
13644
  def Exe(self):
13561
- r"""进程名称
13645
+ r"""<p>进程名称</p>
13562
13646
  :rtype: str
13563
13647
  """
13564
13648
  return self._Exe
@@ -13569,7 +13653,7 @@ class BashEventsInfoNew(AbstractModel):
13569
13653
 
13570
13654
  @property
13571
13655
  def ModifyTime(self):
13572
- r"""处理时间
13656
+ r"""<p>处理时间</p>
13573
13657
  :rtype: str
13574
13658
  """
13575
13659
  return self._ModifyTime
@@ -13580,7 +13664,7 @@ class BashEventsInfoNew(AbstractModel):
13580
13664
 
13581
13665
  @property
13582
13666
  def RuleCategory(self):
13583
- r"""规则类别 0=系统规则,1=用户规则
13667
+ r"""<p>规则类别 0=系统规则,1=用户规则</p>
13584
13668
  :rtype: int
13585
13669
  """
13586
13670
  return self._RuleCategory
@@ -13591,7 +13675,7 @@ class BashEventsInfoNew(AbstractModel):
13591
13675
 
13592
13676
  @property
13593
13677
  def RegexBashCmd(self):
13594
- r"""自动生成的正则表达式
13678
+ r"""<p>自动生成的正则表达式</p>
13595
13679
  :rtype: str
13596
13680
  """
13597
13681
  return self._RegexBashCmd
@@ -13602,7 +13686,7 @@ class BashEventsInfoNew(AbstractModel):
13602
13686
 
13603
13687
  @property
13604
13688
  def PsTree(self):
13605
- r"""进程树 json pid:进程id,exe:文件路径 ,account:进程所属用组和用户 ,cmdline:执行命令,ssh_service: SSH服务ip, ssh_soure:登录源
13689
+ r"""<p>进程树 json pid:进程id,exe:文件路径 ,account:进程所属用组和用户 ,cmdline:执行命令,ssh_service: SSH服务ip, ssh_soure:登录源</p>
13606
13690
  :rtype: str
13607
13691
  """
13608
13692
  return self._PsTree
@@ -13613,7 +13697,7 @@ class BashEventsInfoNew(AbstractModel):
13613
13697
 
13614
13698
  @property
13615
13699
  def SuggestScheme(self):
13616
- r"""建议方案
13700
+ r"""<p>建议方案</p>
13617
13701
  :rtype: str
13618
13702
  """
13619
13703
  return self._SuggestScheme
@@ -13624,7 +13708,7 @@ class BashEventsInfoNew(AbstractModel):
13624
13708
 
13625
13709
  @property
13626
13710
  def HarmDescribe(self):
13627
- r"""描述
13711
+ r"""<p>描述</p>
13628
13712
  :rtype: str
13629
13713
  """
13630
13714
  return self._HarmDescribe
@@ -13635,7 +13719,7 @@ class BashEventsInfoNew(AbstractModel):
13635
13719
 
13636
13720
  @property
13637
13721
  def Tags(self):
13638
- r"""标签
13722
+ r"""<p>标签</p>
13639
13723
  :rtype: list of str
13640
13724
  """
13641
13725
  return self._Tags
@@ -13646,7 +13730,7 @@ class BashEventsInfoNew(AbstractModel):
13646
13730
 
13647
13731
  @property
13648
13732
  def References(self):
13649
- r"""参考链接
13733
+ r"""<p>参考链接</p>
13650
13734
  :rtype: list of str
13651
13735
  """
13652
13736
  return self._References
@@ -13657,7 +13741,7 @@ class BashEventsInfoNew(AbstractModel):
13657
13741
 
13658
13742
  @property
13659
13743
  def MachineWanIp(self):
13660
- r"""主机外网ip
13744
+ r"""<p>主机外网ip</p>
13661
13745
  :rtype: str
13662
13746
  """
13663
13747
  return self._MachineWanIp
@@ -13668,7 +13752,7 @@ class BashEventsInfoNew(AbstractModel):
13668
13752
 
13669
13753
  @property
13670
13754
  def MachineStatus(self):
13671
- r"""主机在线状态 OFFLINE ONLINE
13755
+ r"""<p>主机在线状态 OFFLINE ONLINE</p>
13672
13756
  :rtype: str
13673
13757
  """
13674
13758
  return self._MachineStatus
@@ -13679,7 +13763,7 @@ class BashEventsInfoNew(AbstractModel):
13679
13763
 
13680
13764
  @property
13681
13765
  def User(self):
13682
- r"""登录用户
13766
+ r"""<p>登录用户</p>
13683
13767
  :rtype: str
13684
13768
  """
13685
13769
  return self._User
@@ -13690,7 +13774,7 @@ class BashEventsInfoNew(AbstractModel):
13690
13774
 
13691
13775
  @property
13692
13776
  def Pid(self):
13693
- r"""进程号
13777
+ r"""<p>进程号</p>
13694
13778
  :rtype: str
13695
13779
  """
13696
13780
  return self._Pid
@@ -13701,7 +13785,7 @@ class BashEventsInfoNew(AbstractModel):
13701
13785
 
13702
13786
  @property
13703
13787
  def MachineType(self):
13704
- r"""0:普通 1:专业版 2:旗舰版
13788
+ r"""<p>0:普通 1:专业版 2:旗舰版</p>
13705
13789
  :rtype: int
13706
13790
  """
13707
13791
  return self._MachineType
@@ -13712,7 +13796,7 @@ class BashEventsInfoNew(AbstractModel):
13712
13796
 
13713
13797
  @property
13714
13798
  def DetectBy(self):
13715
- r"""检测来源 0:bash日志 1:实时监控
13799
+ r"""<p>检测来源 0:bash日志 1:实时监控</p>
13716
13800
  :rtype: int
13717
13801
  """
13718
13802
  return self._DetectBy
@@ -13723,7 +13807,7 @@ class BashEventsInfoNew(AbstractModel):
13723
13807
 
13724
13808
  @property
13725
13809
  def BashCmdDecoded(self):
13726
- r"""执行命令(解码后)
13810
+ r"""<p>执行命令(解码后)</p>
13727
13811
  :rtype: str
13728
13812
  """
13729
13813
  return self._BashCmdDecoded
@@ -13732,6 +13816,149 @@ class BashEventsInfoNew(AbstractModel):
13732
13816
  def BashCmdDecoded(self, BashCmdDecoded):
13733
13817
  self._BashCmdDecoded = BashCmdDecoded
13734
13818
 
13819
+ @property
13820
+ def EventCount(self):
13821
+ r"""<p>告警次数:同一聚合维度当天的告警命中次数,老数据为空</p>
13822
+ :rtype: int
13823
+ """
13824
+ return self._EventCount
13825
+
13826
+ @EventCount.setter
13827
+ def EventCount(self, EventCount):
13828
+ self._EventCount = EventCount
13829
+
13830
+ @property
13831
+ def FirstDetectTime(self):
13832
+ r"""<p>首次发现时间(格式 yyyy-MM-dd HH:mm:ss)</p>
13833
+ :rtype: str
13834
+ """
13835
+ return self._FirstDetectTime
13836
+
13837
+ @FirstDetectTime.setter
13838
+ def FirstDetectTime(self, FirstDetectTime):
13839
+ self._FirstDetectTime = FirstDetectTime
13840
+
13841
+ @property
13842
+ def LatestDetectTime(self):
13843
+ r"""<p>最近发现时间(格式 yyyy-MM-dd HH:mm:ss)</p>
13844
+ :rtype: str
13845
+ """
13846
+ return self._LatestDetectTime
13847
+
13848
+ @LatestDetectTime.setter
13849
+ def LatestDetectTime(self, LatestDetectTime):
13850
+ self._LatestDetectTime = LatestDetectTime
13851
+
13852
+ @property
13853
+ def FileProcessMd5(self):
13854
+ r"""<p>进程MD5(文件监控行为独有)</p>
13855
+ :rtype: str
13856
+ """
13857
+ return self._FileProcessMd5
13858
+
13859
+ @FileProcessMd5.setter
13860
+ def FileProcessMd5(self, FileProcessMd5):
13861
+ self._FileProcessMd5 = FileProcessMd5
13862
+
13863
+ @property
13864
+ def FileAction(self):
13865
+ r"""<p>动作:进程对文件的操作,如 读/写/重命名/删除/清空内容(文件监控行为独有)</p>
13866
+ :rtype: str
13867
+ """
13868
+ return self._FileAction
13869
+
13870
+ @FileAction.setter
13871
+ def FileAction(self, FileAction):
13872
+ self._FileAction = FileAction
13873
+
13874
+ @property
13875
+ def FilePath(self):
13876
+ r"""<p>文件路径(文件监控行为独有)</p>
13877
+ :rtype: str
13878
+ """
13879
+ return self._FilePath
13880
+
13881
+ @FilePath.setter
13882
+ def FilePath(self, FilePath):
13883
+ self._FilePath = FilePath
13884
+
13885
+ @property
13886
+ def FileMd5(self):
13887
+ r"""<p>文件MD5(文件监控行为独有)</p>
13888
+ :rtype: str
13889
+ """
13890
+ return self._FileMd5
13891
+
13892
+ @FileMd5.setter
13893
+ def FileMd5(self, FileMd5):
13894
+ self._FileMd5 = FileMd5
13895
+
13896
+ @property
13897
+ def FileName(self):
13898
+ r"""<p>文件名称(文件监控行为独有)</p>
13899
+ :rtype: str
13900
+ """
13901
+ return self._FileName
13902
+
13903
+ @FileName.setter
13904
+ def FileName(self, FileName):
13905
+ self._FileName = FileName
13906
+
13907
+ @property
13908
+ def FileSize(self):
13909
+ r"""<p>文件大小(文件监控行为独有)</p>
13910
+ :rtype: str
13911
+ """
13912
+ return self._FileSize
13913
+
13914
+ @FileSize.setter
13915
+ def FileSize(self, FileSize):
13916
+ self._FileSize = FileSize
13917
+
13918
+ @property
13919
+ def FileModifyTime(self):
13920
+ r"""<p>文件修改时间(文件监控行为独有)</p>
13921
+ :rtype: str
13922
+ """
13923
+ return self._FileModifyTime
13924
+
13925
+ @FileModifyTime.setter
13926
+ def FileModifyTime(self, FileModifyTime):
13927
+ self._FileModifyTime = FileModifyTime
13928
+
13929
+ @property
13930
+ def FilePermission(self):
13931
+ r"""<p>文件权限(文件监控行为独有)</p>
13932
+ :rtype: str
13933
+ """
13934
+ return self._FilePermission
13935
+
13936
+ @FilePermission.setter
13937
+ def FilePermission(self, FilePermission):
13938
+ self._FilePermission = FilePermission
13939
+
13940
+ @property
13941
+ def FileAccessTime(self):
13942
+ r"""<p>文件访问时间</p>
13943
+ :rtype: str
13944
+ """
13945
+ return self._FileAccessTime
13946
+
13947
+ @FileAccessTime.setter
13948
+ def FileAccessTime(self, FileAccessTime):
13949
+ self._FileAccessTime = FileAccessTime
13950
+
13951
+ @property
13952
+ def BashType(self):
13953
+ r"""<p>高危命令事件类型</p><p>枚举值:</p><ul><li>filemon: 文件监控事件</li><li>connect: 外联行为事件</li><li>process: 进程启动事件</li></ul>
13954
+ :rtype: str
13955
+ """
13956
+ return self._BashType
13957
+
13958
+ @BashType.setter
13959
+ def BashType(self, BashType):
13960
+ self._BashType = BashType
13961
+
13735
13962
 
13736
13963
  def _deserialize(self, params):
13737
13964
  self._Id = params.get("Id")
@@ -13762,6 +13989,19 @@ class BashEventsInfoNew(AbstractModel):
13762
13989
  self._MachineType = params.get("MachineType")
13763
13990
  self._DetectBy = params.get("DetectBy")
13764
13991
  self._BashCmdDecoded = params.get("BashCmdDecoded")
13992
+ self._EventCount = params.get("EventCount")
13993
+ self._FirstDetectTime = params.get("FirstDetectTime")
13994
+ self._LatestDetectTime = params.get("LatestDetectTime")
13995
+ self._FileProcessMd5 = params.get("FileProcessMd5")
13996
+ self._FileAction = params.get("FileAction")
13997
+ self._FilePath = params.get("FilePath")
13998
+ self._FileMd5 = params.get("FileMd5")
13999
+ self._FileName = params.get("FileName")
14000
+ self._FileSize = params.get("FileSize")
14001
+ self._FileModifyTime = params.get("FileModifyTime")
14002
+ self._FilePermission = params.get("FilePermission")
14003
+ self._FileAccessTime = params.get("FileAccessTime")
14004
+ self._BashType = params.get("BashType")
13765
14005
  memeber_set = set(params.keys())
13766
14006
  for name, value in vars(self).items():
13767
14007
  property_name = name[1:]
@@ -13779,40 +14019,42 @@ class BashPolicy(AbstractModel):
13779
14019
 
13780
14020
  def __init__(self):
13781
14021
  r"""
13782
- :param _Name: 策略名称
14022
+ :param _Name: <p>策略名称</p>
13783
14023
  :type Name: str
13784
- :param _Enable: 1:有效 0:无效
14024
+ :param _Enable: <p>1:有效 0:无效</p>
13785
14025
  :type Enable: int
13786
- :param _White: 0:黑名单 1:白名单
14026
+ :param _White: <p>0:黑名单 1:白名单</p>
13787
14027
  :type White: int
13788
- :param _BashAction: 0:告警 1:白名单 2:拦截
14028
+ :param _BashAction: <p>0:告警 1:白名单 2:拦截</p>
13789
14029
  :type BashAction: int
13790
- :param _Rule: 正则表达式 base64 加密,该字段废弃,如果写入则自动替换为Rules.Process.CmdLine
14030
+ :param _Rule: <p>正则表达式 base64 加密,该字段废弃,如果写入则自动替换为Rules.Process.CmdLine</p>
13791
14031
  :type Rule: str
13792
- :param _Level: 危险等级(0:无,1: 高危 2:中危 3: 低危)
14032
+ :param _Level: <p>危险等级(0:无,1: 高危 2:中危 3: 低危)</p>
13793
14033
  :type Level: int
13794
- :param _Scope: 生效范围(0:一组quuid 1:所有专业版(包含旗舰版) 2:所有旗舰版 3:所有主机)
14034
+ :param _Scope: <p>生效范围(0:一组quuid 1:所有专业版(包含旗舰版) 2:所有旗舰版 3:所有主机)</p>
13795
14035
  :type Scope: int
13796
- :param _Id: 策略ID
14036
+ :param _Id: <p>策略ID</p>
13797
14037
  :type Id: int
13798
- :param _Descript: 策略描述
14038
+ :param _Descript: <p>策略描述</p>
13799
14039
  :type Descript: str
13800
- :param _EventId: 事件列表点击“加入白名单”时,需要传EventId 事件的id
14040
+ :param _EventId: <p>事件列表点击“加入白名单”时,需要传EventId 事件的id</p>
13801
14041
  :type EventId: int
13802
- :param _DealOldEvents: 是否处理旧事件为白名单 0=不处理 1=处理
14042
+ :param _DealOldEvents: <p>是否处理旧事件为白名单 0=不处理 1=处理</p>
13803
14043
  :type DealOldEvents: int
13804
- :param _Quuids: 生效主机的QUUID集合
14044
+ :param _Quuids: <p>生效主机的QUUID集合</p>
13805
14045
  :type Quuids: list of str
13806
- :param _Category: 策略类型,0:系统 1:用户
14046
+ :param _Category: <p>策略类型,0:系统 1:用户</p>
13807
14047
  :type Category: int
13808
- :param _CreateTime: 创建时间
14048
+ :param _CreateTime: <p>创建时间</p>
13809
14049
  :type CreateTime: str
13810
- :param _ModifyTime: 修改时间
14050
+ :param _ModifyTime: <p>修改时间</p>
13811
14051
  :type ModifyTime: str
13812
- :param _Uuids: 老版本兼容可能会用到
14052
+ :param _Uuids: <p>老版本兼容可能会用到</p>
13813
14053
  :type Uuids: list of str
13814
- :param _Rules: 规则表达式
14054
+ :param _Rules: <p>规则表达式</p>
13815
14055
  :type Rules: :class:`tencentcloud.cwp.v20180228.models.PolicyRules`
14056
+ :param _MatchType: <p>匹配类型:0-命令行(默认) 1-文件操作</p>
14057
+ :type MatchType: int
13816
14058
  """
13817
14059
  self._Name = None
13818
14060
  self._Enable = None
@@ -13831,10 +14073,11 @@ class BashPolicy(AbstractModel):
13831
14073
  self._ModifyTime = None
13832
14074
  self._Uuids = None
13833
14075
  self._Rules = None
14076
+ self._MatchType = None
13834
14077
 
13835
14078
  @property
13836
14079
  def Name(self):
13837
- r"""策略名称
14080
+ r"""<p>策略名称</p>
13838
14081
  :rtype: str
13839
14082
  """
13840
14083
  return self._Name
@@ -13845,7 +14088,7 @@ class BashPolicy(AbstractModel):
13845
14088
 
13846
14089
  @property
13847
14090
  def Enable(self):
13848
- r"""1:有效 0:无效
14091
+ r"""<p>1:有效 0:无效</p>
13849
14092
  :rtype: int
13850
14093
  """
13851
14094
  return self._Enable
@@ -13856,7 +14099,7 @@ class BashPolicy(AbstractModel):
13856
14099
 
13857
14100
  @property
13858
14101
  def White(self):
13859
- r"""0:黑名单 1:白名单
14102
+ r"""<p>0:黑名单 1:白名单</p>
13860
14103
  :rtype: int
13861
14104
  """
13862
14105
  return self._White
@@ -13867,7 +14110,7 @@ class BashPolicy(AbstractModel):
13867
14110
 
13868
14111
  @property
13869
14112
  def BashAction(self):
13870
- r"""0:告警 1:白名单 2:拦截
14113
+ r"""<p>0:告警 1:白名单 2:拦截</p>
13871
14114
  :rtype: int
13872
14115
  """
13873
14116
  return self._BashAction
@@ -13878,7 +14121,7 @@ class BashPolicy(AbstractModel):
13878
14121
 
13879
14122
  @property
13880
14123
  def Rule(self):
13881
- r"""正则表达式 base64 加密,该字段废弃,如果写入则自动替换为Rules.Process.CmdLine
14124
+ r"""<p>正则表达式 base64 加密,该字段废弃,如果写入则自动替换为Rules.Process.CmdLine</p>
13882
14125
  :rtype: str
13883
14126
  """
13884
14127
  return self._Rule
@@ -13889,7 +14132,7 @@ class BashPolicy(AbstractModel):
13889
14132
 
13890
14133
  @property
13891
14134
  def Level(self):
13892
- r"""危险等级(0:无,1: 高危 2:中危 3: 低危)
14135
+ r"""<p>危险等级(0:无,1: 高危 2:中危 3: 低危)</p>
13893
14136
  :rtype: int
13894
14137
  """
13895
14138
  return self._Level
@@ -13900,7 +14143,7 @@ class BashPolicy(AbstractModel):
13900
14143
 
13901
14144
  @property
13902
14145
  def Scope(self):
13903
- r"""生效范围(0:一组quuid 1:所有专业版(包含旗舰版) 2:所有旗舰版 3:所有主机)
14146
+ r"""<p>生效范围(0:一组quuid 1:所有专业版(包含旗舰版) 2:所有旗舰版 3:所有主机)</p>
13904
14147
  :rtype: int
13905
14148
  """
13906
14149
  return self._Scope
@@ -13911,7 +14154,7 @@ class BashPolicy(AbstractModel):
13911
14154
 
13912
14155
  @property
13913
14156
  def Id(self):
13914
- r"""策略ID
14157
+ r"""<p>策略ID</p>
13915
14158
  :rtype: int
13916
14159
  """
13917
14160
  return self._Id
@@ -13922,7 +14165,7 @@ class BashPolicy(AbstractModel):
13922
14165
 
13923
14166
  @property
13924
14167
  def Descript(self):
13925
- r"""策略描述
14168
+ r"""<p>策略描述</p>
13926
14169
  :rtype: str
13927
14170
  """
13928
14171
  return self._Descript
@@ -13933,7 +14176,7 @@ class BashPolicy(AbstractModel):
13933
14176
 
13934
14177
  @property
13935
14178
  def EventId(self):
13936
- r"""事件列表点击“加入白名单”时,需要传EventId 事件的id
14179
+ r"""<p>事件列表点击“加入白名单”时,需要传EventId 事件的id</p>
13937
14180
  :rtype: int
13938
14181
  """
13939
14182
  return self._EventId
@@ -13944,7 +14187,7 @@ class BashPolicy(AbstractModel):
13944
14187
 
13945
14188
  @property
13946
14189
  def DealOldEvents(self):
13947
- r"""是否处理旧事件为白名单 0=不处理 1=处理
14190
+ r"""<p>是否处理旧事件为白名单 0=不处理 1=处理</p>
13948
14191
  :rtype: int
13949
14192
  """
13950
14193
  return self._DealOldEvents
@@ -13955,7 +14198,7 @@ class BashPolicy(AbstractModel):
13955
14198
 
13956
14199
  @property
13957
14200
  def Quuids(self):
13958
- r"""生效主机的QUUID集合
14201
+ r"""<p>生效主机的QUUID集合</p>
13959
14202
  :rtype: list of str
13960
14203
  """
13961
14204
  return self._Quuids
@@ -13966,7 +14209,7 @@ class BashPolicy(AbstractModel):
13966
14209
 
13967
14210
  @property
13968
14211
  def Category(self):
13969
- r"""策略类型,0:系统 1:用户
14212
+ r"""<p>策略类型,0:系统 1:用户</p>
13970
14213
  :rtype: int
13971
14214
  """
13972
14215
  return self._Category
@@ -13977,7 +14220,7 @@ class BashPolicy(AbstractModel):
13977
14220
 
13978
14221
  @property
13979
14222
  def CreateTime(self):
13980
- r"""创建时间
14223
+ r"""<p>创建时间</p>
13981
14224
  :rtype: str
13982
14225
  """
13983
14226
  return self._CreateTime
@@ -13988,7 +14231,7 @@ class BashPolicy(AbstractModel):
13988
14231
 
13989
14232
  @property
13990
14233
  def ModifyTime(self):
13991
- r"""修改时间
14234
+ r"""<p>修改时间</p>
13992
14235
  :rtype: str
13993
14236
  """
13994
14237
  return self._ModifyTime
@@ -13999,7 +14242,7 @@ class BashPolicy(AbstractModel):
13999
14242
 
14000
14243
  @property
14001
14244
  def Uuids(self):
14002
- r"""老版本兼容可能会用到
14245
+ r"""<p>老版本兼容可能会用到</p>
14003
14246
  :rtype: list of str
14004
14247
  """
14005
14248
  return self._Uuids
@@ -14010,7 +14253,7 @@ class BashPolicy(AbstractModel):
14010
14253
 
14011
14254
  @property
14012
14255
  def Rules(self):
14013
- r"""规则表达式
14256
+ r"""<p>规则表达式</p>
14014
14257
  :rtype: :class:`tencentcloud.cwp.v20180228.models.PolicyRules`
14015
14258
  """
14016
14259
  return self._Rules
@@ -14019,6 +14262,17 @@ class BashPolicy(AbstractModel):
14019
14262
  def Rules(self, Rules):
14020
14263
  self._Rules = Rules
14021
14264
 
14265
+ @property
14266
+ def MatchType(self):
14267
+ r"""<p>匹配类型:0-命令行(默认) 1-文件操作</p>
14268
+ :rtype: int
14269
+ """
14270
+ return self._MatchType
14271
+
14272
+ @MatchType.setter
14273
+ def MatchType(self, MatchType):
14274
+ self._MatchType = MatchType
14275
+
14022
14276
 
14023
14277
  def _deserialize(self, params):
14024
14278
  self._Name = params.get("Name")
@@ -14040,6 +14294,7 @@ class BashPolicy(AbstractModel):
14040
14294
  if params.get("Rules") is not None:
14041
14295
  self._Rules = PolicyRules()
14042
14296
  self._Rules._deserialize(params.get("Rules"))
14297
+ self._MatchType = params.get("MatchType")
14043
14298
  memeber_set = set(params.keys())
14044
14299
  for name, value in vars(self).items():
14045
14300
  property_name = name[1:]
@@ -93076,20 +93331,26 @@ class PolicyRules(AbstractModel):
93076
93331
 
93077
93332
  def __init__(self):
93078
93333
  r"""
93079
- :param _Process: 进程
93334
+ :param _Process: <p>进程</p>
93080
93335
  :type Process: :class:`tencentcloud.cwp.v20180228.models.CommandLine`
93081
- :param _PProcess: 父进程
93336
+ :param _PProcess: <p>父进程</p>
93082
93337
  :type PProcess: :class:`tencentcloud.cwp.v20180228.models.CommandLine`
93083
- :param _AProcess: 祖先进程
93338
+ :param _AProcess: <p>祖先进程</p>
93084
93339
  :type AProcess: :class:`tencentcloud.cwp.v20180228.models.CommandLine`
93340
+ :param _FilePath: <p>目标文件路径(匹配类型=文件操作时有效)</p>
93341
+ :type FilePath: str
93342
+ :param _FileActions: <p>动作列表(匹配类型=文件操作时有效,多选为或关系):read-读 write-写 rename-重命名 delete-删除 truncate-清空内容</p>
93343
+ :type FileActions: list of str
93085
93344
  """
93086
93345
  self._Process = None
93087
93346
  self._PProcess = None
93088
93347
  self._AProcess = None
93348
+ self._FilePath = None
93349
+ self._FileActions = None
93089
93350
 
93090
93351
  @property
93091
93352
  def Process(self):
93092
- r"""进程
93353
+ r"""<p>进程</p>
93093
93354
  :rtype: :class:`tencentcloud.cwp.v20180228.models.CommandLine`
93094
93355
  """
93095
93356
  return self._Process
@@ -93100,7 +93361,7 @@ class PolicyRules(AbstractModel):
93100
93361
 
93101
93362
  @property
93102
93363
  def PProcess(self):
93103
- r"""父进程
93364
+ r"""<p>父进程</p>
93104
93365
  :rtype: :class:`tencentcloud.cwp.v20180228.models.CommandLine`
93105
93366
  """
93106
93367
  return self._PProcess
@@ -93111,7 +93372,7 @@ class PolicyRules(AbstractModel):
93111
93372
 
93112
93373
  @property
93113
93374
  def AProcess(self):
93114
- r"""祖先进程
93375
+ r"""<p>祖先进程</p>
93115
93376
  :rtype: :class:`tencentcloud.cwp.v20180228.models.CommandLine`
93116
93377
  """
93117
93378
  return self._AProcess
@@ -93120,6 +93381,28 @@ class PolicyRules(AbstractModel):
93120
93381
  def AProcess(self, AProcess):
93121
93382
  self._AProcess = AProcess
93122
93383
 
93384
+ @property
93385
+ def FilePath(self):
93386
+ r"""<p>目标文件路径(匹配类型=文件操作时有效)</p>
93387
+ :rtype: str
93388
+ """
93389
+ return self._FilePath
93390
+
93391
+ @FilePath.setter
93392
+ def FilePath(self, FilePath):
93393
+ self._FilePath = FilePath
93394
+
93395
+ @property
93396
+ def FileActions(self):
93397
+ r"""<p>动作列表(匹配类型=文件操作时有效,多选为或关系):read-读 write-写 rename-重命名 delete-删除 truncate-清空内容</p>
93398
+ :rtype: list of str
93399
+ """
93400
+ return self._FileActions
93401
+
93402
+ @FileActions.setter
93403
+ def FileActions(self, FileActions):
93404
+ self._FileActions = FileActions
93405
+
93123
93406
 
93124
93407
  def _deserialize(self, params):
93125
93408
  if params.get("Process") is not None:
@@ -93131,6 +93414,8 @@ class PolicyRules(AbstractModel):
93131
93414
  if params.get("AProcess") is not None:
93132
93415
  self._AProcess = CommandLine()
93133
93416
  self._AProcess._deserialize(params.get("AProcess"))
93417
+ self._FilePath = params.get("FilePath")
93418
+ self._FileActions = params.get("FileActions")
93134
93419
  memeber_set = set(params.keys())
93135
93420
  for name, value in vars(self).items():
93136
93421
  property_name = name[1:]
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tencentcloud-sdk-python-cwp
3
- Version: 3.1.181
3
+ Version: 3.1.190
4
4
  Summary: Tencent Cloud Cwp SDK for Python
5
5
  Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
6
6
  Author: Tencent Cloud
@@ -15,7 +15,7 @@ Classifier: Programming Language :: Python :: 2.7
15
15
  Classifier: Programming Language :: Python :: 3
16
16
  Classifier: Programming Language :: Python :: 3.6
17
17
  Classifier: Programming Language :: Python :: 3.7
18
- Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.181
18
+ Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.190
19
19
 
20
20
  ============================
21
21
  Tencent Cloud SDK for Python
@@ -0,0 +1 @@
1
+ tencentcloud-sdk-python-common<4.0.0,>=3.1.190
@@ -1 +0,0 @@
1
- tencentcloud-sdk-python-common<4.0.0,>=3.1.181