---
title: "Get Rules Count"
method: GET
path: "/security/v1/misconfigurations/rules/count"
tags: ["Misconfiguration"]
---

# Get Rules Count

`GET /security/v1/misconfigurations/rules/count`

Rules are configuration checks that detect misconfigurations in your cloud environment.
Rules are cloud service provider specific. A rule is mapped to one or more controls.
This API returns the list of rules that can determine the state of a specific control.

## Parameters

- `#/paths/~1security~1v1~1misconfigurations/get/parameters/0` — unresolved $ref
- `#/paths/~1security~1v1~1misconfigurations~1rules/get/parameters/1` — unresolved $ref
- `#/paths/~1security~1v1~1misconfigurations~1rules/get/parameters/2` — unresolved $ref
- `#/paths/~1security~1v1~1misconfigurations/get/parameters/8` — unresolved $ref

## Response `200`

Successful Response

- Schema — unresolved $ref

## 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)
