Skip to content

Creates a connector to a third-party cloud provider in Security Hub CSPM

Description

Creates a connector to a third-party cloud provider in Security Hub CSPM. A connector establishes a connection between Security Hub CSPM and a third-party cloud provider, enabling Security Hub CSPM to ingest security findings and resource data from the connected environment.

Usage

securityhub_create_connector(Name, Description, Provider, Tags,
  ClientToken)

Arguments

  • Name

    [required] The name of the connector. Must be unique within the account.

  • Description

    The description of the connector.

  • Provider

    [required] The configuration for the cloud provider to connect to. Currently supports Azure.

  • Tags

    The tags to add to the connector resource.

  • ClientToken

    A unique identifier used to ensure idempotency of the request.

Value

A list with the following syntax:

list(
  ConnectorArn = "string",
  ConnectorId = "string",
  ConnectorStatus = "CONNECTED"|"DEGRADED"|"FAILED_TO_CONNECT"|"UNKNOWN",
  EnablementStatus = "ENABLED"|"PENDING_ENABLEMENT"|"PENDING_UPDATE"|"PENDING_DELETION"
)

Request syntax

svc$create_connector(
  Name = "string",
  Description = "string",
  Provider = list(
    Azure = list(
      AWSConfigConnectorArn = "string",
      ScopeConfiguration = list(
        ScopeType = "TENANT"|"SUBSCRIPTION",
        ScopeValues = list(
          "string"
        )
      ),
      AzureRegions = list(
        "string"
      )
    )
  ),
  Tags = list(
    "string"
  ),
  ClientToken = "string"
)