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

# Get project-level compliance evaluation

> Retrieves compliance evaluation summary for specific frameworks and project version. Returns per-requirement evaluation details including status, policy evaluations, manual evidence, and overrides.



## OpenAPI

````yaml https://api.app.chainloop.dev/openapi.yaml get /v1/compliance/project
openapi: 3.0.1
info:
  contact:
    email: support@chainloop.dev
    name: Chainloop Support
    url: https://chainloop.dev
  termsOfService: https://chainloop.dev/terms
  title: Chainloop Platform API
  version: '1.0'
servers:
  - url: https://api.app.chainloop.dev/
security:
  - bearerToken: []
tags:
  - description: AI-powered agent operations
    name: AgentsService
  - name: ArtifactService
  - name: AssessmentService
  - description: Service for polling the status of asynchronous operations
    name: AsyncOperationsService
  - name: AttestationsService
  - name: PolicyService
  - name: ComplianceService
  - name: ComponentService
  - name: EnvironmentsService
  - name: EvidenceService
  - name: FindingService
  - name: LogicalEnvironmentsService
  - name: ProductsService
  - name: ProjectsService
  - name: UserService
externalDocs:
  description: Chainloop Official Documentation
  url: https://docs.chainloop.dev
paths:
  /v1/compliance/project:
    get:
      tags:
        - ComplianceService
      summary: Get project-level compliance evaluation
      description: >-
        Retrieves compliance evaluation summary for specific frameworks and
        project version. Returns per-requirement evaluation details including
        status, policy evaluations, manual evidence, and overrides.
      operationId: ComplianceService_GetFrameworkCompliance
      parameters:
        - description: >-
            List of framework IDs to retrieve compliance data for. If empty,
            returns compliance data for all frameworks associated with the
            project version.
          explode: true
          in: query
          name: framework_ids
          schema:
            items:
              type: string
            type: array
          style: form
        - in: query
          name: project_version_id
          schema:
            type: string
        - in: query
          name: project_name
          schema:
            type: string
        - description: >-
            NOTE: min_len removed temporarily — v0 project versions are stored
            as "" in the DB.

            TODO: restore min_len = 1 once v0 is migrated to a non-empty name.
          in: query
          name: project_version_name
          schema:
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/v1GetFrameworkComplianceResponse'
          description: A successful response.
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/v1BadRequestResponse'
          description: Bad Request - The request was invalid or cannot be served.
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/v1UnauthorizedResponse'
          description: Unauthorized - Authentication is required.
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/v1PermissionDeniedResponse'
          description: Forbidden - You do not have permission to access this resource.
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/v1InternalServerErrorResponse'
          description: Internal Server Error - An unexpected error occurred on the server.
        default:
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/rpcStatus'
          description: An unexpected error response.
