WebLockConfigProps
Properties for defining a WebLockConfig.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-threatdetection-weblockconfig
Initializer
import "github.com/alibabacloud-go/ros-cdk/alicloudroscdkthreatdetection"
&alicloudroscdkthreatdetection.WebLockConfigProps {
DefenceMode: interface{},
Dir: interface{},
LocalBackupDir: interface{},
Uuid: interface{},
ExclusiveDir: interface{},
ExclusiveFile: interface{},
ExclusiveFileType: interface{},
InclusiveFile: interface{},
InclusiveFileType: interface{},
Mode: interface{},
}
Properties
| Name | Type | Description |
|---|---|---|
DefenceMode | interface{} | Property defenceMode: The prevention mode. |
Dir | interface{} | Property dir: The directory for which you want to enable web tamper proofing. |
LocalBackupDir | interface{} | 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 | interface{} | Property uuid: The UUID of the server for which you want to add a directory to protect. |
ExclusiveDir | interface{} | Property exclusiveDir: The directory for which you want to disable web tamper proofing. |
ExclusiveFile | interface{} | Property exclusiveFile: The file for which you want to disable web tamper proofing. |
ExclusiveFileType | interface{} | Property exclusiveFileType: The type of file for which you want to disable web tamper proofing. |
InclusiveFile | interface{} | Property inclusiveFile: The file that has web tamper proofing enabled. |
InclusiveFileType | interface{} | Property inclusiveFileType: The type of file for which you want to enable web tamper proofing. |
Mode | interface{} | Property mode: The protection mode of web tamper proofing. |
DefenceModeRequired
DefenceMode interface{}
- Type: interface{}
Property defenceMode: The prevention mode.
Valid values:
- block: Interception Mode
- audit: Alert Mode.
DirRequired
Dir interface{}
- Type: interface{}
Property dir: The directory for which you want to enable web tamper proofing.
LocalBackupDirRequired
LocalBackupDir interface{}
- Type: interface{}
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 interface{}
- Type: interface{}
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
ExclusiveDir interface{}
- Type: interface{}
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
ExclusiveFile interface{}
- Type: interface{}
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
ExclusiveFileType interface{}
- Type: interface{}
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
InclusiveFile interface{}
- Type: interface{}
Property inclusiveFile: The file that has web tamper proofing enabled.
If the value of Mode is whitelist, this parameter is returned.
InclusiveFileTypeOptional
InclusiveFileType interface{}
- Type: interface{}
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 interface{}
- Type: interface{}
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.