Skip to main content

Connectors

Cloud visibility: Connectors (1.0.0)

Download OpenAPI specification:Download

API for interacting with cloud connectors.

Cloud connectors

Get cloud connectors

Returns a collection of cloud connectors.

Authorizations:
bearerAuth
query Parameters
page_number
integer >= 1
Default: 1

The page number.

page_size
integer >= 1
Default: 100

The maximum number of items in the response.

Responses

Response samples

Content type
application/json
{
  • "pagination": {
    },
  • "items": [
    ]
}

Add cloud connector configuration

Creates a cloud connector configuration for any supported cloud connector type.

Authorizations:
bearerAuth
Request Body schema: application/json
required
type
required
string
Enum: "AwsS3" "AzureBlob"

The cloud connector type.

CloudConnectorSaveAWSRequest (object) or CloudConnectorSaveAzureRequest (object)

The cloud connector details.

One of
bucketName
required
string

The AWS bucket name.

reportPrefix
required
string

The AWS report prefix.

reportName
required
string

The AWS report name.

region
required
string

The AWS region.

accessKey
required
string

The AWS access key.

secretKey
required
string

The AWS secret key.

Responses

Request samples

Content type
application/json
Example
{
  • "type": "AwsS3",
  • "connectionDetails": {
    }
}

Response samples

Content type
application/json
{
  • "id": "523fei31e32u1295231l579e",
  • "name": "Azure Snow",
  • "type": "Azure",
  • "createdAt": "2019-08-24T14:15:22Z",
  • "status": {
    }
}

Get retrieval information

Returns a collection of retrieval details for a given cloud connector.

Authorizations:
bearerAuth
path Parameters
id
required
string

The unique ID of the cloud connector for which the retrieval details are returned.

query Parameters
page_number
integer >= 1
Default: 1

The page number.

page_size
integer >= 1
Default: 100

The maximum number of items in the response.

Responses

Response samples

Content type
application/json
{
  • "pagination": {
    },
  • "items": [
    ]
}

Update credentials

Modifies the credentials for a given cloud connector.

Authorizations:
bearerAuth
path Parameters
id
required
string

The unique ID of the cloud connector for which the credentials are modified.

Request Body schema: application/merge-patch+json
required
required
CloudConnectorUpdateCredentialsAWSRequest (object) or CloudConnectorUpdateCredentialsAzureRequest (object)

The cloud connector credentials.

One of
accessKey
required
string

The AWS access key.

secretKey
required
string

The AWS secret key.

Responses

Request samples

Content type
application/merge-patch+json
Example
{
  • "credentials": {
    }
}

Response samples

Content type
application/json
{
  • "id": "523fei31e32u1295231l579e",
  • "name": "Azure Snow",
  • "type": "Azure",
  • "createdAt": "2019-08-24T14:15:22Z",
  • "status": {
    }
}

Delete cloud connector

Removes the given cloud connector.

Authorizations:
bearerAuth
path Parameters
id
required
string

The unique ID of the cloud connector for which the credentials are deleted.

Responses

Response samples

Content type
application/json
{ }

Validate report name

Validates that the given report name is unique across the given cloud connector type. This validation is also done when a cloud connector configuration is created.

Authorizations:
bearerAuth
Request Body schema: application/json
required
type
required
string
Enum: "AwsS3" "AzureBlob"

The cloud connector type.

name
required
string

The cloud connector name.

Responses

Request samples

Content type
application/json
Example
{
  • "type": "AwsS3",
  • "name": "datareport"
}

Response samples

Content type
application/json
{
  • "unique": true
}

Test cloud connector configuration

Tests the cloud connector configuration for any supported cloud connector type. This test is also done when a cloud connector configuration is created.

Authorizations:
bearerAuth
Request Body schema: application/json
required
type
required
string
Enum: "AwsS3" "AzureBlob"

The cloud connector type.

CloudConnectorSaveAWSRequest (object) or CloudConnectorSaveAzureRequest (object)

The cloud connector details.

One of
bucketName
required
string

The AWS bucket name.

reportPrefix
required
string

The AWS report prefix.

reportName
required
string

The AWS report name.

region
required
string

The AWS region.

accessKey
required
string

The AWS access key.

secretKey
required
string

The AWS secret key.

Responses

Request samples

Content type
application/json
Example
{
  • "type": "AwsS3",
  • "connectionDetails": {
    }
}

Response samples

Content type
application/json
{
  • "status": {
    }
}