components:
  schemas:
    v1GetFrameworkComplianceResponse:
      example:
        evaluations:
          - requirement_version_id: requirement_version_id
            policies:
              key:
                evaluations:
                  - policy_evaluation_id: policy_evaluation_id
                    sla_due_date: '2000-01-23T04:56:07.000Z'
                    policy_id: policy_id
                    workflow_name: workflow_name
                    policy_built_in: true
                    created_at: '2000-01-23T04:56:07.000Z'
                    sla:
                      hours: hours
                      due_date: '2000-01-23T04:56:07.000Z'
                      failing_since: '2000-01-23T04:56:07.000Z'
                    policy_version_id: policy_version_id
                    name: name
                    periodicity:
                      expires_at: '2000-01-23T04:56:07.000Z'
                      interval: unknown_period
                    failing_since: '2000-01-23T04:56:07.000Z'
                    material_name: material_name
                    workflow_run_id: workflow_run_id
                    policy_organization_name: policy_organization_name
                    status: UNKNOWN
                  - policy_evaluation_id: policy_evaluation_id
                    sla_due_date: '2000-01-23T04:56:07.000Z'
                    policy_id: policy_id
                    workflow_name: workflow_name
                    policy_built_in: true
                    created_at: '2000-01-23T04:56:07.000Z'
                    sla:
                      hours: hours
                      due_date: '2000-01-23T04:56:07.000Z'
                      failing_since: '2000-01-23T04:56:07.000Z'
                    policy_version_id: policy_version_id
                    name: name
                    periodicity:
                      expires_at: '2000-01-23T04:56:07.000Z'
                      interval: unknown_period
                    failing_since: '2000-01-23T04:56:07.000Z'
                    material_name: material_name
                    workflow_run_id: workflow_run_id
                    policy_organization_name: policy_organization_name
                    status: UNKNOWN
                definition:
                  policy_id: policy_id
                  name: name
                  periodicity:
                    expires_at: '2000-01-23T04:56:07.000Z'
                    interval: unknown_period
                  policy_built_in: true
                  sla:
                    hours: hours
                    due_date: '2000-01-23T04:56:07.000Z'
                    failing_since: '2000-01-23T04:56:07.000Z'
                  parameters:
                    key: parameters
                  group: group
                expiration:
                  expires_at: '2000-01-23T04:56:07.000Z'
                  interval: unknown_period
            framework_id: framework_id
            description: description
            created_at: '2000-01-23T04:56:07.000Z'
            project_version_id: project_version_id
            requirement_exception_id: requirement_exception_id
            display_name: display_name
            requirement_id: requirement_id
            manual_evidence_submissions:
              - submissions:
                  - attestation_digest: attestation_digest
                    user_email: user_email
                    requirement_version_id: requirement_version_id
                    approval_status: APPROVAL_STATUS_UNSPECIFIED
                    created_at: '2000-01-23T04:56:07.000Z'
                    file_upload:
                      size_bytes: size_bytes
                      uploaded_at: '2000-01-23T04:56:07.000Z'
                      file_name: file_name
                      digest: digest
                      id: id
                      user:
                        intercom_hash: intercom_hash
                        created_at: '2000-01-23T04:56:07.000Z'
                        last_name: last_name
                        id: id
                        first_name: first_name
                        email: email
                        instance_admin: true
                    url: url
                    approved_by:
                      intercom_hash: intercom_hash
                      created_at: '2000-01-23T04:56:07.000Z'
                      last_name: last_name
                      id: id
                      first_name: first_name
                      email: email
                      instance_admin: true
                    user_id: user_id
                    approved_at: '2000-01-23T04:56:07.000Z'
                    comment: comment
                    id: id
                    user:
                      intercom_hash: intercom_hash
                      created_at: '2000-01-23T04:56:07.000Z'
                      last_name: last_name
                      id: id
                      first_name: first_name
                      email: email
                      instance_admin: true
                  - attestation_digest: attestation_digest
                    user_email: user_email
                    requirement_version_id: requirement_version_id
                    approval_status: APPROVAL_STATUS_UNSPECIFIED
                    created_at: '2000-01-23T04:56:07.000Z'
                    file_upload:
                      size_bytes: size_bytes
                      uploaded_at: '2000-01-23T04:56:07.000Z'
                      file_name: file_name
                      digest: digest
                      id: id
                      user:
                        intercom_hash: intercom_hash
                        created_at: '2000-01-23T04:56:07.000Z'
                        last_name: last_name
                        id: id
                        first_name: first_name
                        email: email
                        instance_admin: true
                    url: url
                    approved_by:
                      intercom_hash: intercom_hash
                      created_at: '2000-01-23T04:56:07.000Z'
                      last_name: last_name
                      id: id
                      first_name: first_name
                      email: email
                      instance_admin: true
                    user_id: user_id
                    approved_at: '2000-01-23T04:56:07.000Z'
                    comment: comment
                    id: id
                    user:
                      intercom_hash: intercom_hash
                      created_at: '2000-01-23T04:56:07.000Z'
                      last_name: last_name
                      id: id
                      first_name: first_name
                      email: email
                      instance_admin: true
                definition:
                  name: name
                  periodicity:
                    expires_at: '2000-01-23T04:56:07.000Z'
                    interval: unknown_period
                  description: description
                  optional: true
                  id: id
                  group: group
                expiration:
                  expires_at: '2000-01-23T04:56:07.000Z'
                  interval: unknown_period
              - submissions:
                  - attestation_digest: attestation_digest
                    user_email: user_email
                    requirement_version_id: requirement_version_id
                    approval_status: APPROVAL_STATUS_UNSPECIFIED
                    created_at: '2000-01-23T04:56:07.000Z'
                    file_upload:
                      size_bytes: size_bytes
                      uploaded_at: '2000-01-23T04:56:07.000Z'
                      file_name: file_name
                      digest: digest
                      id: id
                      user:
                        intercom_hash: intercom_hash
                        created_at: '2000-01-23T04:56:07.000Z'
                        last_name: last_name
                        id: id
                        first_name: first_name
                        email: email
                        instance_admin: true
                    url: url
                    approved_by:
                      intercom_hash: intercom_hash
                      created_at: '2000-01-23T04:56:07.000Z'
                      last_name: last_name
                      id: id
                      first_name: first_name
                      email: email
                      instance_admin: true
                    user_id: user_id
                    approved_at: '2000-01-23T04:56:07.000Z'
                    comment: comment
                    id: id
                    user:
                      intercom_hash: intercom_hash
                      created_at: '2000-01-23T04:56:07.000Z'
                      last_name: last_name
                      id: id
                      first_name: first_name
                      email: email
                      instance_admin: true
                  - attestation_digest: attestation_digest
                    user_email: user_email
                    requirement_version_id: requirement_version_id
                    approval_status: APPROVAL_STATUS_UNSPECIFIED
                    created_at: '2000-01-23T04:56:07.000Z'
                    file_upload:
                      size_bytes: size_bytes
                      uploaded_at: '2000-01-23T04:56:07.000Z'
                      file_name: file_name
                      digest: digest
                      id: id
                      user:
                        intercom_hash: intercom_hash
                        created_at: '2000-01-23T04:56:07.000Z'
                        last_name: last_name
                        id: id
                        first_name: first_name
                        email: email
                        instance_admin: true
                    url: url
                    approved_by:
                      intercom_hash: intercom_hash
                      created_at: '2000-01-23T04:56:07.000Z'
                      last_name: last_name
                      id: id
                      first_name: first_name
                      email: email
                      instance_admin: true
                    user_id: user_id
                    approved_at: '2000-01-23T04:56:07.000Z'
                    comment: comment
                    id: id
                    user:
                      intercom_hash: intercom_hash
                      created_at: '2000-01-23T04:56:07.000Z'
                      last_name: last_name
                      id: id
                      first_name: first_name
                      email: email
                      instance_admin: true
                definition:
                  name: name
                  periodicity:
                    expires_at: '2000-01-23T04:56:07.000Z'
                    interval: unknown_period
                  description: description
                  optional: true
                  id: id
                  group: group
                expiration:
                  expires_at: '2000-01-23T04:56:07.000Z'
                  interval: unknown_period
            framework_name: framework_name
            expired_tests:
              - due_at: '2000-01-23T04:56:07.000Z'
                test_name: test_name
              - due_at: '2000-01-23T04:56:07.000Z'
                test_name: test_name
            requirement_revision: 0
            name: name
            framework_display_name: framework_display_name
            not_applicable: true
            override:
              parent_override_id: parent_override_id
              evidence_submissions:
                - attestation_digest: attestation_digest
                  user_email: user_email
                  requirement_version_id: requirement_version_id
                  approval_status: APPROVAL_STATUS_UNSPECIFIED
                  created_at: '2000-01-23T04:56:07.000Z'
                  file_upload:
                    size_bytes: size_bytes
                    uploaded_at: '2000-01-23T04:56:07.000Z'
                    file_name: file_name
                    digest: digest
                    id: id
                    user:
                      intercom_hash: intercom_hash
                      created_at: '2000-01-23T04:56:07.000Z'
                      last_name: last_name
                      id: id
                      first_name: first_name
                      email: email
                      instance_admin: true
                  url: url
                  approved_by:
                    intercom_hash: intercom_hash
                    created_at: '2000-01-23T04:56:07.000Z'
                    last_name: last_name
                    id: id
                    first_name: first_name
                    email: email
                    instance_admin: true
                  user_id: user_id
                  approved_at: '2000-01-23T04:56:07.000Z'
                  comment: comment
                  id: id
                  user:
                    intercom_hash: intercom_hash
                    created_at: '2000-01-23T04:56:07.000Z'
                    last_name: last_name
                    id: id
                    first_name: first_name
                    email: email
                    instance_admin: true
                - attestation_digest: attestation_digest
                  user_email: user_email
                  requirement_version_id: requirement_version_id
                  approval_status: APPROVAL_STATUS_UNSPECIFIED
                  created_at: '2000-01-23T04:56:07.000Z'
                  file_upload:
                    size_bytes: size_bytes
                    uploaded_at: '2000-01-23T04:56:07.000Z'
                    file_name: file_name
                    digest: digest
                    id: id
                    user:
                      intercom_hash: intercom_hash
                      created_at: '2000-01-23T04:56:07.000Z'
                      last_name: last_name
                      id: id
                      first_name: first_name
                      email: email
                      instance_admin: true
                  url: url
                  approved_by:
                    intercom_hash: intercom_hash
                    created_at: '2000-01-23T04:56:07.000Z'
                    last_name: last_name
                    id: id
                    first_name: first_name
                    email: email
                    instance_admin: true
                  user_id: user_id
                  approved_at: '2000-01-23T04:56:07.000Z'
                  comment: comment
                  id: id
                  user:
                    intercom_hash: intercom_hash
                    created_at: '2000-01-23T04:56:07.000Z'
                    last_name: last_name
                    id: id
                    first_name: first_name
                    email: email
                    instance_admin: true
              requirement_version_id: requirement_version_id
              approval_status: null
              product_version_id: product_version_id
              created_at: '2000-01-23T04:56:07.000Z'
              project_version_id: project_version_id
              source_product_name: source_product_name
              approved_by:
                intercom_hash: intercom_hash
                created_at: '2000-01-23T04:56:07.000Z'
                last_name: last_name
                id: id
                first_name: first_name
                email: email
                instance_admin: true
              approved_at: '2000-01-23T04:56:07.000Z'
              override_status: override_status
              id: id
              justification: justification
              user:
                intercom_hash: intercom_hash
                created_at: '2000-01-23T04:56:07.000Z'
                last_name: last_name
                id: id
                first_name: first_name
                email: email
                instance_admin: true
            policy_evaluations:
              - policy_evaluation_id: policy_evaluation_id
                sla_due_date: '2000-01-23T04:56:07.000Z'
                policy_id: policy_id
                workflow_name: workflow_name
                policy_built_in: true
                created_at: '2000-01-23T04:56:07.000Z'
                sla:
                  hours: hours
                  due_date: '2000-01-23T04:56:07.000Z'
                  failing_since: '2000-01-23T04:56:07.000Z'
                policy_version_id: policy_version_id
                name: name
                periodicity:
                  expires_at: '2000-01-23T04:56:07.000Z'
                  interval: unknown_period
                failing_since: '2000-01-23T04:56:07.000Z'
                material_name: material_name
                workflow_run_id: workflow_run_id
                policy_organization_name: policy_organization_name
                status: UNKNOWN
              - policy_evaluation_id: policy_evaluation_id
                sla_due_date: '2000-01-23T04:56:07.000Z'
                policy_id: policy_id
                workflow_name: workflow_name
                policy_built_in: true
                created_at: '2000-01-23T04:56:07.000Z'
                sla:
                  hours: hours
                  due_date: '2000-01-23T04:56:07.000Z'
                  failing_since: '2000-01-23T04:56:07.000Z'
                policy_version_id: policy_version_id
                name: name
                periodicity:
                  expires_at: '2000-01-23T04:56:07.000Z'
                  interval: unknown_period
                failing_since: '2000-01-23T04:56:07.000Z'
                material_name: material_name
                workflow_run_id: workflow_run_id
                policy_organization_name: policy_organization_name
                status: UNKNOWN
            status: status
          - requirement_version_id: requirement_version_id
            policies:
              key:
                evaluations:
                  - policy_evaluation_id: policy_evaluation_id
                    sla_due_date: '2000-01-23T04:56:07.000Z'
                    policy_id: policy_id
                    workflow_name: workflow_name
                    policy_built_in: true
                    created_at: '2000-01-23T04:56:07.000Z'
                    sla:
                      hours: hours
                      due_date: '2000-01-23T04:56:07.000Z'
                      failing_since: '2000-01-23T04:56:07.000Z'
                    policy_version_id: policy_version_id
                    name: name
                    periodicity:
                      expires_at: '2000-01-23T04:56:07.000Z'
                      interval: unknown_period
                    failing_since: '2000-01-23T04:56:07.000Z'
                    material_name: material_name
                    workflow_run_id: workflow_run_id
                    policy_organization_name: policy_organization_name
                    status: UNKNOWN
                  - policy_evaluation_id: policy_evaluation_id
                    sla_due_date: '2000-01-23T04:56:07.000Z'
                    policy_id: policy_id
                    workflow_name: workflow_name
                    policy_built_in: true
                    created_at: '2000-01-23T04:56:07.000Z'
                    sla:
                      hours: hours
                      due_date: '2000-01-23T04:56:07.000Z'
                      failing_since: '2000-01-23T04:56:07.000Z'
                    policy_version_id: policy_version_id
                    name: name
                    periodicity:
                      expires_at: '2000-01-23T04:56:07.000Z'
                      interval: unknown_period
                    failing_since: '2000-01-23T04:56:07.000Z'
                    material_name: material_name
                    workflow_run_id: workflow_run_id
                    policy_organization_name: policy_organization_name
                    status: UNKNOWN
                definition:
                  policy_id: policy_id
                  name: name
                  periodicity:
                    expires_at: '2000-01-23T04:56:07.000Z'
                    interval: unknown_period
                  policy_built_in: true
                  sla:
                    hours: hours
                    due_date: '2000-01-23T04:56:07.000Z'
                    failing_since: '2000-01-23T04:56:07.000Z'
                  parameters:
                    key: parameters
                  group: group
                expiration:
                  expires_at: '2000-01-23T04:56:07.000Z'
                  interval: unknown_period
            framework_id: framework_id
            description: description
            created_at: '2000-01-23T04:56:07.000Z'
            project_version_id: project_version_id
            requirement_exception_id: requirement_exception_id
            display_name: display_name
            requirement_id: requirement_id
            manual_evidence_submissions:
              - submissions:
                  - attestation_digest: attestation_digest
                    user_email: user_email
                    requirement_version_id: requirement_version_id
                    approval_status: APPROVAL_STATUS_UNSPECIFIED
                    created_at: '2000-01-23T04:56:07.000Z'
                    file_upload:
                      size_bytes: size_bytes
                      uploaded_at: '2000-01-23T04:56:07.000Z'
                      file_name: file_name
                      digest: digest
                      id: id
                      user:
                        intercom_hash: intercom_hash
                        created_at: '2000-01-23T04:56:07.000Z'
                        last_name: last_name
                        id: id
                        first_name: first_name
                        email: email
                        instance_admin: true
                    url: url
                    approved_by:
                      intercom_hash: intercom_hash
                      created_at: '2000-01-23T04:56:07.000Z'
                      last_name: last_name
                      id: id
                      first_name: first_name
                      email: email
                      instance_admin: true
                    user_id: user_id
                    approved_at: '2000-01-23T04:56:07.000Z'
                    comment: comment
                    id: id
                    user:
                      intercom_hash: intercom_hash
                      created_at: '2000-01-23T04:56:07.000Z'
                      last_name: last_name
                      id: id
                      first_name: first_name
                      email: email
                      instance_admin: true
                  - attestation_digest: attestation_digest
                    user_email: user_email
                    requirement_version_id: requirement_version_id
                    approval_status: APPROVAL_STATUS_UNSPECIFIED
                    created_at: '2000-01-23T04:56:07.000Z'
                    file_upload:
                      size_bytes: size_bytes
                      uploaded_at: '2000-01-23T04:56:07.000Z'
                      file_name: file_name
                      digest: digest
                      id: id
                      user:
                        intercom_hash: intercom_hash
                        created_at: '2000-01-23T04:56:07.000Z'
                        last_name: last_name
                        id: id
                        first_name: first_name
                        email: email
                        instance_admin: true
                    url: url
                    approved_by:
                      intercom_hash: intercom_hash
                      created_at: '2000-01-23T04:56:07.000Z'
                      last_name: last_name
                      id: id
                      first_name: first_name
                      email: email
                      instance_admin: true
                    user_id: user_id
                    approved_at: '2000-01-23T04:56:07.000Z'
                    comment: comment
                    id: id
                    user:
                      intercom_hash: intercom_hash
                      created_at: '2000-01-23T04:56:07.000Z'
                      last_name: last_name
                      id: id
                      first_name: first_name
                      email: email
                      instance_admin: true
                definition:
                  name: name
                  periodicity:
                    expires_at: '2000-01-23T04:56:07.000Z'
                    interval: unknown_period
                  description: description
                  optional: true
                  id: id
                  group: group
                expiration:
                  expires_at: '2000-01-23T04:56:07.000Z'
                  interval: unknown_period
              - submissions:
                  - attestation_digest: attestation_digest
                    user_email: user_email
                    requirement_version_id: requirement_version_id
                    approval_status: APPROVAL_STATUS_UNSPECIFIED
                    created_at: '2000-01-23T04:56:07.000Z'
                    file_upload:
                      size_bytes: size_bytes
                      uploaded_at: '2000-01-23T04:56:07.000Z'
                      file_name: file_name
                      digest: digest
                      id: id
                      user:
                        intercom_hash: intercom_hash
                        created_at: '2000-01-23T04:56:07.000Z'
                        last_name: last_name
                        id: id
                        first_name: first_name
                        email: email
                        instance_admin: true
                    url: url
                    approved_by:
                      intercom_hash: intercom_hash
                      created_at: '2000-01-23T04:56:07.000Z'
                      last_name: last_name
                      id: id
                      first_name: first_name
                      email: email
                      instance_admin: true
                    user_id: user_id
                    approved_at: '2000-01-23T04:56:07.000Z'
                    comment: comment
                    id: id
                    user:
                      intercom_hash: intercom_hash
                      created_at: '2000-01-23T04:56:07.000Z'
                      last_name: last_name
                      id: id
                      first_name: first_name
                      email: email
                      instance_admin: true
                  - attestation_digest: attestation_digest
                    user_email: user_email
                    requirement_version_id: requirement_version_id
                    approval_status: APPROVAL_STATUS_UNSPECIFIED
                    created_at: '2000-01-23T04:56:07.000Z'
                    file_upload:
                      size_bytes: size_bytes
                      uploaded_at: '2000-01-23T04:56:07.000Z'
                      file_name: file_name
                      digest: digest
                      id: id
                      user:
                        intercom_hash: intercom_hash
                        created_at: '2000-01-23T04:56:07.000Z'
                        last_name: last_name
                        id: id
                        first_name: first_name
                        email: email
                        instance_admin: true
                    url: url
                    approved_by:
                      intercom_hash: intercom_hash
                      created_at: '2000-01-23T04:56:07.000Z'
                      last_name: last_name
                      id: id
                      first_name: first_name
                      email: email
                      instance_admin: true
                    user_id: user_id
                    approved_at: '2000-01-23T04:56:07.000Z'
                    comment: comment
                    id: id
                    user:
                      intercom_hash: intercom_hash
                      created_at: '2000-01-23T04:56:07.000Z'
                      last_name: last_name
                      id: id
                      first_name: first_name
                      email: email
                      instance_admin: true
                definition:
                  name: name
                  periodicity:
                    expires_at: '2000-01-23T04:56:07.000Z'
                    interval: unknown_period
                  description: description
                  optional: true
                  id: id
                  group: group
                expiration:
                  expires_at: '2000-01-23T04:56:07.000Z'
                  interval: unknown_period
            framework_name: framework_name
            expired_tests:
              - due_at: '2000-01-23T04:56:07.000Z'
                test_name: test_name
              - due_at: '2000-01-23T04:56:07.000Z'
                test_name: test_name
            requirement_revision: 0
            name: name
            framework_display_name: framework_display_name
            not_applicable: true
            override:
              parent_override_id: parent_override_id
              evidence_submissions:
                - attestation_digest: attestation_digest
                  user_email: user_email
                  requirement_version_id: requirement_version_id
                  approval_status: APPROVAL_STATUS_UNSPECIFIED
                  created_at: '2000-01-23T04:56:07.000Z'
                  file_upload:
                    size_bytes: size_bytes
                    uploaded_at: '2000-01-23T04:56:07.000Z'
                    file_name: file_name
                    digest: digest
                    id: id
                    user:
                      intercom_hash: intercom_hash
                      created_at: '2000-01-23T04:56:07.000Z'
                      last_name: last_name
                      id: id
                      first_name: first_name
                      email: email
                      instance_admin: true
                  url: url
                  approved_by:
                    intercom_hash: intercom_hash
                    created_at: '2000-01-23T04:56:07.000Z'
                    last_name: last_name
                    id: id
                    first_name: first_name
                    email: email
                    instance_admin: true
                  user_id: user_id
                  approved_at: '2000-01-23T04:56:07.000Z'
                  comment: comment
                  id: id
                  user:
                    intercom_hash: intercom_hash
                    created_at: '2000-01-23T04:56:07.000Z'
                    last_name: last_name
                    id: id
                    first_name: first_name
                    email: email
                    instance_admin: true
                - attestation_digest: attestation_digest
                  user_email: user_email
                  requirement_version_id: requirement_version_id
                  approval_status: APPROVAL_STATUS_UNSPECIFIED
                  created_at: '2000-01-23T04:56:07.000Z'
                  file_upload:
                    size_bytes: size_bytes
                    uploaded_at: '2000-01-23T04:56:07.000Z'
                    file_name: file_name
                    digest: digest
                    id: id
                    user:
                      intercom_hash: intercom_hash
                      created_at: '2000-01-23T04:56:07.000Z'
                      last_name: last_name
                      id: id
                      first_name: first_name
                      email: email
                      instance_admin: true
                  url: url
                  approved_by:
                    intercom_hash: intercom_hash
                    created_at: '2000-01-23T04:56:07.000Z'
                    last_name: last_name
                    id: id
                    first_name: first_name
                    email: email
                    instance_admin: true
                  user_id: user_id
                  approved_at: '2000-01-23T04:56:07.000Z'
                  comment: comment
                  id: id
                  user:
                    intercom_hash: intercom_hash
                    created_at: '2000-01-23T04:56:07.000Z'
                    last_name: last_name
                    id: id
                    first_name: first_name
                    email: email
                    instance_admin: true
              requirement_version_id: requirement_version_id
              approval_status: null
              product_version_id: product_version_id
              created_at: '2000-01-23T04:56:07.000Z'
              project_version_id: project_version_id
              source_product_name: source_product_name
              approved_by:
                intercom_hash: intercom_hash
                created_at: '2000-01-23T04:56:07.000Z'
                last_name: last_name
                id: id
                first_name: first_name
                email: email
                instance_admin: true
              approved_at: '2000-01-23T04:56:07.000Z'
              override_status: override_status
              id: id
              justification: justification
              user:
                intercom_hash: intercom_hash
                created_at: '2000-01-23T04:56:07.000Z'
                last_name: last_name
                id: id
                first_name: first_name
                email: email
                instance_admin: true
            policy_evaluations:
              - policy_evaluation_id: policy_evaluation_id
                sla_due_date: '2000-01-23T04:56:07.000Z'
                policy_id: policy_id
                workflow_name: workflow_name
                policy_built_in: true
                created_at: '2000-01-23T04:56:07.000Z'
                sla:
                  hours: hours
                  due_date: '2000-01-23T04:56:07.000Z'
                  failing_since: '2000-01-23T04:56:07.000Z'
                policy_version_id: policy_version_id
                name: name
                periodicity:
                  expires_at: '2000-01-23T04:56:07.000Z'
                  interval: unknown_period
                failing_since: '2000-01-23T04:56:07.000Z'
                material_name: material_name
                workflow_run_id: workflow_run_id
                policy_organization_name: policy_organization_name
                status: UNKNOWN
              - policy_evaluation_id: policy_evaluation_id
                sla_due_date: '2000-01-23T04:56:07.000Z'
                policy_id: policy_id
                workflow_name: workflow_name
                policy_built_in: true
                created_at: '2000-01-23T04:56:07.000Z'
                sla:
                  hours: hours
                  due_date: '2000-01-23T04:56:07.000Z'
                  failing_since: '2000-01-23T04:56:07.000Z'
                policy_version_id: policy_version_id
                name: name
                periodicity:
                  expires_at: '2000-01-23T04:56:07.000Z'
                  interval: unknown_period
                failing_since: '2000-01-23T04:56:07.000Z'
                material_name: material_name
                workflow_run_id: workflow_run_id
                policy_organization_name: policy_organization_name
                status: UNKNOWN
            status: status
      properties:
        evaluations:
          items:
            $ref: >-
              #/components/schemas/GetFrameworkComplianceResponseRequirementEvaluationSummary
          type: array
      type: object
    v1BadRequestResponse:
      description: Response for bad request
      example:
        code: 0
        details:
          - details
          - details
        message: message
      properties:
        code:
          default: 3
          description: >-
            The error code indicating the type of error. It's fixed to 3, which
            is the code for INVALID_ARGUMENT.
          format: int32
          type: integer
        message:
          description: A human-readable message providing more details about the error.
          type: string
        details:
          description: Additional details about the error.
          items:
            type: string
          type: array
      required:
        - code
        - message
      title: BadRequestResponse
      type: object
    v1UnauthorizedResponse:
      description: Response for unauthorized access
      example:
        code: 6
        details:
          - details
          - details
        message: message
      properties:
        code:
          default: 16
          description: >-
            The error code indicating the type of error. It's fixed to 16, which
            is the code for UNAUTHENTICATED.
          format: int32
          type: integer
        message:
          description: A human-readable message providing more details about the error.
          type: string
        details:
          description: Additional details about the error.
          items:
            type: string
          type: array
      required:
        - code
        - message
      title: UnauthorizedResponse
      type: object
    v1PermissionDeniedResponse:
      description: Response for permission denied
      example:
        code: 1
        details:
          - details
          - details
        message: message
      properties:
        code:
          default: 7
          description: >-
            The error code indicating the type of error. It's fixed to 7, which
            is the code for PERMISSION_DENIED.
          format: int32
          type: integer
        message:
          description: A human-readable message providing more details about the error.
          type: string
        details:
          description: Additional details about the error.
          items:
            type: string
          type: array
      required:
        - code
        - message
      title: PermissionDeniedResponse
      type: object
    v1InternalServerErrorResponse:
      description: Response for internal server error
      example:
        code: 5
        details:
          - details
          - details
        message: message
      properties:
        code:
          default: 13
          description: >-
            The error code indicating the type of error. It's fixed to 13, which
            is the code for INTERNAL_ERROR.
          format: int32
          type: integer
        message:
          description: A human-readable message providing more details about the error.
          type: string
        details:
          description: Additional details about the error.
          items:
            type: string
          type: array
      required:
        - code
        - message
      title: InternalServerErrorResponse
      type: object
    rpcStatus:
      example:
        code: 5
        details:
          - '@type': '@type'
          - '@type': '@type'
        message: message
      properties:
        code:
          format: int32
          type: integer
        message:
          type: string
        details:
          items:
            $ref: '#/components/schemas/protobufAny'
          type: array
      type: object
    GetFrameworkComplianceResponseRequirementEvaluationSummary:
      example:
        requirement_version_id: requirement_version_id
        policies:
          key:
            evaluations:
              - policy_evaluation_id: policy_evaluation_id
                sla_due_date: '2000-01-23T04:56:07.000Z'
                policy_id: policy_id
                workflow_name: workflow_name
                policy_built_in: true
                created_at: '2000-01-23T04:56:07.000Z'
                sla:
                  hours: hours
                  due_date: '2000-01-23T04:56:07.000Z'
                  failing_since: '2000-01-23T04:56:07.000Z'
                policy_version_id: policy_version_id
                name: name
                periodicity:
                  expires_at: '2000-01-23T04:56:07.000Z'
                  interval: unknown_period
                failing_since: '2000-01-23T04:56:07.000Z'
                material_name: material_name
                workflow_run_id: workflow_run_id
                policy_organization_name: policy_organization_name
                status: UNKNOWN
              - policy_evaluation_id: policy_evaluation_id
                sla_due_date: '2000-01-23T04:56:07.000Z'
                policy_id: policy_id
                workflow_name: workflow_name
                policy_built_in: true
                created_at: '2000-01-23T04:56:07.000Z'
                sla:
                  hours: hours
                  due_date: '2000-01-23T04:56:07.000Z'
                  failing_since: '2000-01-23T04:56:07.000Z'
                policy_version_id: policy_version_id
                name: name
                periodicity:
                  expires_at: '2000-01-23T04:56:07.000Z'
                  interval: unknown_period
                failing_since: '2000-01-23T04:56:07.000Z'
                material_name: material_name
                workflow_run_id: workflow_run_id
                policy_organization_name: policy_organization_name
                status: UNKNOWN
            definition:
              policy_id: policy_id
              name: name
              periodicity:
                expires_at: '2000-01-23T04:56:07.000Z'
                interval: unknown_period
              policy_built_in: true
              sla:
                hours: hours
                due_date: '2000-01-23T04:56:07.000Z'
                failing_since: '2000-01-23T04:56:07.000Z'
              parameters:
                key: parameters
              group: group
            expiration:
              expires_at: '2000-01-23T04:56:07.000Z'
              interval: unknown_period
        framework_id: framework_id
        description: description
        created_at: '2000-01-23T04:56:07.000Z'
        project_version_id: project_version_id
        requirement_exception_id: requirement_exception_id
        display_name: display_name
        requirement_id: requirement_id
        manual_evidence_submissions:
          - submissions:
              - attestation_digest: attestation_digest
                user_email: user_email
                requirement_version_id: requirement_version_id
                approval_status: APPROVAL_STATUS_UNSPECIFIED
                created_at: '2000-01-23T04:56:07.000Z'
                file_upload:
                  size_bytes: size_bytes
                  uploaded_at: '2000-01-23T04:56:07.000Z'
                  file_name: file_name
                  digest: digest
                  id: id
                  user:
                    intercom_hash: intercom_hash
                    created_at: '2000-01-23T04:56:07.000Z'
                    last_name: last_name
                    id: id
                    first_name: first_name
                    email: email
                    instance_admin: true
                url: url
                approved_by:
                  intercom_hash: intercom_hash
                  created_at: '2000-01-23T04:56:07.000Z'
                  last_name: last_name
                  id: id
                  first_name: first_name
                  email: email
                  instance_admin: true
                user_id: user_id
                approved_at: '2000-01-23T04:56:07.000Z'
                comment: comment
                id: id
                user:
                  intercom_hash: intercom_hash
                  created_at: '2000-01-23T04:56:07.000Z'
                  last_name: last_name
                  id: id
                  first_name: first_name
                  email: email
                  instance_admin: true
              - attestation_digest: attestation_digest
                user_email: user_email
                requirement_version_id: requirement_version_id
                approval_status: APPROVAL_STATUS_UNSPECIFIED
                created_at: '2000-01-23T04:56:07.000Z'
                file_upload:
                  size_bytes: size_bytes
                  uploaded_at: '2000-01-23T04:56:07.000Z'
                  file_name: file_name
                  digest: digest
                  id: id
                  user:
                    intercom_hash: intercom_hash
                    created_at: '2000-01-23T04:56:07.000Z'
                    last_name: last_name
                    id: id
                    first_name: first_name
                    email: email
                    instance_admin: true
                url: url
                approved_by:
                  intercom_hash: intercom_hash
                  created_at: '2000-01-23T04:56:07.000Z'
                  last_name: last_name
                  id: id
                  first_name: first_name
                  email: email
                  instance_admin: true
                user_id: user_id
                approved_at: '2000-01-23T04:56:07.000Z'
                comment: comment
                id: id
                user:
                  intercom_hash: intercom_hash
                  created_at: '2000-01-23T04:56:07.000Z'
                  last_name: last_name
                  id: id
                  first_name: first_name
                  email: email
                  instance_admin: true
            definition:
              name: name
              periodicity:
                expires_at: '2000-01-23T04:56:07.000Z'
                interval: unknown_period
              description: description
              optional: true
              id: id
              group: group
            expiration:
              expires_at: '2000-01-23T04:56:07.000Z'
              interval: unknown_period
          - submissions:
              - attestation_digest: attestation_digest
                user_email: user_email
                requirement_version_id: requirement_version_id
                approval_status: APPROVAL_STATUS_UNSPECIFIED
                created_at: '2000-01-23T04:56:07.000Z'
                file_upload:
                  size_bytes: size_bytes
                  uploaded_at: '2000-01-23T04:56:07.000Z'
                  file_name: file_name
                  digest: digest
                  id: id
                  user:
                    intercom_hash: intercom_hash
                    created_at: '2000-01-23T04:56:07.000Z'
                    last_name: last_name
                    id: id
                    first_name: first_name
                    email: email
                    instance_admin: true
                url: url
                approved_by:
                  intercom_hash: intercom_hash
                  created_at: '2000-01-23T04:56:07.000Z'
                  last_name: last_name
                  id: id
                  first_name: first_name
                  email: email
                  instance_admin: true
                user_id: user_id
                approved_at: '2000-01-23T04:56:07.000Z'
                comment: comment
                id: id
                user:
                  intercom_hash: intercom_hash
                  created_at: '2000-01-23T04:56:07.000Z'
                  last_name: last_name
                  id: id
                  first_name: first_name
                  email: email
                  instance_admin: true
              - attestation_digest: attestation_digest
                user_email: user_email
                requirement_version_id: requirement_version_id
                approval_status: APPROVAL_STATUS_UNSPECIFIED
                created_at: '2000-01-23T04:56:07.000Z'
                file_upload:
                  size_bytes: size_bytes
                  uploaded_at: '2000-01-23T04:56:07.000Z'
                  file_name: file_name
                  digest: digest
                  id: id
                  user:
                    intercom_hash: intercom_hash
                    created_at: '2000-01-23T04:56:07.000Z'
                    last_name: last_name
                    id: id
                    first_name: first_name
                    email: email
                    instance_admin: true
                url: url
                approved_by:
                  intercom_hash: intercom_hash
                  created_at: '2000-01-23T04:56:07.000Z'
                  last_name: last_name
                  id: id
                  first_name: first_name
                  email: email
                  instance_admin: true
                user_id: user_id
                approved_at: '2000-01-23T04:56:07.000Z'
                comment: comment
                id: id
                user:
                  intercom_hash: intercom_hash
                  created_at: '2000-01-23T04:56:07.000Z'
                  last_name: last_name
                  id: id
                  first_name: first_name
                  email: email
                  instance_admin: true
            definition:
              name: name
              periodicity:
                expires_at: '2000-01-23T04:56:07.000Z'
                interval: unknown_period
              description: description
              optional: true
              id: id
              group: group
            expiration:
              expires_at: '2000-01-23T04:56:07.000Z'
              interval: unknown_period
        framework_name: framework_name
        expired_tests:
          - due_at: '2000-01-23T04:56:07.000Z'
            test_name: test_name
          - due_at: '2000-01-23T04:56:07.000Z'
            test_name: test_name
        requirement_revision: 0
        name: name
        framework_display_name: framework_display_name
        not_applicable: true
        override:
          parent_override_id: parent_override_id
          evidence_submissions:
            - attestation_digest: attestation_digest
              user_email: user_email
              requirement_version_id: requirement_version_id
              approval_status: APPROVAL_STATUS_UNSPECIFIED
              created_at: '2000-01-23T04:56:07.000Z'
              file_upload:
                size_bytes: size_bytes
                uploaded_at: '2000-01-23T04:56:07.000Z'
                file_name: file_name
                digest: digest
                id: id
                user:
                  intercom_hash: intercom_hash
                  created_at: '2000-01-23T04:56:07.000Z'
                  last_name: last_name
                  id: id
                  first_name: first_name
                  email: email
                  instance_admin: true
              url: url
              approved_by:
                intercom_hash: intercom_hash
                created_at: '2000-01-23T04:56:07.000Z'
                last_name: last_name
                id: id
                first_name: first_name
                email: email
                instance_admin: true
              user_id: user_id
              approved_at: '2000-01-23T04:56:07.000Z'
              comment: comment
              id: id
              user:
                intercom_hash: intercom_hash
                created_at: '2000-01-23T04:56:07.000Z'
                last_name: last_name
                id: id
                first_name: first_name
                email: email
                instance_admin: true
            - attestation_digest: attestation_digest
              user_email: user_email
              requirement_version_id: requirement_version_id
              approval_status: APPROVAL_STATUS_UNSPECIFIED
              created_at: '2000-01-23T04:56:07.000Z'
              file_upload:
                size_bytes: size_bytes
                uploaded_at: '2000-01-23T04:56:07.000Z'
                file_name: file_name
                digest: digest
                id: id
                user:
                  intercom_hash: intercom_hash
                  created_at: '2000-01-23T04:56:07.000Z'
                  last_name: last_name
                  id: id
                  first_name: first_name
                  email: email
                  instance_admin: true
              url: url
              approved_by:
                intercom_hash: intercom_hash
                created_at: '2000-01-23T04:56:07.000Z'
                last_name: last_name
                id: id
                first_name: first_name
                email: email
                instance_admin: true
              user_id: user_id
              approved_at: '2000-01-23T04:56:07.000Z'
              comment: comment
              id: id
              user:
                intercom_hash: intercom_hash
                created_at: '2000-01-23T04:56:07.000Z'
                last_name: last_name
                id: id
                first_name: first_name
                email: email
                instance_admin: true
          requirement_version_id: requirement_version_id
          approval_status: null
          product_version_id: product_version_id
          created_at: '2000-01-23T04:56:07.000Z'
          project_version_id: project_version_id
          source_product_name: source_product_name
          approved_by:
            intercom_hash: intercom_hash
            created_at: '2000-01-23T04:56:07.000Z'
            last_name: last_name
            id: id
            first_name: first_name
            email: email
            instance_admin: true
          approved_at: '2000-01-23T04:56:07.000Z'
          override_status: override_status
          id: id
          justification: justification
          user:
            intercom_hash: intercom_hash
            created_at: '2000-01-23T04:56:07.000Z'
            last_name: last_name
            id: id
            first_name: first_name
            email: email
            instance_admin: true
        policy_evaluations:
          - policy_evaluation_id: policy_evaluation_id
            sla_due_date: '2000-01-23T04:56:07.000Z'
            policy_id: policy_id
            workflow_name: workflow_name
            policy_built_in: true
            created_at: '2000-01-23T04:56:07.000Z'
            sla:
              hours: hours
              due_date: '2000-01-23T04:56:07.000Z'
              failing_since: '2000-01-23T04:56:07.000Z'
            policy_version_id: policy_version_id
            name: name
            periodicity:
              expires_at: '2000-01-23T04:56:07.000Z'
              interval: unknown_period
            failing_since: '2000-01-23T04:56:07.000Z'
            material_name: material_name
            workflow_run_id: workflow_run_id
            policy_organization_name: policy_organization_name
            status: UNKNOWN
          - policy_evaluation_id: policy_evaluation_id
            sla_due_date: '2000-01-23T04:56:07.000Z'
            policy_id: policy_id
            workflow_name: workflow_name
            policy_built_in: true
            created_at: '2000-01-23T04:56:07.000Z'
            sla:
              hours: hours
              due_date: '2000-01-23T04:56:07.000Z'
              failing_since: '2000-01-23T04:56:07.000Z'
            policy_version_id: policy_version_id
            name: name
            periodicity:
              expires_at: '2000-01-23T04:56:07.000Z'
              interval: unknown_period
            failing_since: '2000-01-23T04:56:07.000Z'
            material_name: material_name
            workflow_run_id: workflow_run_id
            policy_organization_name: policy_organization_name
            status: UNKNOWN
        status: status
      properties:
        requirement_version_id:
          type: string
        requirement_revision:
          format: int32
          type: integer
        requirement_id:
          type: string
        project_version_id:
          type: string
        framework_id:
          type: string
        status:
          type: string
        name:
          type: string
        description:
          type: string
        created_at:
          format: date-time
          type: string
        policy_evaluations:
          items:
            $ref: '#/components/schemas/v1RequirementPolicyEvaluation'
          type: array
        policies:
          additionalProperties:
            $ref: '#/components/schemas/v1RequirementPolicyEvaluations'
          title: map policy IDs with all its evaluations
          type: object
        requirement_exception_id:
          type: string
        manual_evidence_submissions:
          items:
            $ref: '#/components/schemas/v1ManualEvidenceDefinitionWithSubmissions'
          title: Manual evidence definitions and their submissions if any
          type: array
        expired_tests:
          items:
            $ref: '#/components/schemas/v1GetFrameworkComplianceResponseExpiredTest'
          type: array
        display_name:
          type: string
        not_applicable:
          title: >-
            If set, the requirement is not applicable and the evaluation data is
            not relevant
          type: boolean
        override:
          $ref: '#/components/schemas/v1RequirementEvaluationOverride'
        framework_name:
          title: Technical name of the framework
          type: string
        framework_display_name:
          title: Human-readable display name of the framework
          type: string
      type: object
    protobufAny:
      additionalProperties:
        type: object
      example:
        '@type': '@type'
      properties:
        '@type':
          type: string
      type: object
    v1RequirementPolicyEvaluation:
      example:
        policy_evaluation_id: policy_evaluation_id
        sla_due_date: '2000-01-23T04:56:07.000Z'
        policy_id: policy_id
        workflow_name: workflow_name
        policy_built_in: true
        created_at: '2000-01-23T04:56:07.000Z'
        sla:
          hours: hours
          due_date: '2000-01-23T04:56:07.000Z'
          failing_since: '2000-01-23T04:56:07.000Z'
        policy_version_id: policy_version_id
        name: name
        periodicity:
          expires_at: '2000-01-23T04:56:07.000Z'
          interval: unknown_period
        failing_since: '2000-01-23T04:56:07.000Z'
        material_name: material_name
        workflow_run_id: workflow_run_id
        policy_organization_name: policy_organization_name
        status: UNKNOWN
      properties:
        name:
          type: string
        status:
          $ref: '#/components/schemas/PolicyStatusPolicyEvaluationResult'
        policy_id:
          title: additional info
          type: string
        policy_version_id:
          type: string
        workflow_run_id:
          type: string
        policy_evaluation_id:
          type: string
        policy_organization_name:
          type: string
        policy_built_in:
          type: boolean
        sla_due_date:
          format: date-time
          title: if policy is failed but under SLA, the due date
          type: string
        failing_since:
          format: date-time
          title: if policy is failed but under SLA, the first time it failed in a row
          type: string
        material_name:
          type: string
        created_at:
          format: date-time
          title: When the evaluation was created
          type: string
        periodicity:
          $ref: '#/components/schemas/v1PeriodicityInformation'
        sla:
          $ref: '#/components/schemas/v1SLAInformation'
        workflow_name:
          title: Workflow name associated with this evaluation
          type: string
      type: object
    v1RequirementPolicyEvaluations:
      example:
        evaluations:
          - policy_evaluation_id: policy_evaluation_id
            sla_due_date: '2000-01-23T04:56:07.000Z'
            policy_id: policy_id
            workflow_name: workflow_name
            policy_built_in: true
            created_at: '2000-01-23T04:56:07.000Z'
            sla:
              hours: hours
              due_date: '2000-01-23T04:56:07.000Z'
              failing_since: '2000-01-23T04:56:07.000Z'
            policy_version_id: policy_version_id
            name: name
            periodicity:
              expires_at: '2000-01-23T04:56:07.000Z'
              interval: unknown_period
            failing_since: '2000-01-23T04:56:07.000Z'
            material_name: material_name
            workflow_run_id: workflow_run_id
            policy_organization_name: policy_organization_name
            status: UNKNOWN
          - policy_evaluation_id: policy_evaluation_id
            sla_due_date: '2000-01-23T04:56:07.000Z'
            policy_id: policy_id
            workflow_name: workflow_name
            policy_built_in: true
            created_at: '2000-01-23T04:56:07.000Z'
            sla:
              hours: hours
              due_date: '2000-01-23T04:56:07.000Z'
              failing_since: '2000-01-23T04:56:07.000Z'
            policy_version_id: policy_version_id
            name: name
            periodicity:
              expires_at: '2000-01-23T04:56:07.000Z'
              interval: unknown_period
            failing_since: '2000-01-23T04:56:07.000Z'
            material_name: material_name
            workflow_run_id: workflow_run_id
            policy_organization_name: policy_organization_name
            status: UNKNOWN
        definition:
          policy_id: policy_id
          name: name
          periodicity:
            expires_at: '2000-01-23T04:56:07.000Z'
            interval: unknown_period
          policy_built_in: true
          sla:
            hours: hours
            due_date: '2000-01-23T04:56:07.000Z'
            failing_since: '2000-01-23T04:56:07.000Z'
          parameters:
            key: parameters
          group: group
        expiration:
          expires_at: '2000-01-23T04:56:07.000Z'
          interval: unknown_period
      properties:
        definition:
          $ref: '#/components/schemas/v1RequirementPolicyDefinition'
        evaluations:
          items:
            $ref: '#/components/schemas/v1RequirementPolicyEvaluation'
          type: array
        expiration:
          $ref: '#/components/schemas/v1PeriodicityInformation'
      type: object
    v1ManualEvidenceDefinitionWithSubmissions:
      example:
        submissions:
          - attestation_digest: attestation_digest
            user_email: user_email
            requirement_version_id: requirement_version_id
            approval_status: APPROVAL_STATUS_UNSPECIFIED
            created_at: '2000-01-23T04:56:07.000Z'
            file_upload:
              size_bytes: size_bytes
              uploaded_at: '2000-01-23T04:56:07.000Z'
              file_name: file_name
              digest: digest
              id: id
              user:
                intercom_hash: intercom_hash
                created_at: '2000-01-23T04:56:07.000Z'
                last_name: last_name
                id: id
                first_name: first_name
                email: email
                instance_admin: true
            url: url
            approved_by:
              intercom_hash: intercom_hash
              created_at: '2000-01-23T04:56:07.000Z'
              last_name: last_name
              id: id
              first_name: first_name
              email: email
              instance_admin: true
            user_id: user_id
            approved_at: '2000-01-23T04:56:07.000Z'
            comment: comment
            id: id
            user:
              intercom_hash: intercom_hash
              created_at: '2000-01-23T04:56:07.000Z'
              last_name: last_name
              id: id
              first_name: first_name
              email: email
              instance_admin: true
          - attestation_digest: attestation_digest
            user_email: user_email
            requirement_version_id: requirement_version_id
            approval_status: APPROVAL_STATUS_UNSPECIFIED
            created_at: '2000-01-23T04:56:07.000Z'
            file_upload:
              size_bytes: size_bytes
              uploaded_at: '2000-01-23T04:56:07.000Z'
              file_name: file_name
              digest: digest
              id: id
              user:
                intercom_hash: intercom_hash
                created_at: '2000-01-23T04:56:07.000Z'
                last_name: last_name
                id: id
                first_name: first_name
                email: email
                instance_admin: true
            url: url
            approved_by:
              intercom_hash: intercom_hash
              created_at: '2000-01-23T04:56:07.000Z'
              last_name: last_name
              id: id
              first_name: first_name
              email: email
              instance_admin: true
            user_id: user_id
            approved_at: '2000-01-23T04:56:07.000Z'
            comment: comment
            id: id
            user:
              intercom_hash: intercom_hash
              created_at: '2000-01-23T04:56:07.000Z'
              last_name: last_name
              id: id
              first_name: first_name
              email: email
              instance_admin: true
        definition:
          name: name
          periodicity:
            expires_at: '2000-01-23T04:56:07.000Z'
            interval: unknown_period
          description: description
          optional: true
          id: id
          group: group
        expiration:
          expires_at: '2000-01-23T04:56:07.000Z'
          interval: unknown_period
      properties:
        definition:
          $ref: '#/components/schemas/v1ManualEvidenceDefinition'
        submissions:
          items:
            $ref: '#/components/schemas/v1ManualEvidenceSubmission'
          title: The submissions for the manual evidence definition
          type: array
        expiration:
          $ref: '#/components/schemas/v1PeriodicityInformation'
      title: >-
        ManualEvidenceDefinitionWithSubmissions represents a manual evidence
        definition with its submissions
      type: object
    v1GetFrameworkComplianceResponseExpiredTest:
      example:
        due_at: '2000-01-23T04:56:07.000Z'
        test_name: test_name
      properties:
        test_name:
          type: string
        due_at:
          format: date-time
          type: string
      type: object
    v1RequirementEvaluationOverride:
      example:
        parent_override_id: parent_override_id
        evidence_submissions:
          - attestation_digest: attestation_digest
            user_email: user_email
            requirement_version_id: requirement_version_id
            approval_status: APPROVAL_STATUS_UNSPECIFIED
            created_at: '2000-01-23T04:56:07.000Z'
            file_upload:
              size_bytes: size_bytes
              uploaded_at: '2000-01-23T04:56:07.000Z'
              file_name: file_name
              digest: digest
              id: id
              user:
                intercom_hash: intercom_hash
                created_at: '2000-01-23T04:56:07.000Z'
                last_name: last_name
                id: id
                first_name: first_name
                email: email
                instance_admin: true
            url: url
            approved_by:
              intercom_hash: intercom_hash
              created_at: '2000-01-23T04:56:07.000Z'
              last_name: last_name
              id: id
              first_name: first_name
              email: email
              instance_admin: true
            user_id: user_id
            approved_at: '2000-01-23T04:56:07.000Z'
            comment: comment
            id: id
            user:
              intercom_hash: intercom_hash
              created_at: '2000-01-23T04:56:07.000Z'
              last_name: last_name
              id: id
              first_name: first_name
              email: email
              instance_admin: true
          - attestation_digest: attestation_digest
            user_email: user_email
            requirement_version_id: requirement_version_id
            approval_status: APPROVAL_STATUS_UNSPECIFIED
            created_at: '2000-01-23T04:56:07.000Z'
            file_upload:
              size_bytes: size_bytes
              uploaded_at: '2000-01-23T04:56:07.000Z'
              file_name: file_name
              digest: digest
              id: id
              user:
                intercom_hash: intercom_hash
                created_at: '2000-01-23T04:56:07.000Z'
                last_name: last_name
                id: id
                first_name: first_name
                email: email
                instance_admin: true
            url: url
            approved_by:
              intercom_hash: intercom_hash
              created_at: '2000-01-23T04:56:07.000Z'
              last_name: last_name
              id: id
              first_name: first_name
              email: email
              instance_admin: true
            user_id: user_id
            approved_at: '2000-01-23T04:56:07.000Z'
            comment: comment
            id: id
            user:
              intercom_hash: intercom_hash
              created_at: '2000-01-23T04:56:07.000Z'
              last_name: last_name
              id: id
              first_name: first_name
              email: email
              instance_admin: true
        requirement_version_id: requirement_version_id
        approval_status: null
        product_version_id: product_version_id
        created_at: '2000-01-23T04:56:07.000Z'
        project_version_id: project_version_id
        source_product_name: source_product_name
        approved_by:
          intercom_hash: intercom_hash
          created_at: '2000-01-23T04:56:07.000Z'
          last_name: last_name
          id: id
          first_name: first_name
          email: email
          instance_admin: true
        approved_at: '2000-01-23T04:56:07.000Z'
        override_status: override_status
        id: id
        justification: justification
        user:
          intercom_hash: intercom_hash
          created_at: '2000-01-23T04:56:07.000Z'
          last_name: last_name
          id: id
          first_name: first_name
          email: email
          instance_admin: true
      properties:
        id:
          title: Unique identifier of the override
          type: string
        requirement_version_id:
          title: Requirement version ID
          type: string
        project_version_id:
          title: Project or product version ID
          type: string
        product_version_id:
          type: string
        override_status:
          title: Override status - only "success" or "fail" allowed
          type: string
        justification:
          title: Justification for the override
          type: string
        user:
          $ref: '#/components/schemas/v1User'
        created_at:
          format: date-time
          title: Creation timestamp
          type: string
        parent_override_id:
          title: If set, this override was propagated from a product-level override
          type: string
        source_product_name:
          title: >-
            If this is a propagated child override, the name of the product from
            which it was propagated
          type: string
        approval_status:
          $ref: '#/components/schemas/v1ApprovalStatus'
        approved_by:
          $ref: '#/components/schemas/v1User'
        approved_at:
          format: date-time
          title: Timestamp when the override was approved
          type: string
        evidence_submissions:
          items:
            $ref: '#/components/schemas/v1ManualEvidenceSubmission'
          title: Evidence submissions attached to this override
          type: array
      title: >-
        RequirementEvaluationOverride represents a manual override of a
        requirement evaluation status
      type: object
    PolicyStatusPolicyEvaluationResult:
      default: UNKNOWN
      description: |-
        - UNKNOWN: The result is unknown
         - PASSED: The policy evaluation passed
         - FAILED: The policy evaluation failed
         - SKIPPED: The policy evaluation was skipped
         - NOT_AVAILABLE: The policy evaluation didn't happen yet
         - FAILED_IN_SLA_GRACE_PERIOD: Failed, under SLA
      enum:
        - UNKNOWN
        - PASSED
        - FAILED
        - SKIPPED
        - NOT_AVAILABLE
        - FAILED_IN_SLA_GRACE_PERIOD
      title: |-
        PolicyEvaluationResult represents the result of a policy evaluation
        buf:lint:ignore ENUM_VALUE_PREFIX
        buf:lint:ignore ENUM_ZERO_VALUE_SUFFIX
      type: string
    v1PeriodicityInformation:
      example:
        expires_at: '2000-01-23T04:56:07.000Z'
        interval: unknown_period
      properties:
        interval:
          $ref: '#/components/schemas/v1PeriodicityValue'
        expires_at:
          format: date-time
          type: string
      type: object
    v1SLAInformation:
      example:
        hours: hours
        due_date: '2000-01-23T04:56:07.000Z'
        failing_since: '2000-01-23T04:56:07.000Z'
      properties:
        hours:
          format: int64
          title: The grace period in hours for a failed policy evaluation
          type: string
        due_date:
          format: date-time
          title: DueDate is the calculated date, when the grace period finishes
          type: string
        failing_since:
          format: date-time
          title: If policy is failed but under SLA, the first time it failed in a row
          type: string
      type: object
    v1RequirementPolicyDefinition:
      example:
        policy_id: policy_id
        name: name
        periodicity:
          expires_at: '2000-01-23T04:56:07.000Z'
          interval: unknown_period
        policy_built_in: true
        sla:
          hours: hours
          due_date: '2000-01-23T04:56:07.000Z'
          failing_since: '2000-01-23T04:56:07.000Z'
        parameters:
          key: parameters
        group: group
      properties:
        name:
          type: string
        policy_id:
          type: string
        policy_built_in:
          type: boolean
        parameters:
          additionalProperties:
            type: string
          title: policy attachment parameters
          type: object
        periodicity:
          $ref: '#/components/schemas/v1PeriodicityInformation'
        sla:
          $ref: '#/components/schemas/v1SLAInformation'
        group:
          title: OR-group name
          type: string
      title: a policy attachment in a requirement
      type: object
    v1ManualEvidenceDefinition:
      example:
        name: name
        periodicity:
          expires_at: '2000-01-23T04:56:07.000Z'
          interval: unknown_period
        description: description
        optional: true
        id: id
        group: group
      properties:
        id:
          type: string
        name:
          type: string
        description:
          title: Description of the manual evidence
          type: string
        optional:
          title: If the manual evidence is optional
          type: boolean
        periodicity:
          $ref: '#/components/schemas/v1PeriodicityInformation'
        group:
          title: OR-group name
          type: string
      title: ManualEvidenceDefinition represents a manual evidence definition
      type: object
    v1ManualEvidenceSubmission:
      example:
        attestation_digest: attestation_digest
        user_email: user_email
        requirement_version_id: requirement_version_id
        approval_status: APPROVAL_STATUS_UNSPECIFIED
        created_at: '2000-01-23T04:56:07.000Z'
        file_upload:
          size_bytes: size_bytes
          uploaded_at: '2000-01-23T04:56:07.000Z'
          file_name: file_name
          digest: digest
          id: id
          user:
            intercom_hash: intercom_hash
            created_at: '2000-01-23T04:56:07.000Z'
            last_name: last_name
            id: id
            first_name: first_name
            email: email
            instance_admin: true
        url: url
        approved_by:
          intercom_hash: intercom_hash
          created_at: '2000-01-23T04:56:07.000Z'
          last_name: last_name
          id: id
          first_name: first_name
          email: email
          instance_admin: true
        user_id: user_id
        approved_at: '2000-01-23T04:56:07.000Z'
        comment: comment
        id: id
        user:
          intercom_hash: intercom_hash
          created_at: '2000-01-23T04:56:07.000Z'
          last_name: last_name
          id: id
          first_name: first_name
          email: email
          instance_admin: true
      properties:
        id:
          type: string
        user_id:
          type: string
        user_email:
          type: string
        created_at:
          format: date-time
          type: string
        requirement_version_id:
          type: string
        url:
          type: string
        file_upload:
          $ref: '#/components/schemas/v1FileUpload'
        user:
          $ref: '#/components/schemas/v1User'
        attestation_digest:
          type: string
        comment:
          type: string
        approval_status:
          $ref: '#/components/schemas/v1ApprovalStatus'
        approved_by:
          $ref: '#/components/schemas/v1User'
        approved_at:
          format: date-time
          title: Timestamp when the submission was approved
          type: string
      type: object
    v1User:
      description: Information about a user in the Chainloop platform.
      example:
        intercom_hash: intercom_hash
        created_at: '2000-01-23T04:56:07.000Z'
        last_name: last_name
        id: id
        first_name: first_name
        email: email
        instance_admin: true
      properties:
        id:
          description: Unique identifier of the user.
          title: The ID of the user
          type: string
        email:
          description: Email address of the user.
          title: The email of the user
          type: string
        intercom_hash:
          description: Computed hash of the user ID for use with Intercom.
          title: The computed hash of the user id to be used in intercom
          type: string
        created_at:
          description: Timestamp when the user account was created.
          format: date-time
          title: The time the user was created
          type: string
        first_name:
          description: First name of the user.
          title: The first name of the user
          type: string
        last_name:
          description: Last name of the user.
          title: The last name of the user
          type: string
        instance_admin:
          description: Whether the user is an instance admin.
          title: Whether the user is an instance admin
          type: boolean
      title: User
      type: object
    v1ApprovalStatus:
      default: APPROVAL_STATUS_UNSPECIFIED
      enum:
        - APPROVAL_STATUS_UNSPECIFIED
        - APPROVAL_STATUS_APPROVED
        - APPROVAL_STATUS_NEEDS_REVIEW
      title: >-
        Approval status for manual evidence submissions and requirement
        evaluation overrides
      type: string
    v1PeriodicityValue:
      default: unknown_period
      description: '- annually: Deprecated: Use yearly instead'
      enum:
        - unknown_period
        - hourly
        - daily
        - weekly
        - biweekly
        - monthly
        - quarterly
        - yearly
        - annually
      title: |-
        buf:lint:ignore ENUM_VALUE_PREFIX
        buf:lint:ignore ENUM_ZERO_VALUE_SUFFIX
        buf:lint:ignore ENUM_VALUE_UPPER_SNAKE_CASE
      type: string
    v1FileUpload:
      example:
        size_bytes: size_bytes
        uploaded_at: '2000-01-23T04:56:07.000Z'
        file_name: file_name
        digest: digest
        id: id
        user:
          intercom_hash: intercom_hash
          created_at: '2000-01-23T04:56:07.000Z'
          last_name: last_name
          id: id
          first_name: first_name
          email: email
          instance_admin: true
      properties:
        id:
          title: The ID of the file
          type: string
        file_name:
          title: The name of the file
          type: string
        digest:
          title: The digest of the file
          type: string
        uploaded_at:
          format: date-time
          title: The time the file was created
          type: string
        user:
          $ref: '#/components/schemas/v1User'
        size_bytes:
          format: int64
          title: The size of the file in bytes
          type: string
      type: object
  securitySchemes:
    bearerToken:
      description: Bearer token for authentication
      type: http
      scheme: bearer
      bearerFormat: JWT

````