ImageEventOperationProps
Properties for defining a ImageEventOperation.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-threatdetection-imageeventoperation
Initializer
import { ImageEventOperationProps } from '@alicloud/ros-cdk-threatdetection'
const imageEventOperationProps: ImageEventOperationProps = { ... }
Properties
| Name | Type | Description |
|---|---|---|
conditions | @alicloud/ros-cdk-core.IResolvable | {[ key: string ]: any} | Property conditions: The rule conditions. |
eventType | string | @alicloud/ros-cdk-core.IResolvable | Property eventType: Image Event Type. |
operationCode | string | @alicloud/ros-cdk-core.IResolvable | Property operationCode: Event Operation Code. |
eventKey | string | @alicloud/ros-cdk-core.IResolvable | Property eventKey: The keyword of the alert item. |
eventName | string | @alicloud/ros-cdk-core.IResolvable | Property eventName: The name of the alert item. |
note | string | @alicloud/ros-cdk-core.IResolvable | Property note: The remarks that you want to add. |
scenarios | @alicloud/ros-cdk-core.IResolvable | {[ key: string ]: any} | Property scenarios: The application scope of the rule. |
source | string | @alicloud/ros-cdk-core.IResolvable | Property source: The source of the whitelist. |
conditionsRequired
public readonly conditions: IResolvable | {[ key: string ]: any};
- Type: @alicloud/ros-cdk-core.IResolvable | {[ key: string ]: any}
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 readonly eventType: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property eventType: Image Event Type.
operationCodeRequired
public readonly operationCode: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property operationCode: Event Operation Code.
eventKeyOptional
public readonly eventKey: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property eventKey: The keyword of the alert item.
eventNameOptional
public readonly eventName: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property eventName: The name of the alert item.
noteOptional
public readonly note: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property note: The remarks that you want to add.
scenariosOptional
public readonly scenarios: IResolvable | {[ key: string ]: any};
- Type: @alicloud/ros-cdk-core.IResolvable | {[ key: string ]: any}
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 readonly source: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property source: The source of the whitelist.
Valid values: * default: image. * agentless: agentless detection.