ImageEventOperationProps
Properties for defining a ImageEventOperation.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-threatdetection-imageeventoperation
Initializer
using AlibabaCloud.SDK.ROS.CDK.Threatdetection;
new ImageEventOperationProps {
object Conditions,
object EventType,
object OperationCode,
object EventKey = null,
object EventName = null,
object Note = null,
object Scenarios = null,
object Source = null
};
Properties
| Name | Type | Description |
|---|---|---|
Conditions | object | Property conditions: The rule conditions. |
EventType | object | Property eventType: Image Event Type. |
OperationCode | object | Property operationCode: Event Operation Code. |
EventKey | object | Property eventKey: The keyword of the alert item. |
EventName | object | Property eventName: The name of the alert item. |
Note | object | Property note: The remarks that you want to add. |
Scenarios | object | Property scenarios: The application scope of the rule. |
Source | object | Property source: The source of the whitelist. |
ConditionsRequired
public object Conditions { get; set; }
- Type: object
Property conditions: The rule conditions.
Specify a value in the JSON format. You can specify the following keys:
- condition: the matching condition.
- type: the matching type.
- value: the matching value.
EventTypeRequired
public object EventType { get; set; }
- Type: object
Property eventType: Image Event Type.
OperationCodeRequired
public object OperationCode { get; set; }
- Type: object
Property operationCode: Event Operation Code.
EventKeyOptional
public object EventKey { get; set; }
- Type: object
Property eventKey: The keyword of the alert item.
EventNameOptional
public object EventName { get; set; }
- Type: object
Property eventName: The name of the alert item.
NoteOptional
public object Note { get; set; }
- Type: object
Property note: The remarks that you want to add.
ScenariosOptional
public object Scenarios { get; set; }
- Type: object
Property scenarios: The application scope of the rule.
The value is in the JSON format. Valid values of keys: type value Example: {"type": "repo", "value": "test-aaa/shenzhen-repo-01"}
SourceOptional
public object Source { get; set; }
- Type: object
Property source: The source of the whitelist.
Valid values:
- default: image.
- agentless: agentless detection.