Skip to content

ClientFileProtectProps

Properties for defining a ClientFileProtect.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-threatdetection-clientfileprotect

Initializer

import com.aliyun.ros.cdk.threatdetection.ClientFileProtectProps;
ClientFileProtectProps.builder()
    .fileOps(IResolvable)
    .fileOps(java.util.List<java.lang.String)
    .fileOps(IResolvable>)
    .filePaths(IResolvable)
    .filePaths(java.util.List<java.lang.String)
    .filePaths(IResolvable>)
    .procPaths(IResolvable)
    .procPaths(java.util.List<java.lang.String)
    .procPaths(IResolvable>)
    .ruleAction(java.lang.String)
    .ruleAction(IResolvable)
    .ruleName(java.lang.String)
    .ruleName(IResolvable)
//  .alertLevel(java.lang.Number)
//  .alertLevel(IResolvable)
//  .platform(java.lang.String)
//  .platform(IResolvable)
//  .status(java.lang.Number)
//  .status(IResolvable)
//  .switchId(java.lang.String)
//  .switchId(IResolvable)
    .build();

Properties

Name Type Description
fileOps com.aliyun.ros.cdk.core.IResolvable OR java.util.List Property fileOps: The operations that you want to perform on the files.
filePaths com.aliyun.ros.cdk.core.IResolvable OR java.util.List Property filePaths: The paths to the monitored files.
procPaths com.aliyun.ros.cdk.core.IResolvable OR java.util.List Property procPaths: The paths to the monitored processes.
ruleAction java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property ruleAction: The handling method of the rule.
ruleName java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property ruleName: The name of the rule.
alertLevel java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable Property alertLevel: The severity of alerts.
platform java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property platform: The type of the operating system.
status java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable Property status: Rule status.
switchId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property switchId: The switch ID of the rule.

fileOpsRequired

public java.lang.Object getFileOps();
  • Type: com.aliyun.ros.cdk.core.IResolvable OR java.util.List

Property fileOps: The operations that you want to perform on the files.


filePathsRequired

public java.lang.Object getFilePaths();
  • Type: com.aliyun.ros.cdk.core.IResolvable OR java.util.List

Property filePaths: The paths to the monitored files.

Wildcard characters are supported.


procPathsRequired

public java.lang.Object getProcPaths();
  • Type: com.aliyun.ros.cdk.core.IResolvable OR java.util.List

Property procPaths: The paths to the monitored processes.


ruleActionRequired

public java.lang.Object getRuleAction();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property ruleAction: The handling method of the rule.

Valid values:

  • pass: allow
  • alert.

ruleNameRequired

public java.lang.Object getRuleName();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property ruleName: The name of the rule.


alertLevelOptional

public java.lang.Object getAlertLevel();
  • Type: java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable

Property alertLevel: The severity of alerts.

Valid values:

  • 0: does not generate alerts
  • 1: sends notifications
  • 2: suspicious
  • 3: high-risk.

platformOptional

public java.lang.Object getPlatform();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property platform: The type of the operating system.

Valid values:

  • windows: Windows
  • linux: Linux.

statusOptional

public java.lang.Object getStatus();
  • Type: java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable

Property status: Rule status.

1: Enabled 0: Not enabled


switchIdOptional

public java.lang.Object getSwitchId();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property switchId: The switch ID of the rule.