ClientFileProtectProps
Properties for defining a ClientFileProtect.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-threatdetection-clientfileprotect
Initializer
import "github.com/alibabacloud-go/ros-cdk/alicloudroscdkthreatdetection"
&alicloudroscdkthreatdetection.ClientFileProtectProps {
FileOps: interface{},
FilePaths: interface{},
ProcPaths: interface{},
RuleAction: interface{},
RuleName: interface{},
AlertLevel: interface{},
Platform: interface{},
Status: interface{},
SwitchId: interface{},
}
Properties
| Name | Type | Description |
|---|---|---|
FileOps | interface{} | Property fileOps: The operations that you want to perform on the files. |
FilePaths | interface{} | Property filePaths: The paths to the monitored files. |
ProcPaths | interface{} | Property procPaths: The paths to the monitored processes. |
RuleAction | interface{} | Property ruleAction: The handling method of the rule. |
RuleName | interface{} | Property ruleName: The name of the rule. |
AlertLevel | interface{} | Property alertLevel: The severity of alerts. |
Platform | interface{} | Property platform: The type of the operating system. |
Status | interface{} | Property status: Rule status. |
SwitchId | interface{} | Property switchId: The switch ID of the rule. |
FileOpsRequired
FileOps interface{}
- Type: interface{}
Property fileOps: The operations that you want to perform on the files.
FilePathsRequired
FilePaths interface{}
- Type: interface{}
Property filePaths: The paths to the monitored files.
Wildcard characters are supported.
ProcPathsRequired
ProcPaths interface{}
- Type: interface{}
Property procPaths: The paths to the monitored processes.
RuleActionRequired
RuleAction interface{}
- Type: interface{}
Property ruleAction: The handling method of the rule.
Valid values:
- pass: allow
- alert.
RuleNameRequired
RuleName interface{}
- Type: interface{}
Property ruleName: The name of the rule.
AlertLevelOptional
AlertLevel interface{}
- Type: interface{}
Property alertLevel: The severity of alerts.
Valid values:
- 0: does not generate alerts
- 1: sends notifications
- 2: suspicious
- 3: high-risk.
PlatformOptional
Platform interface{}
- Type: interface{}
Property platform: The type of the operating system.
Valid values:
- windows: Windows
- linux: Linux.
StatusOptional
Status interface{}
- Type: interface{}
Property status: Rule status.
1: Enabled 0: Not enabled
SwitchIdOptional
SwitchId interface{}
- Type: interface{}
Property switchId: The switch ID of the rule.