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

# POST /codesecurity/scan-configuration/list

`POST /codesecurity/scan-configuration/list`

Lists all code security scan configurations in your account.

## Query parameters

- `nextToken` string
- `maxResults` integer

## Response `200`

Success

- ListCodeSecurityScanConfigurationsResponse
  - `configurations` CodeSecurityScanConfigurationSummary[] — A list of code security scan configuration summaries.
    - `scanConfigurationArn` string, required — The Amazon Resource Name (ARN) of the scan configuration.
    - `name` string, required — The name of the scan configuration.
    - `ownerAccountId` string, required — The Amazon Web Services account ID that owns the scan configuration.
    - `periodicScanFrequency` 'WEEKLY' | 'MONTHLY' | 'NEVER' — The frequency at which periodic scans are performed.
    - `frequencyExpression` string — The schedule expression for periodic scans, in cron format.
    - `continuousIntegrationScanSupportedEvents` ContinuousIntegrationScanEvent[] — The repository events that trigger continuous integration scans.
    - `ruleSetCategories` RuleSetCategory[], required — The categories of security rules applied during the scan.
    - `scopeSettings` object — The scope settings that define which repositories will be scanned. If the <code>ScopeSetting</code> parameter is <code>ALL</code> the scan configuration applies to all existing and future projects imported into Amazon Inspector.
      - `projectSelectionScope` 'ALL' — The scope of projects to be selected for scanning within the integrated repositories. Setting the value to <code>ALL</code> applies the scope settings to all existing and future projects imported into Amazon Inspector.
    - `tags` object — The tags associated with the scan configuration.
  - `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. For subsequent calls, use the NextToken value returned from the previous request to continue listing results after the first page.

## Other responses

- `480` — AccessDeniedException
- `481` — ValidationException
- `482` — ThrottlingException
- `483` — ResourceNotFoundException
- `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)
