Skip to content

AuditCallbackProps

Properties for defining a AuditCallback.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-aligreen-auditcallback

Initializer

import com.aliyun.ros.cdk.aligreen.AuditCallbackProps;
AuditCallbackProps.builder()
    .auditCallbackName(java.lang.String)
    .auditCallbackName(IResolvable)
    .callbackSuggestions(IResolvable)
    .callbackSuggestions(java.util.List<java.lang.String)
    .callbackSuggestions(IResolvable>)
    .callbackTypes(IResolvable)
    .callbackTypes(java.util.List<java.lang.String)
    .callbackTypes(IResolvable>)
    .cryptType(java.lang.String)
    .cryptType(IResolvable)
    .url(java.lang.String)
    .url(IResolvable)
    .build();

Properties

Name Type Description
auditCallbackName java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property auditCallbackName: The AuditCallback name defined by the customer.
callbackSuggestions com.aliyun.ros.cdk.core.IResolvable OR java.util.List Property callbackSuggestions: List of audit results supported by message notification.
callbackTypes com.aliyun.ros.cdk.core.IResolvable OR java.util.List Property callbackTypes: A list of Callback types.
cryptType java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property cryptType: The encryption algorithm is used to verify that the callback request is sent by the content security service to your business service.
url java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property url: The detection result will be called back to the url.

auditCallbackNameRequired

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

Property auditCallbackName: The AuditCallback name defined by the customer.

It can contain no more than 20 characters in Chinese, English, underscore (_), and digits.


callbackSuggestionsRequired

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

Property callbackSuggestions: List of audit results supported by message notification.

Value: block: confirmed violation, review: Suspected violation, pass: normal.


callbackTypesRequired

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

Property callbackTypes: A list of Callback types.

Value: machineScan: Machine audit result notification, selfAudit: self-service audit notification.


cryptTypeRequired

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

Property cryptType: The encryption algorithm is used to verify that the callback request is sent by the content security service to your business service.

The value is SHA256:SHA256 encryption algorithm and SM3: SM3 encryption algorithm.


urlRequired

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

Property url: The detection result will be called back to the url.