WebLockConfigProps
Properties for defining a WebLockConfig.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-threatdetection-weblockconfig
Initializer
import com.aliyun.ros.cdk.threatdetection.WebLockConfigProps;
WebLockConfigProps.builder()
.defenceMode(java.lang.String)
.defenceMode(IResolvable)
.dir(java.lang.String)
.dir(IResolvable)
.localBackupDir(java.lang.String)
.localBackupDir(IResolvable)
.uuid(java.lang.String)
.uuid(IResolvable)
// .exclusiveDir(java.lang.String)
// .exclusiveDir(IResolvable)
// .exclusiveFile(java.lang.String)
// .exclusiveFile(IResolvable)
// .exclusiveFileType(java.lang.String)
// .exclusiveFileType(IResolvable)
// .inclusiveFile(java.lang.String)
// .inclusiveFile(IResolvable)
// .inclusiveFileType(java.lang.String)
// .inclusiveFileType(IResolvable)
// .mode(java.lang.String)
// .mode(IResolvable)
.build();
Properties
| Name | Type | Description |
|---|---|---|
defenceMode | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Property defenceMode: The prevention mode. |
dir | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Property dir: The directory for which you want to enable web tamper proofing. |
localBackupDir | java.lang.String OR com.aliyun.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 | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Property uuid: The UUID of the server for which you want to add a directory to protect. |
exclusiveDir | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Property exclusiveDir: The directory for which you want to disable web tamper proofing. |
exclusiveFile | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Property exclusiveFile: The file for which you want to disable web tamper proofing. |
exclusiveFileType | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Property exclusiveFileType: The type of file for which you want to disable web tamper proofing. |
inclusiveFile | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Property inclusiveFile: The file that has web tamper proofing enabled. |
inclusiveFileType | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Property inclusiveFileType: The type of file for which you want to enable web tamper proofing. |
mode | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Property mode: The protection mode of web tamper proofing. |
defenceModeRequired
public java.lang.Object getDefenceMode();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property defenceMode: The prevention mode.
Valid values:
- block: Interception Mode
- audit: Alert Mode.
dirRequired
public java.lang.Object getDir();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property dir: The directory for which you want to enable web tamper proofing.
localBackupDirRequired
public java.lang.Object getLocalBackupDir();
- Type: java.lang.String OR com.aliyun.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 java.lang.Object getUuid();
- Type: java.lang.String OR com.aliyun.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 java.lang.Object getExclusiveDir();
- Type: java.lang.String OR com.aliyun.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 java.lang.Object getExclusiveFile();
- Type: java.lang.String OR com.aliyun.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 java.lang.Object getExclusiveFileType();
- Type: java.lang.String OR com.aliyun.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 java.lang.Object getInclusiveFile();
- Type: java.lang.String OR com.aliyun.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 java.lang.Object getInclusiveFileType();
- Type: java.lang.String OR com.aliyun.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 java.lang.Object getMode();
- Type: java.lang.String OR com.aliyun.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.