Enables Simple Log Service.
Operation description
Before you begin
Activate Simple Log Service first, and create a service-linked role to authorize Security Center to access cloud resources. You can call the CreateServiceLinkedRole operation to create a service-linked role and authorize Security Center to access cloud resources.
Scenarios
Before you use the log analysis feature of Security Center, you must call the ModifyOpenLogShipper operation to enable Simple Log Service.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-sas:ModifyOpenLogShipper |
update |
*LogShipper
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| From |
string |
No |
The identifier of the request source. Default value: aegis. Valid values:
Note
If you use Server Guard, set this parameter to aegis. If you use Security Center, set this parameter to sas. |
sas |
| ResourceDirectoryAccountId |
integer |
No |
The ID of the member accounts (Alibaba Cloud account) in the resource folder. Note
You can invoke the DescribeMonitorAccounts operation to obtain this parameter. |
127608589417**** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The ID of the request. It is a unique identifier generated by Alibaba Cloud for the request and can be used to troubleshoot and locate issues. |
25EC270F-5783-4416-AD7C-1EDF063A039C |
Examples
Success response
JSON format
{
"RequestId": "25EC270F-5783-4416-AD7C-1EDF063A039C"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | IllegalHotTTL | The hot storage TTL is invalid. | The hot storage data must be stored for at least 7 days and must be less than the data storage time. |
| 400 | RdCheckNoPermission | Resource directory account verification has no permission. | |
| 500 | RdCheckInnerError | Resource directory account service internal error. | |
| 500 | ServerError | ServerError | |
| 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.