Skip to content

AuditCallbackProps

Properties for defining a AuditCallback.

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

Initializer

import "github.com/alibabacloud-go/ros-cdk/alicloudroscdkaligreen"
&alicloudroscdkaligreen.AuditCallbackProps {
    AuditCallbackName: interface{},
    CallbackSuggestions: interface{},
    CallbackTypes: interface{},
    CryptType: interface{},
    Url: interface{},
}

Properties

Name Type Description
AuditCallbackName interface{} Property auditCallbackName: The AuditCallback name defined by the customer.
CallbackSuggestions interface{} Property callbackSuggestions: List of audit results supported by message notification.
CallbackTypes interface{} Property callbackTypes: A list of Callback types.
CryptType interface{} 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 interface{} Property url: The detection result will be called back to the url.

AuditCallbackNameRequired

AuditCallbackName interface{}
  • Type: interface{}

Property auditCallbackName: The AuditCallback name defined by the customer.

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


CallbackSuggestionsRequired

CallbackSuggestions interface{}
  • Type: interface{}

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

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


CallbackTypesRequired

CallbackTypes interface{}
  • Type: interface{}

Property callbackTypes: A list of Callback types.

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


CryptTypeRequired

CryptType interface{}
  • Type: interface{}

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

Url interface{}
  • Type: interface{}

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