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

# Triage-Freigabe abrufen

> Jeder sieht eigene Anfragen. Prüfberechtigte mit der Berechtigung Can approve or reject triage requests (`heeler.approve_triage_request`) sehen auch andere Anfragen; bei Projektzugriffskontrolle benötigen sie Zugriff auf jedes Projekt. Nicht sichtbare Anfragen liefern 404. Liefert approval, findings und pagination. Befunde folgen den Projektzugriffsrechten; nur Company-Admins erhalten Zeilen ohne Projekt. Bei Projektzugriffskontrolle erhalten Prüfberechtigte, die weder Antragsteller noch Company-Admin sind, rule ohne project_ids und team_ids sowie leere source_metadata.



## OpenAPI

````yaml /de/api-reference/openapi.json get /triage/approvals/{action_id}
openapi: 3.0.0
info:
  title: Corgea API
  version: 1.0.0
  description: >-
    API für die Interaktion mit den Scan- und
    Schwachstellenmanagement-Funktionen von Corgea
servers:
  - url: https://www.corgea.app/api/v1
    description: Produktionsserver
  - url: https://eu.corgea.app/api/v1
    description: EU-Produktionsserver
security:
  - CorgeaToken: []
  - BearerAuth: []
paths:
  /triage/approvals/{action_id}:
    get:
      tags:
        - Triage
      summary: Triage-Freigabe abrufen
      description: >-
        Jeder sieht eigene Anfragen. Prüfberechtigte mit der Berechtigung Can
        approve or reject triage requests (`heeler.approve_triage_request`)
        sehen auch andere Anfragen; bei Projektzugriffskontrolle benötigen sie
        Zugriff auf jedes Projekt. Nicht sichtbare Anfragen liefern 404. Liefert
        approval, findings und pagination. Befunde folgen den
        Projektzugriffsrechten; nur Company-Admins erhalten Zeilen ohne Projekt.
        Bei Projektzugriffskontrolle erhalten Prüfberechtigte, die weder
        Antragsteller noch Company-Admin sind, rule ohne project_ids und
        team_ids sowie leere source_metadata.
      operationId: getTriageApproval
      parameters:
        - name: action_id
          in: path
          required: true
          schema:
            type: string
            format: uuid
        - name: page
          in: query
          schema:
            type: integer
            minimum: 1
            default: 1
        - name: page_size
          in: query
          schema:
            type: integer
            minimum: 1
            maximum: 100
            default: 50
      responses:
        '200':
          description: Erfolg
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    type: string
                    enum:
                      - ok
                  approval:
                    $ref: '#/components/schemas/TriageApproval'
                  findings:
                    type: array
                    items:
                      $ref: '#/components/schemas/DeTriageFindingAudit'
                  pagination:
                    type: object
                    properties:
                      page:
                        type: integer
                      page_size:
                        type: integer
                      total_pages:
                        type: integer
                      total_findings:
                        type: integer
        '400':
          description: Ungültige Anfrage
        '401':
          description: Token fehlt oder ist ungültig
        '403':
          description: Berechtigung oder Planzugriff fehlt
        '404':
          description: Anfrage nicht gefunden oder nicht zugänglich
        '405':
          description: HTTP-Methode nicht unterstützt
components:
  schemas:
    TriageApproval:
      type: object
      properties:
        id:
          type: string
          format: uuid
        status:
          type: string
        source:
          type: string
        target_status:
          type: string
        justification:
          type: string
        accepted_risk_expiry_date:
          type: string
          format: date-time
          nullable: true
        rule:
          type: object
        source_metadata:
          type: object
        requires_approval:
          type: boolean
        requested_by:
          type: integer
          nullable: true
        approved_by:
          type: integer
          nullable: true
        rejected_by:
          type: integer
          nullable: true
        created_at:
          type: string
          format: date-time
        reviewed_at:
          type: string
          format: date-time
          nullable: true
        applied_at:
          type: string
          format: date-time
          nullable: true
        counts:
          type: object
          properties:
            matched:
              type: integer
            unmatched:
              type: integer
            ambiguous:
              type: integer
            applied:
              type: integer
            conflicts:
              type: integer
        decision_label:
          type: string
        requester:
          type: object
          properties:
            id:
              type: integer
              nullable: true
            name:
              type: string
              nullable: true
        review_comment:
          type: string
          nullable: true
        finding_total:
          type: integer
        finding_previews:
          type: array
          maxItems: 3
          items:
            type: object
            properties:
              kind:
                type: string
                enum:
                  - sast
                  - sca
              id:
                type: string
              title:
                type: string
              severity:
                type: string
              location:
                type: string
        project_names:
          type: array
          items:
            type: string
        skip_count:
          type: integer
        closed_by_rescan:
          type: boolean
        can_review:
          type: boolean
        is_requester:
          type: boolean
        suggestion:
          type: object
          nullable: true
        investigation:
          type: object
          nullable: true
    DeTriageFindingAudit:
      type: object
      properties:
        id:
          type: string
          format: uuid
        finding_type:
          type: string
          enum:
            - sast
            - sca
          description: >-
            sast steht für Findings der Familien SAST, Secret, Logic und
            Code-Qualität, sca für Dependency-Findings. Die Massen-Triage
            erreicht nur diese Familien.
        finding_id:
          type: string
          format: uuid
          nullable: true
        project_id:
          type: integer
          nullable: true
        previous_status:
          type: string
          nullable: true
        previous_status_comment:
          type: string
          nullable: true
        previous_accepted_risk_expiry_date:
          type: string
          format: date-time
          nullable: true
        new_status:
          type: string
        new_status_comment:
          type: string
          nullable: true
        severity:
          type: string
          nullable: true
        application_status:
          type: string
          enum:
            - pending
            - applied
            - conflict
            - unmatched
            - ambiguous
        match_evidence:
          type: object
        source_record:
          type: object
        applied_at:
          type: string
          format: date-time
          nullable: true
  securitySchemes:
    CorgeaToken:
      type: apiKey
      in: header
      name: CORGEA-TOKEN
      description: >-
        API-Key für die Authentifizierung API-Tokens inaktiver Benutzer werden
        abgelehnt.
    BearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: OAuth2-Access-Token (JWT) im Authorization-Header

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.