WebLockConfigProps
Properties for defining a WebLockConfig.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-threatdetection-weblockconfig
Initializer
import ros_cdk_threatdetection
ros_cdk_threatdetection.WebLockConfigProps(
defence_mode: typing.Union[str, IResolvable],
dir: typing.Union[str, IResolvable],
local_backup_dir: typing.Union[str, IResolvable],
uuid: typing.Union[str, IResolvable],
exclusive_dir: typing.Union[str, IResolvable] = None,
exclusive_file: typing.Union[str, IResolvable] = None,
exclusive_file_type: typing.Union[str, IResolvable] = None,
inclusive_file: typing.Union[str, IResolvable] = None,
inclusive_file_type: typing.Union[str, IResolvable] = None,
mode: typing.Union[str, IResolvable] = None
)
Properties
| Name | Type | Description |
|---|---|---|
defence_mode | typing.Union[str, ros_cdk_core.IResolvable] | Property defenceMode: The prevention mode. |
dir | typing.Union[str, ros_cdk_core.IResolvable] | Property dir: The directory for which you want to enable web tamper proofing. |
local_backup_dir | typing.Union[str, 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 | typing.Union[str, ros_cdk_core.IResolvable] | Property uuid: The UUID of the server for which you want to add a directory to protect. |
exclusive_dir | typing.Union[str, ros_cdk_core.IResolvable] | Property exclusiveDir: The directory for which you want to disable web tamper proofing. |
exclusive_file | typing.Union[str, ros_cdk_core.IResolvable] | Property exclusiveFile: The file for which you want to disable web tamper proofing. |
exclusive_file_type | typing.Union[str, ros_cdk_core.IResolvable] | Property exclusiveFileType: The type of file for which you want to disable web tamper proofing. |
inclusive_file | typing.Union[str, ros_cdk_core.IResolvable] | Property inclusiveFile: The file that has web tamper proofing enabled. |
inclusive_file_type | typing.Union[str, ros_cdk_core.IResolvable] | Property inclusiveFileType: The type of file for which you want to enable web tamper proofing. |
mode | typing.Union[str, ros_cdk_core.IResolvable] | Property mode: The protection mode of web tamper proofing. |
defence_modeRequired
defence_mode: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property defenceMode: The prevention mode.
Valid values:
- block: Interception Mode
- audit: Alert Mode.
dirRequired
dir: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property dir: The directory for which you want to enable web tamper proofing.
local_backup_dirRequired
local_backup_dir: typing.Union[str, IResolvable]
- Type: typing.Union[str, 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
uuid: typing.Union[str, IResolvable]
- Type: typing.Union[str, 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.
exclusive_dirOptional
exclusive_dir: typing.Union[str, IResolvable]
- Type: typing.Union[str, 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.
exclusive_fileOptional
exclusive_file: typing.Union[str, IResolvable]
- Type: typing.Union[str, 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.
exclusive_file_typeOptional
exclusive_file_type: typing.Union[str, IResolvable]
- Type: typing.Union[str, 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.
inclusive_fileOptional
inclusive_file: typing.Union[str, IResolvable]
- Type: typing.Union[str, 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.
inclusive_file_typeOptional
inclusive_file_type: typing.Union[str, IResolvable]
- Type: typing.Union[str, 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
mode: typing.Union[str, IResolvable]
- Type: typing.Union[str, 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.