Skip to content

ClientFileProtectProps

Properties for defining a ClientFileProtect.

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

Initializer

import { ClientFileProtectProps } from '@alicloud/ros-cdk-threatdetection'
const clientFileProtectProps: ClientFileProtectProps = { ... }

Properties

Name Type Description
fileOps @alicloud/ros-cdk-core.IResolvable | string | @alicloud/ros-cdk-core.IResolvable[] Property fileOps: The operations that you want to perform on the files.
filePaths @alicloud/ros-cdk-core.IResolvable | string | @alicloud/ros-cdk-core.IResolvable[] Property filePaths: The paths to the monitored files.
procPaths @alicloud/ros-cdk-core.IResolvable | string | @alicloud/ros-cdk-core.IResolvable[] Property procPaths: The paths to the monitored processes.
ruleAction string | @alicloud/ros-cdk-core.IResolvable Property ruleAction: The handling method of the rule.
ruleName string | @alicloud/ros-cdk-core.IResolvable Property ruleName: The name of the rule.
alertLevel number | @alicloud/ros-cdk-core.IResolvable Property alertLevel: The severity of alerts.
platform string | @alicloud/ros-cdk-core.IResolvable Property platform: The type of the operating system.
status number | @alicloud/ros-cdk-core.IResolvable Property status: Rule status.
switchId string | @alicloud/ros-cdk-core.IResolvable Property switchId: The switch ID of the rule.

fileOpsRequired

public readonly fileOps: IResolvable | string | IResolvable[];
  • Type: @alicloud/ros-cdk-core.IResolvable | string | @alicloud/ros-cdk-core.IResolvable[]

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


filePathsRequired

public readonly filePaths: IResolvable | string | IResolvable[];
  • Type: @alicloud/ros-cdk-core.IResolvable | string | @alicloud/ros-cdk-core.IResolvable[]

Property filePaths: The paths to the monitored files.

Wildcard characters are supported.


procPathsRequired

public readonly procPaths: IResolvable | string | IResolvable[];
  • Type: @alicloud/ros-cdk-core.IResolvable | string | @alicloud/ros-cdk-core.IResolvable[]

Property procPaths: The paths to the monitored processes.


ruleActionRequired

public readonly ruleAction: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property ruleAction: The handling method of the rule.

Valid values: * pass: allow * alert.


ruleNameRequired

public readonly ruleName: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property ruleName: The name of the rule.


alertLevelOptional

public readonly alertLevel: number | IResolvable;
  • Type: number | @alicloud/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 readonly platform: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property platform: The type of the operating system.

Valid values: * windows: Windows * linux: Linux.


statusOptional

public readonly status: number | IResolvable;
  • Type: number | @alicloud/ros-cdk-core.IResolvable

Property status: Rule status.

1: Enabled 0: Not enabled


switchIdOptional

public readonly switchId: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property switchId: The switch ID of the rule.