Skip to content

Create Code Security Integration

inspector2_create_code_security_integration R Documentation

Creates a code security integration with a source code repository provider

Description

Creates a code security integration with a source code repository provider.

After calling the create_code_security_integration operation, you complete authentication and authorization with your provider. Next you call the update_code_security_integration operation to provide the details to complete the integration setup

Usage

inspector2_create_code_security_integration(name, type, details, tags)

Arguments

name

[required] The name of the code security integration.

type

[required] The type of repository provider for the integration.

details

The integration details specific to the repository provider type.

tags

The tags to apply to the code security integration.

Value

A list with the following syntax:

list(
  integrationArn = "string",
  status = "PENDING"|"IN_PROGRESS"|"ACTIVE"|"INACTIVE"|"DISABLING",
  authorizationUrl = "string"
)

Request syntax

svc$create_code_security_integration(
  name = "string",
  type = "GITLAB_SELF_MANAGED"|"GITHUB",
  details = list(
    gitlabSelfManaged = list(
      instanceUrl = "string",
      accessToken = "string"
    )
  ),
  tags = list(
    "string"
  )
)