Skip to content

ImageEventOperationProps

Properties for defining a ImageEventOperation.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-threatdetection-imageeventoperation

Initializer

import com.aliyun.ros.cdk.threatdetection.ImageEventOperationProps;
ImageEventOperationProps.builder()
    .conditions(IResolvable)
    .conditions(java.util.Map<java.lang.String, java.lang.Object>)
    .eventType(java.lang.String)
    .eventType(IResolvable)
    .operationCode(java.lang.String)
    .operationCode(IResolvable)
//  .eventKey(java.lang.String)
//  .eventKey(IResolvable)
//  .eventName(java.lang.String)
//  .eventName(IResolvable)
//  .note(java.lang.String)
//  .note(IResolvable)
//  .scenarios(IResolvable)
//  .scenarios(java.util.Map<java.lang.String, java.lang.Object>)
//  .source(java.lang.String)
//  .source(IResolvable)
    .build();

Properties

Name Type Description
conditions com.aliyun.ros.cdk.core.IResolvable OR java.util.Map Property conditions: The rule conditions.
eventType java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property eventType: Image Event Type.
operationCode java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property operationCode: Event Operation Code.
eventKey java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property eventKey: The keyword of the alert item.
eventName java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property eventName: The name of the alert item.
note java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property note: The remarks that you want to add.
scenarios com.aliyun.ros.cdk.core.IResolvable OR java.util.Map Property scenarios: The application scope of the rule.
source java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property source: The source of the whitelist.

conditionsRequired

public java.lang.Object getConditions();
  • Type: com.aliyun.ros.cdk.core.IResolvable OR java.util.Map

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 java.lang.Object getEventType();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property eventType: Image Event Type.


operationCodeRequired

public java.lang.Object getOperationCode();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property operationCode: Event Operation Code.


eventKeyOptional

public java.lang.Object getEventKey();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property eventKey: The keyword of the alert item.


eventNameOptional

public java.lang.Object getEventName();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property eventName: The name of the alert item.


noteOptional

public java.lang.Object getNote();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property note: The remarks that you want to add.


scenariosOptional

public java.lang.Object getScenarios();
  • Type: com.aliyun.ros.cdk.core.IResolvable OR java.util.Map

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 java.lang.Object getSource();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property source: The source of the whitelist.

Valid values:

  • default: image.
  • agentless: agentless detection.