Retrieves a list of alert whitelisting scenarios and objects.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-sas:DescribeAlertSceneByEvent |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| IncidentUuid |
string |
Yes |
The event ID. |
85ea4241-798f-4684-a876-65d4f0c3**** |
| RoleType |
integer |
No |
The view type.
|
1 |
| RoleFor |
integer |
No |
The user ID of the member. This parameter is used when an administrator switches to the perspective of a member. |
113091674488**** |
| RegionId |
string |
No |
The region of the Data Management center. Select a region based on the location of your assets. Valid values:
|
cn-hangzhou |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
BaseResponse<List |
||
| Data |
array<object> |
The data returned. |
123456 |
|
object |
|||
| AlertType |
string |
The display name of the alert type. The value varies based on the language settings. |
Unusual Logon |
| AlertTypeId |
string |
The identifier of the alert type. |
Unusual Logon |
| AlertName |
string |
The display name of the alert. The value varies based on the language settings. |
login_common_ip |
| AlertNameId |
string |
The identifier of the alert name. |
login_common_ip |
| AlertTile |
string |
The display title of the alert. The value varies based on the language settings. |
Unusual Logon-login_common_ip |
| AlertTileId |
string |
The identifier of the alert title. |
Unusual Logon-login_common_ip |
| Targets |
array<object> |
The objects to be whitelisted. |
[{"Type": "host_uuid","Value": "441862da-a539-4cc0-a00d-473955826881","Values": ["441862da-a539-4cc0-a00d-473955826881"],"Name": "${aliyun.siem.entity.host_uuid}"}] |
|
object |
|||
| Type |
string |
The field of the entity property that can be whitelisted. |
host_uuid |
| Name |
string |
The display name of the entity property field that can be whitelisted. |
host uuid |
| Value |
string |
The default right operand displayed for the whitelisting rule. |
441862da-a539-4cc0-a00d-47395582**** |
| Values |
array |
The available right operands for the whitelisting rule. |
["441862da-a539-4cc0-a00d-473955826881"] |
|
string |
The right operand. |
[441862da-a539-4cc0-a00d-47395582****] |
|
| Success |
boolean |
Indicates whether the request was successful. Valid values:
|
true |
| Code |
integer |
The status code of the request. |
200 |
| Message |
string |
The message returned for the request. |
success |
| RequestId |
string |
The request ID. |
9AAA9ED9-78F4-5021-86DC-D51C7511**** |
Examples
Success response
JSON format
{
"Data": [
{
"AlertType": "Unusual Logon",
"AlertTypeId": "Unusual Logon",
"AlertName": "login_common_ip",
"AlertNameId": "login_common_ip",
"AlertTile": "Unusual Logon-login_common_ip",
"AlertTileId": "Unusual Logon-login_common_ip",
"Targets": [
{
"Type": "host_uuid",
"Name": "host uuid",
"Value": "441862da-a539-4cc0-a00d-47395582****",
"Values": [
"[441862da-a539-4cc0-a00d-47395582****]"
]
}
]
}
],
"Success": true,
"Code": 200,
"Message": "success",
"RequestId": "9AAA9ED9-78F4-5021-86DC-D51C7511****"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 500 | InternalError | The request processing has failed due to some unknown error. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.