AuditCallbackProps
Properties for defining a AuditCallback
.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-aligreen-auditcallback
Initializer
import { AuditCallbackProps } from '@alicloud/ros-cdk-aligreen'
const auditCallbackProps: AuditCallbackProps = { ... }
Properties
Name | Type | Description |
---|---|---|
auditCallbackName |
string | @alicloud/ros-cdk-core.IResolvable |
Property auditCallbackName: The AuditCallback name defined by the customer. |
callbackSuggestions |
@alicloud/ros-cdk-core.IResolvable | string | @alicloud/ros-cdk-core.IResolvable[] |
Property callbackSuggestions: List of audit results supported by message notification. |
callbackTypes |
@alicloud/ros-cdk-core.IResolvable | string | @alicloud/ros-cdk-core.IResolvable[] |
Property callbackTypes: A list of Callback types. |
cryptType |
string | @alicloud/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 |
string | @alicloud/ros-cdk-core.IResolvable |
Property url: The detection result will be called back to the url. |
auditCallbackName
Required
public readonly auditCallbackName: string | IResolvable;
- Type: string | @alicloud/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.
callbackSuggestions
Required
public readonly callbackSuggestions: IResolvable | string | IResolvable[];
- Type: @alicloud/ros-cdk-core.IResolvable | string | @alicloud/ros-cdk-core.IResolvable[]
Property callbackSuggestions: List of audit results supported by message notification.
Value: block: confirmed violation, review: Suspected violation, pass: normal.
callbackTypes
Required
public readonly callbackTypes: IResolvable | string | IResolvable[];
- Type: @alicloud/ros-cdk-core.IResolvable | string | @alicloud/ros-cdk-core.IResolvable[]
Property callbackTypes: A list of Callback types.
Value: machineScan: Machine audit result notification, selfAudit: self-service audit notification.
cryptType
Required
public readonly cryptType: string | IResolvable;
- Type: string | @alicloud/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.
url
Required
public readonly url: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property url: The detection result will be called back to the url.