The File stores API returns a list of all storage units in the cloud account, and indicates which units are protected by File Storage Security and which are not. The storage unit type depends on your cloud accounts -- S3 buckets in AWS, storage accounts in Azure and storage buckets in GCP.
Prerequisite: To use the API you need a cloud account in Trend Micro Cloud One. See How to set up an AWS cloud account.
List File Stores
List the file storage units in your cloud accounts. The File Stores API can be run on your cloud accounts on a set schedule using a job scheduler. There will be some delay to see the latest file stores in the API response. You can check the 'monitoredBy' attribute to see whether a file storage unit is protected by File Storage Security or not. Currently, the API only supports listing S3 Buckets in AWS.
query Parameters
OK
Bad Request
Unauthorized
Forbidden
Too Many Requests
Internal Server Error
Service Unavailable
- 200
- 400
- 401
- 500
- 503
{- "fileStores": [
- {
- "name": "example-bucket",
- "provider": "aws",
- "providerAccount": "123456789012",
- "details": {
- "arn": "arn:aws:s3:::example-bucket",
- "monitoredBy": "60e53669-c8ef-4d0f-a8ff-3dbbb098d8ff"
}
}
], - "next": "dGhpcyB2YWx1ZSBpcyBvcGFxdWUsIGRlY29kaW5nIGl0IHdvbid0IGJlIHVzZWZ1bAo="
}