> ## Documentation Index
> Fetch the complete documentation index at: https://docs.ankra.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Get the organisation compliance rollup



## OpenAPI

````yaml https://platform.ankra.app/openapi.json get /org/security/compliance
openapi: 3.1.0
info:
  title: FastAPI
  version: 0.1.0
servers:
  - url: https://platform.ankra.app
security: []
paths:
  /org/security/compliance:
    get:
      tags:
        - Security
      summary: Get the organisation compliance rollup
      operationId: get_security_compliance_overview
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SecurityComplianceOverviewResponse'
          description: >-
            Per-cluster trivy-operator benchmark pass/fail totals; clusters
            without trivy-operator or an answering agent carry the explicit
            not_available status instead of failing the rollup.
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SecurityPermissionDenied'
          description: Missing the security.read permission
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SecurityDetailError'
          description: Organization-scoped resource not found
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: Request validation error
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SecurityDetailError'
          description: Internal server error
components:
  schemas:
    SecurityComplianceOverviewResponse:
      properties:
        clusters:
          items:
            $ref: '#/components/schemas/SecurityComplianceOverviewCluster'
          type: array
      required:
        - clusters
      type: object
    SecurityPermissionDenied:
      properties:
        detail:
          enum:
            - permission_denied
          type: string
        permission:
          type: string
        scope_type:
          type: string
      required:
        - detail
        - permission
        - scope_type
      type: object
    SecurityDetailError:
      properties:
        detail:
          type: string
      required:
        - detail
      type: object
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          title: Detail
          type: array
      title: HTTPValidationError
      type: object
    SecurityComplianceOverviewCluster:
      properties:
        benchmarks:
          items:
            $ref: '#/components/schemas/SecurityComplianceBenchmarkTotals'
          type: array
        cluster_id:
          format: uuid
          type: string
        cluster_name:
          type: string
        detail:
          nullable: true
          type: string
        status:
          enum:
            - available
            - not_available
          type: string
      required:
        - cluster_id
        - cluster_name
        - status
        - detail
        - benchmarks
      type: object
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          title: Location
          type: array
        msg:
          title: Message
          type: string
        type:
          title: Error Type
          type: string
      required:
        - loc
        - msg
        - type
      title: ValidationError
      type: object
    SecurityComplianceBenchmarkTotals:
      properties:
        fail_count:
          type: integer
        failed_checks:
          type: integer
        pass_count:
          type: integer
        spec_id:
          type: string
        title:
          type: string
        updated_at:
          nullable: true
          type: string
      required:
        - spec_id
        - title
        - pass_count
        - fail_count
        - failed_checks
        - updated_at
      type: object

````