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

# トリアージアクションをレビュー

> 承認待ちのアクションを承認または却下します。レビュー担当者は申請者とは異なる企業管理者で、選択したすべての問題種別のステータス変更権限を持つ必要があります。



## OpenAPI

````yaml /ja/api-reference/openapi.json patch /triage/actions/{action_id}
openapi: 3.0.0
info:
  title: Corgea API
  version: 1.0.0
  description: Corgeaのスキャン機能および脆弱性管理機能を操作するためのAPI
servers:
  - url: https://www.corgea.app/api/v1
    description: 本番サーバー
security:
  - CorgeaToken: []
  - BearerAuth: []
paths:
  /triage/actions/{action_id}:
    patch:
      tags:
        - トリアージ
      summary: トリアージアクションをレビュー
      description: >-
        承認待ちのアクションを承認または却下します。レビュー担当者は申請者とは異なる企業管理者で、選択したすべての問題種別のステータス変更権限を持つ必要があります。
      operationId: JaReviewTriageAction
      parameters:
        - name: action_id
          in: path
          required: true
          schema:
            type: string
            format: uuid
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
                - decision
              additionalProperties: false
              properties:
                decision:
                  type: string
                  enum:
                    - approve
                    - reject
      responses:
        '200':
          description: アクションを承認して適用、または却下しました
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/JaTriageActionResponse'
        '400':
          description: 決定またはアクションの状態が無効です
        '403':
          description: レビュー担当者は適切な企業管理者ではありません
        '404':
          description: アクションが見つかりません
components:
  schemas:
    JaTriageActionResponse:
      type: object
      properties:
        status:
          type: string
          example: ok
        action:
          $ref: '#/components/schemas/JaTriageAction'
    JaTriageAction:
      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キー
    BearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: Authorizationヘッダーで使用するOAuth2アクセストークン（JWT）

````