---
title: "Get Compliances"
method: GET
path: "/security/v1/compliances"
tags: ["Compliance"]
---

# Get Compliances

`GET /security/v1/compliances`

A cyber security compliance determines how compliant an asset is. It checks against specific security standards.
This API returns list of all compliances supported in Spot.
A compliance consists of one or more controls.

## Query parameters

- `paginationKey` string — Token of the page to return.
- `paginationSize` integer — Number of items to return per page.

## Response `200`

Successful Response

- object
  - `error` object
    - `code` string, required
    - `message` string, required
  - `request` object, required
    - `body` object, required
    - `id` string, required
    - `method` string, required
    - `queryParameters` object, required
    - `timestamp` string, required
    - `url` string, required
  - `response` object
    - `count` integer — The number of items.
    - `items` object[], required — The array of objects in this response. The length of the array is according to the 'count' attribute.
      - `complianceName` string
    - `paginationInfo` object, required
      - `nextKey` string — Each API call has a unique token. This is the token for the next page of results.
      - `paginationSize` integer — The maximum number of items in the page. The attribute 'item' indicates the actual number of items in the page.
      - `previousKey` string — Each API call has a unique token. This is the token for the previous page of results.
    - `status` object, required
      - `code` integer, required
      - `message` string, required
  - `responseTime` number

## Other responses

- `400` — Bad Request
- `404` — Not Found
- `422` — Validation Error

---

[API](https://skmtc.net/spot/apis/spot-by-flexera-api.md) · [All operations](https://skmtc.net/spot/apis/spot-by-flexera-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/spot/spot-by-flexera-api/revisions/72813baf8d47/schema)
