---
title: "POST /codesecurity/scan-configuration/associations/list"
method: POST
path: "/codesecurity/scan-configuration/associations/list"
---

# POST /codesecurity/scan-configuration/associations/list

`POST /codesecurity/scan-configuration/associations/list`

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

## Query parameters

- `nextToken` string
- `maxResults` integer

## Request body

- object
  - `scanConfigurationArn` string, required — arn:aws:inspector2:<region>:<account-id>:owner/<owner-id>/codesecurity-configuration/<uuid>

## Response `200`

Success

- ListCodeSecurityScanConfigurationAssociationsResponse
  - `associations` CodeSecurityScanConfigurationAssociationSummary[] — A list of associations between code repositories and scan configurations.
    - `resource` CodeSecurityResource — Identifies a specific resource in a code repository that will be scanned.
      - `projectId` string — The unique identifier of the project in the code repository.
  - `nextToken` string — 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 <code>NextToken</code> value returned from the previous request to continue listing results after the first page.

## Other responses

- `480` — AccessDeniedException
- `481` — ValidationException
- `482` — ResourceNotFoundException
- `483` — ThrottlingException
- `484` — InternalServerException

---

[API](https://skmtc.net/aws/apis/inspector2.md) · [All operations](https://skmtc.net/aws/apis/inspector2/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/aws/inspector2/versions/c51110c7cd43/schema)
