Skip to content

List Code Security Scan Configuration Associations

inspector2_list_code_security_scan_configuration_associations R Documentation

Lists the associations between code repositories and Amazon Inspector code security scan configurations

Description

Lists the associations between code repositories and Amazon Inspector code security scan configurations.

Usage

inspector2_list_code_security_scan_configuration_associations(
  scanConfigurationArn, nextToken, maxResults)

Arguments

scanConfigurationArn

[required] The Amazon Resource Name (ARN) of the scan configuration to list associations for.

nextToken

A token to use for paginating results that are returned in the response. Set the value of this parameter to null for the first request to a list action. For subsequent calls, use the NextToken value returned from the previous request to continue listing results after the first page.

maxResults

The maximum number of results to return in the response. If your request would return more than the maximum the response will return a nextToken value, use this value when you call the action again to get the remaining results.

Value

A list with the following syntax:

list(
  associations = list(
    list(
      resource = list(
        projectId = "string"
      )
    )
  ),
  nextToken = "string"
)

Request syntax

svc$list_code_security_scan_configuration_associations(
  scanConfigurationArn = "string",
  nextToken = "string",
  maxResults = 123
)