---
title: "List Compliance posture SummaryByPolicies"
method: POST
path: "/compliance_posture/summary_by_policies"
tags: ["Compliance"]
---

# List Compliance posture SummaryByPolicies

`POST /compliance_posture/summary_by_policies`

Objective is to return all of the compliance posture SummaryByPolicies

## Query parameters

- `page` integer
- `limit` integer
- `search` string

## Request body

- ComplianceSummaryByPoliciesRequest
  - `tenant_id` string[], required — Specify the tenant ID. This is a unique ID and can be retrieved using the List Tenants API
  - `standards` string[] — compliance standards to filter policies
  - `policy_id` string[] — policies to filter
  - `services` string[] — Allowed services
  - `cloud_accounts` string[] — ID of the cloud account. This can be fetched from list cloud accounts API
  - `severity` string[] — severities to filter policies
  - `resource_type` string[] — resource types to filter policies

## Response `200`

Success

- ComplianceSummaryByPoliciesResponse
  - `total_count` string, required — total_count
  - `page_count` string, required — page_count
  - `policies` object, required — policies

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `500` — Internal Server Error

---

[API](https://skmtc.dev/corestack/apis/corestack-external-api.md) · [All operations](https://skmtc.dev/corestack/apis/corestack-external-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/corestack/corestack-external-api/revisions/bf2cdf20826d/schema)
