Class: TencentCloud::Cwp::V20180228::FileTamperRule

Inherits:
TencentCloud::Common::AbstractModel
  • Object
show all
Defined in:
lib/v20180228/models.rb

Overview

核心文件监控规则

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(processpath = nil, target = nil, action = nil, fileaction = nil, args = nil) ⇒ FileTamperRule

Returns a new instance of FileTamperRule.



29540
29541
29542
29543
29544
29545
29546
# File 'lib/v20180228/models.rb', line 29540

def initialize(processpath=nil, target=nil, action=nil, fileaction=nil, args=nil)
  @ProcessPath = processpath
  @Target = target
  @Action = action
  @FileAction = fileaction
  @Args = args
end

Instance Attribute Details

#ActionObject

<li>read 读取文件</li> <li>write 修改文件</li> <li>read-write 读取修改文件</li>

Parameters:

  • ProcessPath:

    进程路径

  • Target:

    被访问文件路径

  • Action:

    执行动作 跳过:skip,告警:alert

  • FileAction:

    监控行为

  • Args:

    命令行参数 没有填*



29538
29539
29540
# File 'lib/v20180228/models.rb', line 29538

def Action
  @Action
end

#ArgsObject

<li>read 读取文件</li> <li>write 修改文件</li> <li>read-write 读取修改文件</li>

Parameters:

  • ProcessPath:

    进程路径

  • Target:

    被访问文件路径

  • Action:

    执行动作 跳过:skip,告警:alert

  • FileAction:

    监控行为

  • Args:

    命令行参数 没有填*



29538
29539
29540
# File 'lib/v20180228/models.rb', line 29538

def Args
  @Args
end

#FileActionObject

<li>read 读取文件</li> <li>write 修改文件</li> <li>read-write 读取修改文件</li>

Parameters:

  • ProcessPath:

    进程路径

  • Target:

    被访问文件路径

  • Action:

    执行动作 跳过:skip,告警:alert

  • FileAction:

    监控行为

  • Args:

    命令行参数 没有填*



29538
29539
29540
# File 'lib/v20180228/models.rb', line 29538

def FileAction
  @FileAction
end

#ProcessPathObject

<li>read 读取文件</li> <li>write 修改文件</li> <li>read-write 读取修改文件</li>

Parameters:

  • ProcessPath:

    进程路径

  • Target:

    被访问文件路径

  • Action:

    执行动作 跳过:skip,告警:alert

  • FileAction:

    监控行为

  • Args:

    命令行参数 没有填*



29538
29539
29540
# File 'lib/v20180228/models.rb', line 29538

def ProcessPath
  @ProcessPath
end

#TargetObject

<li>read 读取文件</li> <li>write 修改文件</li> <li>read-write 读取修改文件</li>

Parameters:

  • ProcessPath:

    进程路径

  • Target:

    被访问文件路径

  • Action:

    执行动作 跳过:skip,告警:alert

  • FileAction:

    监控行为

  • Args:

    命令行参数 没有填*



29538
29539
29540
# File 'lib/v20180228/models.rb', line 29538

def Target
  @Target
end

Instance Method Details

#deserialize(params) ⇒ Object



29548
29549
29550
29551
29552
29553
29554
# File 'lib/v20180228/models.rb', line 29548

def deserialize(params)
  @ProcessPath = params['ProcessPath']
  @Target = params['Target']
  @Action = params['Action']
  @FileAction = params['FileAction']
  @Args = params['Args']
end