Queries the types of anomalous events.
Debugging
Authorization information
There is currently no authorization information disclosed in the API.
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
Lang | string | No | The language of the content within the request and response. Valid values:
| zh |
ParentTypeId | long | No | The type of anomalous event for which you want to query the anomalous events of subtypes. Valid values:
| 01 |
ResourceId | integer | No | The type of the resource. Valid values include 1, 2, 3, 4, and 5. The value 1 indicates MaxCompute. The value 2 indicates Object Storage Service (OSS). The value 3 indicates AnalyticDB for MySQL. The value 4 indicates Tablestore. The value 5 indicates ApsaraDB RDS. | 5 |
Status | integer | No | The status of the anomalous event. Valid values:
| 1 |
FeatureType | integer | No | This parameter is deprecated. | 2 |
Response parameters
Examples
Sample success responses
JSON
format
{
"RequestId": "769FB3C1-F4C9-42DF-9B72-7077A8989C13",
"EventTypeList": [
{
"Code": "01",
"Description": "Anomalous permission usage,\\*\\*\\*\\*\n",
"Name": "Anomalous permission usage\n",
"Id": 1,
"SubTypeList": [
{
"Status": 1,
"Description": "Inappropriate configuration-No protection for the MaxCompute sensitive project, \\*\\*\\*\\*\n",
"ConfigContentType": 1,
"EventHitCount": 2,
"ConfigValue": "90",
"ConfigCode": "0100**",
"Code": "020008",
"ConfigDescription": "The period of time for which the permission is not used exceeds the threshold. The specified threshold is ${value} calendar days.\n",
"Name": "Inappropriate configuration-No protection for the MaxCompute sensitive project\n",
"AdaptedProduct": "RDS",
"Id": 1
}
]
}
]
}
Error codes
For a list of error codes, visit the Service error codes.
Change history
Change time | Summary of changes | Operation | ||||
---|---|---|---|---|---|---|
2024-03-25 | The request parameters of the API has changed | see changesets | ||||
|