Add a GCP cloud account
Provided valid authorization and GCP OIDC configuration details, adds the GCP cloud account to the Trend Micro Cloud One account.
Request Body schema: application/json
GCP Cloud account created
Bad Request + specific error message
Valid authentication was not provided
Unauthorized
This indicates a request conflict with the current state of the target resource
You have made too many requests too quickly. Check the Retry-After
header for an indication of when you might be able to try again.
Internal server error
The service is temporarily unavailable, likely due to maintenance. It
should be available soon, check the Retry-After
header for an
indication of when you might be able to try again.
- Payload
{- "workloadIdentityPoolID": "cloud-one-workload-identity-pool",
- "oidcProviderID": "cloud-one-oidc-provider",
- "serviceAccountID": "123456789012345678901",
- "projectNumber": "123456789012",
- "alias": "production account",
- "description": "Production Project #1"
}
- 201
- 400
- 401
- 403
- 409
- 429
- 500
- 503
{- "workloadIdentityPoolID": "cloud-one-workload-identity-pool",
- "oidcProviderID": "cloud-one-oidc-provider",
- "projectNumber": "012345678910",
- "serviceAccountID": "123456789012345678901",
- "projectCount": "1",
- "created": "2020-07-10T07:02:10Z",
- "lastModified": "2020-07-10T07:02:10Z",
- "alias": "production account",
- "description": "Corp ABC production account",
- "state": "managed"
}
List all GCP cloud accounts managed by Trend Micro Cloud One
Provided valid authorization, lists all GCP cloud accounts managed by Trend Micro Cloud One
query Parameters
List of GCP cloud accounts
Bad Request + specific error message
Valid authentication was not provided
Unauthorized
You have made too many requests too quickly. Check the Retry-After
header for an indication of when you might be able to try again.
Internal server error
The service is temporarily unavailable, likely due to maintenance. It
should be available soon, check the Retry-After
header for an
indication of when you might be able to try again.
- 200
- 400
- 401
- 403
- 429
- 500
- 503
{- "cloudAccounts": [
- {
- "workloadIdentityPoolID": "cloud-one-workload-identity-pool",
- "oidcProviderID": "cloud-one-oidc-provider",
- "projectNumber": "012345678910",
- "serviceAccountID": "123456789012345678901",
- "projectCount": "1",
- "created": "2020-07-10T07:02:10Z",
- "lastModified": "2020-07-10T07:02:10Z",
- "alias": "production account",
- "description": "Corp ABC production account",
- "state": "managed"
}
], - "next": "dGhpcyB2YWx1ZSBpcyBvcGFxdWUsIGRlY29kaW5nIGl0IHdvbid0IGJlIHVzZWZ1bAo="
}
Modify a GCP cloud account
Provided valid authorization and GCP cloud account details, modifies the GCP cloud account details stored in the Trend Micro Cloud One account.
path Parameters
Request Body schema: application/json
GCP cloud account modified
Bad Request + specific error message
Valid authentication was not provided
Unauthorized
Not Found
You have made too many requests too quickly. Check the Retry-After
header for an indication of when you might be able to try again.
Internal server error
The service is temporarily unavailable, likely due to maintenance. It
should be available soon, check the Retry-After
header for an
indication of when you might be able to try again.
- Payload
{- "alias": "production account",
- "description": "Production Project #1"
}
- 200
- 400
- 401
- 403
- 404
- 429
- 500
- 503
{- "workloadIdentityPoolID": "cloud-one-workload-identity-pool",
- "oidcProviderID": "cloud-one-oidc-provider",
- "projectNumber": "012345678910",
- "serviceAccountID": "123456789012345678901",
- "projectCount": "1",
- "created": "2020-07-10T07:02:10Z",
- "lastModified": "2020-07-10T07:02:10Z",
- "alias": "production account",
- "description": "Corp ABC production account",
- "state": "managed"
}
Remove a GCP cloud account
Provided valid authorization and the GCP Service Account ID, removes the GCP cloud account from the Trend Micro Cloud One account.
GCP cloud account deleted
Bad Request + specific error message
Valid authentication was not provided
Unauthorized
You have made too many requests too quickly. Check the Retry-After
header for an indication of when you might be able to try again.
Internal server error
The service is temporarily unavailable, likely due to maintenance. It
should be available soon, check the Retry-After
header for an
indication of when you might be able to try again.
- 400
- 401
- 403
- 429
- 500
- 503
{- "code": "invalid-feature",
- "message": "There was a problem with your request. Review the indicated field for more details.",
- "fields": {
- "features": "The requested features were invalid: cloud-sentry"
}
}
Describe GCP project
Provided valid authorization and a GCP project ID describe the given project
Details of the GCP project
Bad Request + specific error message
Valid authentication was not provided
Unauthorized
Not Found
You have made too many requests too quickly. Check the Retry-After
header for an indication of when you might be able to try again.
Internal server error
The service is temporarily unavailable, likely due to maintenance. It
should be available soon, check the Retry-After
header for an
indication of when you might be able to try again.
- 200
- 400
- 401
- 403
- 404
- 429
- 500
- 503
{- "projectID": "gcp-project-1",
- "serviceAccountEmail": "service-account@project-id.iam.gserviceaccount.com"
}
Get GCP Deployment Terraform Template
Provided valid authorization, returns the GCP Deployment Terraform Template. The Deployment Terraform Template is needed to deploy the resources required for Trend Micro Cloud One to access your GCP resources.
The details for creating the GCP Deployment Terraform Template
Bad Request + specific error message
Valid authentication was not provided
Unauthorized
Not Found
You have made too many requests too quickly. Check the Retry-After
header for an indication of when you might be able to try again.
Internal server error
The service is temporarily unavailable, likely due to maintenance. It
should be available soon, check the Retry-After
header for an
indication of when you might be able to try again.
- 400
- 401
- 403
- 404
- 429
- 500
- 503
{- "code": "invalid-feature",
- "message": "There was a problem with your request. Review the indicated field for more details.",
- "fields": {
- "features": "The requested features were invalid: cloud-sentry"
}
}
List all GCP projects managed by Trend Micro Cloud One
Provided valid authorization, lists all GCP projects associated with a GCP cloud account
GCP projects associated with the GCP cloud account
Bad Request + specific error message
Valid authentication was not provided
Unauthorized
Not Found
You have made too many requests too quickly. Check the Retry-After
header for an indication of when you might be able to try again.
Internal server error
The service is temporarily unavailable, likely due to maintenance. It
should be available soon, check the Retry-After
header for an
indication of when you might be able to try again.
- 200
- 400
- 401
- 403
- 404
- 429
- 500
- 503
{- "projects": [
- {
- "projectID": "gcp-project-1",
- "projectName": "GCP Project 1"
}
], - "next": "dGhpcyB2YWx1ZSBpcyBvcGFxdWUsIGRlY29kaW5nIGl0IHdvbid0IGJlIHVzZWZ1bAo="
}