---
title: "Get Access Violations"
method: GET
path: "/access/posture/view_violations"
tags: ["Access"]
---

# Get Access Violations

`GET /access/posture/view_violations`

Displays the violations based on the cloud provider

## Query parameters

- `services` 'AWS' | 'Azure' | 'AzureStack' | 'Azure_CSP' | 'Azure_CSP-Direct' | 'Azure_EA' | 'Azure_MCA' | 'Cloudstack' | 'GCP' | 'MS_VMM' | 'OCI' | 'Openstack' | 'PrivateCloud' | 'Rackspace' | 'VMware' | 'VMware_VCD' | 'vCenter', required
- `tenant_ids` string
- `search` string
- `page` integer
- `limit` integer

## Response `200`

Success

- ViewViolationResponse
  - `total_count` integer, required — Total violations count
  - `page_count` string, required — Count of number of pages
  - `details` ViewViolationModel[], required — Details of violation
    - `count` integer, required — Count of a particular violation in a particular cloud account
    - `category` string, required — Category under which a particular violation falls in a particular cloud account
    - `tenant_name` string, required — Tenant under which the cloud account resides
    - `name` string, required — Name of the violation
    - `cloud_account_id` string, required — ID of the cloud account
    - `violation_category` string, required — Category of a violation i.e. standards/utilization
    - `cloud_account_name` string, required — Cloud account name
    - `tenant_id` string, required — ID of the tenant
    - `severity` string, required — Severity of the violation

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