Retrieve all connected CloudTrail resources
GET/v1/log-shipping/cloudtrails
Returns a list of CloudTrail resources connected to your Logz.io account.
Note: This endpoint requires permissions that must be set by our Support team. Please email help@logz.io for assistance. Please ensure to change the region in the URL to match your account's region.
Request
Responses
- 200
successful operation
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- ]
id int32
Logz.io ID of the CloudTrail connector. Use this ID to perform operations on the connector using Logz.io API endpoints.
accessKey string
AWS S3 access key
bucket string
AWS S3 bucket name
prefix string
Prefix of the AWS S3 bucket
active boolean
If true
, the CloudTrail connector is active and logs are being shipped to Logz.io. If false
, the connector is disabled.
[
{
"id": 15,
"accessKey": "ee07df5801500745419c6dff",
"bucket": "cloudtrails bucket",
"prefix": "AWSLogs/7364988021587/myprefix",
"active": true
}
]
Loading...