Queries the conditions for handling alert events in an image.
Debugging
Authorization information
There is currently no authorization information disclosed in the API.
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
EventType | string | No | The alert type.
| sensitiveFile |
Lang | string | No | The language of the content within the request and response. Default value: zh. Valid values:
| zh |
Response parameters
Examples
Sample success responses
JSON
format
{
"Data": {
"EventType": "sensitiveFile",
"Operations": [
{
"OperationCode": "whitelist",
"OperationName": "whitelist",
"Conditions": [
{
"ConditionKey": "MD5",
"ConditionName": "MD5",
"SupportedMisType": [
"contains"
]
}
]
}
],
"Scenarios": [
"{\\\"type\\\": \\\"repo\\\", \\\"value\\\": \\\"test-aaa/shenzhen-repo-01\\\"}"
]
},
"Success": true,
"Code": "200",
"Message": "successful",
"RequestId": "ADE57832-9666-511C-9A80-B87DE2E8****"
}
Error codes
HTTP status code | Error code | Error message | Description |
---|---|---|---|
403 | NoPermission | caller has no permission | You are not authorized to do this operation. |
500 | ServerError | ServerError | - |
For a list of error codes, visit the Service error codes.