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

# Findings gesammelt triagieren

> Zeigt eine regelbasierte Statusänderung für bis zu 5.000 zugängliche SAST- oder SCA-Findings als Vorschau an oder wendet sie an. Aktionen für akzeptierte Risiken, die den Genehmigungsschwellenwert des Unternehmens erreichen, geben 202 zurück und bleiben ausstehend, bis ein anderer Unternehmensadministrator sie genehmigt.



## OpenAPI

````yaml /de/api-reference/openapi.json patch /triage/findings
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
security:
  - CorgeaToken: []
  - BearerAuth: []
paths:
  /triage/findings:
    patch:
      tags:
        - Triage
      summary: Findings gesammelt triagieren
      description: >-
        Zeigt eine regelbasierte Statusänderung für bis zu 5.000 zugängliche
        SAST- oder SCA-Findings als Vorschau an oder wendet sie an. Aktionen für
        akzeptierte Risiken, die den Genehmigungsschwellenwert des Unternehmens
        erreichen, geben 202 zurück und bleiben ausstehend, bis ein anderer
        Unternehmensadministrator sie genehmigt.
      operationId: DeBulkTriageFindings
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/DeBulkTriageRequest'
      responses:
        '200':
          description: Aktion als Vorschau angezeigt oder angewendet
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DeTriageActionResponse'
        '202':
          description: Aktion erstellt und wartet auf Genehmigung
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DeTriageActionResponse'
        '400':
          description: Ungültige Anfrage oder mehr als 5.000 Findings gefunden
        '403':
          description: >-
            Dem Token fehlt die Berechtigung, den Status eines oder mehrerer
            ausgewählter Finding-Typen zu ändern
components:
  schemas:
    DeBulkTriageRequest:
      type: object
      required:
        - target_status
        - justification
        - rule
      additionalProperties: false
      properties:
        target_status:
          type: string
          enum:
            - open
            - fixed
            - false_positive
            - accepted_risk
            - duplicate
            - fix_in_progress
          description: >-
            fix_in_progress ist nur verfügbar, wenn finding_types ausschließlich
            sast enthält.
        justification:
          type: string
          minLength: 1
        apply:
          type: boolean
          default: true
          description: >-
            Auf false setzen, um eine Vorschau zu erstellen, ohne Findings zu
            ändern.
        expiry_date:
          type: string
          format: date-time
          nullable: true
          description: Zukünftiger Ablaufzeitpunkt, nur für accepted_risk-Aktionen.
        rule:
          $ref: '#/components/schemas/DeBulkTriageRule'
    DeTriageActionResponse:
      type: object
      properties:
        status:
          type: string
          example: ok
        action:
          $ref: '#/components/schemas/DeTriageAction'
    DeBulkTriageRule:
      type: object
      additionalProperties: false
      description: >-
        Wählen Sie einen Bereich mit company_wide, project_ids oder team_ids
        aus. Filter verwenden match, um die zutreffenden Kriterien zu
        kombinieren; CWE-Filter gelten für SAST sowie CVE- und
        Erreichbarkeitsfilter für SCA.
      properties:
        company_wide:
          type: boolean
          default: false
        project_ids:
          type: array
          uniqueItems: true
          items:
            type: integer
        team_ids:
          type: array
          uniqueItems: true
          items:
            type: integer
        finding_types:
          type: array
          minItems: 1
          default:
            - sast
            - sca
          items:
            type: string
            enum:
              - sast
              - sca
        cwes:
          type: array
          items:
            type: string
            example: CWE-79
        cves:
          type: array
          items:
            type: string
            example: CVE-2026-1000
        path_patterns:
          type: array
          items:
            type: string
            example: tests/**
        severities:
          type: array
          items:
            type: string
            enum:
              - LO
              - ME
              - HI
              - CR
              - LOW
              - MEDIUM
              - HIGH
              - CRITICAL
        reachability:
          type: string
          nullable: true
          enum:
            - 'true'
            - 'false'
            - unsure
        match:
          type: string
          enum:
            - all
            - any
          default: all
    DeTriageAction:
      type: object
      properties:
        id:
          type: string
          format: uuid
        status:
          type: string
          enum:
            - preview
            - pending_approval
            - applied
            - rejected
            - failed
        source:
          type: string
          enum:
            - api
            - cli
            - cxone
        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
  securitySchemes:
    CorgeaToken:
      type: apiKey
      in: header
      name: CORGEA-TOKEN
      description: API-Key für die Authentifizierung
    BearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: OAuth2-Access-Token (JWT) im Authorization-Header

````