Creates a note for a security alert event.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-sas:CreateSuspEventNote |
create |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| EventId |
integer |
Yes |
The ID of the alert event for which you want to add a note. Call DescribeSuspEvents to obtain the alert event ID. |
668931 |
| Note |
string |
Yes |
The note to add. |
Ignore |
| ResourceDirectoryAccountId |
integer |
No |
The Alibaba Cloud account ID of the member account in the resource directory. Note
Invoke DescribeMonitorAccounts to obtain this parameter. |
127608589417**** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| Success |
boolean |
The result of the alert event processing. Valid values:
|
true |
| Code |
string |
The result code. A value of 200 indicates success. Other values indicate failure. You can use this field to determine the cause of the failure. |
200 |
| Message |
string |
The detailed information about the error code. |
There was an error with your request. |
| RequestId |
string |
The request ID. It is a unique identifier generated by Alibaba Cloud for the request and can be used to troubleshoot issues. |
7E0618A9-D5EF-4220-9471-C42B5E92719F |
| HttpStatusCode |
integer |
The HTTP status code. |
200 |
Examples
Success response
JSON format
{
"Success": true,
"Code": "200",
"Message": "There was an error with your request.",
"RequestId": "7E0618A9-D5EF-4220-9471-C42B5E92719F",
"HttpStatusCode": 200
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | NoPermission | no permission | |
| 400 | RdCheckNoPermission | Resource directory account verification has no permission. | |
| 500 | ServerError | ServerError | |
| 500 | RdCheckInnerError | Resource directory account service internal error. | |
| 403 | NoPermission | caller has no permission | You are not authorized to do this operation. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.