Get CloudWatch log configuration from appliance
get/appliances/{id}/cloudwatchlogconfig
SecurityTrend Micro Cloud One API Key
Request
Responses
200
OK
401
Unauthorized
403
Forbidden
404
The appliance is not found, or it does not support this API.
Response samples
- 200
application/json
{- "totalCount": 0,
- "next": "string",
- "logTypes": [
- {
- "logGroupName": "ips",
- "logStreamName": "system_i-0123456789abcdef",
- "logName": "audit",
- "enable": "true"
}
]
}
Set CloudWatch log configuration in appliance
post/appliances/{id}/cloudwatchlogconfig
SecurityTrend Micro Cloud One API Key
Request
Request Body schema: application/json
List of CloudWatch log Configurations
Responses
200
OK
201
Created
401
Unauthorized
403
Forbidden
404
The appliance is not found, or it does not support this API.
409
The configuration's 'logName' or 'logStreamName' is not unique.
Request samples
- Payload
application/json
{- "totalCount": 0,
- "next": "string",
- "logTypes": [
- {
- "logGroupName": "ips",
- "logStreamName": "system_i-0123456789abcdef",
- "logName": "audit",
- "enable": "true"
}
]
}
Response samples
- 200
application/json
{- "totalCount": 0,
- "next": "string",
- "logTypes": [
- {
- "logGroupName": "ips",
- "logStreamName": "system_i-0123456789abcdef",
- "logName": "audit",
- "enable": "true"
}
]
}