Skip to content

Updates a CSPM connector's configuration, such as the scope or regions for the connected cloud provider

Description

Updates a CSPM connector's configuration, such as the scope or regions for the connected cloud provider.

Usage

securityhub_update_connector(ConnectorId, Description, Provider)

Arguments

  • ConnectorId

    [required] The unique identifier of the connector to update.

  • Description

    The updated description of the connector.

  • Provider

    The updated cloud provider configuration for the connector.

Value

A list with the following syntax:

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

Request syntax

svc$update_connector(
  ConnectorId = "string",
  Description = "string",
  Provider = list(
    Azure = list(
      ScopeConfiguration = list(
        ScopeType = "TENANT"|"SUBSCRIPTION",
        ScopeValues = list(
          "string"
        )
      ),
      AzureRegions = list(
        "string"
      )
    )
  )
)