---
title: "GET /security-profiles"
method: GET
path: "/security-profiles"
---

# GET /security-profiles

`GET /security-profiles`

Lists the Device Defender security profiles you've created. You can filter security profiles by dimension or custom metric.

Requires permission to access the [ListSecurityProfiles](https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsiot.html#awsiot-actions-as-permissions) action.

`dimensionName` and `metricName` cannot be used in the same request.

## Query parameters

- `nextToken` string
- `maxResults` integer
- `dimensionName` string
- `metricName` string

## Response `200`

Success

- ListSecurityProfilesResponse
  - `securityProfileIdentifiers` SecurityProfileIdentifier[] — A list of security profile identifiers (names and ARNs).
    - `name` string, required — The name you've given to the security profile.
    - `arn` string, required — The ARN of the security profile.
  - `nextToken` string — A token that can be used to retrieve the next set of results, or <code>null</code> if there are no additional results.

## Other responses

- `480` — InvalidRequestException
- `481` — ThrottlingException
- `482` — InternalFailureException
- `483` — ResourceNotFoundException

---

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