WebLockConfigProps
Properties for defining a WebLockConfig.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-threatdetection-weblockconfig
Initializer
import { WebLockConfigProps } from '@alicloud/ros-cdk-threatdetection'
const webLockConfigProps: WebLockConfigProps = { ... }
Properties
| Name | Type | Description |
|---|---|---|
defenceMode | string | @alicloud/ros-cdk-core.IResolvable | Property defenceMode: The prevention mode. |
dir | string | @alicloud/ros-cdk-core.IResolvable | Property dir: The directory for which you want to enable web tamper proofing. |
localBackupDir | string | @alicloud/ros-cdk-core.IResolvable | Property localBackupDir: The local path to the backup files of the protected directory.\ The directory format of a Linux server is different from that of a Windows server. You must enter the directory in the required format based on your operating system. Examples: * Linux server: \/usr\/local\/aegis\/bak * Windows server: C:\Program Files (x86)\xxx\Aegis\bak. |
uuid | string | @alicloud/ros-cdk-core.IResolvable | Property uuid: The UUID of the server for which you want to add a directory to protect. |
exclusiveDir | string | @alicloud/ros-cdk-core.IResolvable | Property exclusiveDir: The directory for which you want to disable web tamper proofing. |
exclusiveFile | string | @alicloud/ros-cdk-core.IResolvable | Property exclusiveFile: The file for which you want to disable web tamper proofing. |
exclusiveFileType | string | @alicloud/ros-cdk-core.IResolvable | Property exclusiveFileType: The type of file for which you want to disable web tamper proofing. |
inclusiveFile | string | @alicloud/ros-cdk-core.IResolvable | Property inclusiveFile: The file that has web tamper proofing enabled. |
inclusiveFileType | string | @alicloud/ros-cdk-core.IResolvable | Property inclusiveFileType: The type of file for which you want to enable web tamper proofing. |
mode | string | @alicloud/ros-cdk-core.IResolvable | Property mode: The protection mode of web tamper proofing. |
defenceModeRequired
public readonly defenceMode: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property defenceMode: The prevention mode.
Valid values: * block: Interception Mode * audit: Alert Mode.
dirRequired
public readonly dir: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property dir: The directory for which you want to enable web tamper proofing.
localBackupDirRequired
public readonly localBackupDir: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property localBackupDir: The local path to the backup files of the protected directory.\ The directory format of a Linux server is different from that of a Windows server. You must enter the directory in the required format based on your operating system. Examples: * Linux server: \/usr\/local\/aegis\/bak * Windows server: C:\Program Files (x86)\xxx\Aegis\bak.
uuidRequired
public readonly uuid: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property uuid: The UUID of the server for which you want to add a directory to protect.
You can call the DescribeCloudCenterInstances operation to query the UUIDs of servers.
exclusiveDirOptional
public readonly exclusiveDir: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property exclusiveDir: The directory for which you want to disable web tamper proofing.
If you set Mode to blacklist, you must specify this parameter.
exclusiveFileOptional
public readonly exclusiveFile: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property exclusiveFile: The file for which you want to disable web tamper proofing.
If you set Mode to blacklist, you must specify this parameter.
exclusiveFileTypeOptional
public readonly exclusiveFileType: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property exclusiveFileType: The type of file for which you want to disable web tamper proofing.
Separate multiple types with semicolons (;). Valid values: * php * jsp * asp * aspx * js * cgi * html * htm * xml * shtml * shtm * jpg * gif * png
If you set Mode to blacklist, you must specify this parameter.
inclusiveFileOptional
public readonly inclusiveFile: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property inclusiveFile: The file that has web tamper proofing enabled.
If the value of Mode is whitelist, this parameter is returned.
inclusiveFileTypeOptional
public readonly inclusiveFileType: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property inclusiveFileType: The type of file for which you want to enable web tamper proofing.
Separate multiple types with semicolons (;). Valid values: * php * jsp * asp * aspx * js * cgi * html * htm * xml * shtml * shtm * jpg * gif * png
If you set Mode to whitelist, you must specify this parameter.
modeOptional
public readonly mode: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property mode: The protection mode of web tamper proofing.
Valid values: * whitelist: In this mode, web tamper proofing is enabled for the specified directories and file types. * blacklist: In this mode, web tamper proofing is enabled for the unspecified sub-directories, file types, and files in the protected directories.