> ## 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 get /issues
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:
  /issues:
    get:
      tags:
        - 問題
      summary: すべての問題を一覧表示
      description: 認証済みユーザーの会社に属するすべてのセキュリティ問題を取得します
      operationId: listIssues
      parameters:
        - name: project
          in: query
          required: false
          schema:
            type: string
          description: プロジェクト名で問題を絞り込みます
        - name: repo
          in: query
          required: false
          schema:
            type: string
          description: リポジトリURLで問題を絞り込みます
        - name: branch
          in: query
          required: false
          schema:
            type: string
          description: ブランチ名で問題を絞り込みます
        - name: triggered_by
          in: query
          required: false
          schema:
            type: string
          description: 指定したユーザーが開始した最新スキャンの問題に絞り込みます。メールアドレスまたは「current_user」を指定します。
        - name: scan_type
          in: query
          required: false
          schema:
            type: string
            enum:
              - full
              - partial
          description: 指定したスキャンタイプの最新スキャンに含まれる問題に絞り込みます。「full」または「partial」を指定します。
        - name: show_false_positives
          in: query
          required: false
          schema:
            type: boolean
            default: false
          description: 誤検知（手動またはAI）と判定された問題を含めます。デフォルトでは誤検知は除外されます。
        - name: include_reachability
          in: query
          required: false
          schema:
            type: boolean
            default: false
          description: 各問題のエンドポイント到達可能性の概要を含めます。
        - name: page
          in: query
          required: false
          schema:
            type: integer
            default: 1
          description: ページネーションのページ番号
        - name: page_size
          in: query
          required: false
          schema:
            type: integer
            default: 20
            maximum: 50
          description: 1ページあたりの結果件数
      responses:
        '200':
          description: 問題を正常に取得したか、プロジェクトが見つかりません
          content:
            application/json:
              schema:
                oneOf:
                  - type: object
                    properties:
                      status:
                        type: string
                        example: ok
                      page:
                        type: integer
                      total_pages:
                        type: integer
                      total_issues:
                        type: integer
                      issues:
                        type: array
                        items:
                          $ref: '#/components/schemas/Issue'
                  - type: object
                    properties:
                      status:
                        type: string
                        example: no_project_found
        '403':
          description: 権限がありません
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                    example: Permission denied
components:
  schemas:
    Issue:
      type: object
      properties:
        id:
          type: string
          format: uuid
        classification:
          type: object
          properties:
            id:
              type: string
              example: CWE-123
            name:
              type: string
              example: Vulnerability Name
            description:
              type: string
              nullable: true
        urgency:
          type: string
          enum:
            - critical
            - high
            - medium
            - low
        created_at:
          type: string
          format: date-time
        status:
          type: string
          enum:
            - open
            - in_progress
            - fixed
            - accepted_risk
            - false_positive
        sla_status:
          type: string
          enum:
            - on_track
            - due
            - overdue
        location:
          $ref: '#/components/schemas/IssueLocation'
        auto_triage:
          $ref: '#/components/schemas/AutoTriage'
        auto_fix_suggestion:
          $ref: '#/components/schemas/AutoFixSuggestion'
        assigned_to:
          $ref: '#/components/schemas/AssignedTo'
        scanner_metadata:
          type: object
          description: スキャナーが提供し、問題に関連付けられたメタデータ。
          additionalProperties:
            type: string
        reachability:
          $ref: '#/components/schemas/IssueReachabilitySummary'
    IssueLocation:
      type: object
      properties:
        file:
          type: object
          properties:
            name:
              type: string
            language:
              type: string
            path:
              type: string
        project:
          type: object
          properties:
            name:
              type: string
            branch:
              type: string
            git_sha:
              type: string
        line_number:
          type: integer
    AutoTriage:
      type: object
      properties:
        false_positive_detection:
          type: object
          properties:
            status:
              type: string
              enum:
                - valid
                - false_positive
                - pending
            reasoning:
              type: string
    AutoFixSuggestion:
      type: object
      properties:
        id:
          type: string
          format: uuid
        status:
          type: string
          enum:
            - fix_available
            - no_fix
            - false_positive
            - on_hold
            - unsupported
            - plan
          description: >-
            現在の修正の利用可否。問題の取得リクエストでは、生成可能で未生成の修正がデフォルトで生成されます。生成が無効な場合、または修正が生成されない場合、ステータスはno_fixになります。
        patch:
          type: object
          properties:
            diff:
              type: string
              description: unified diff形式のパッチ
            explanation:
              type: string
              description: 修正によって脆弱性がどのように解消されるかの説明
    AssignedTo:
      type: object
      nullable: true
      description: 問題の担当ユーザー。未割り当ての場合はnullです。
      properties:
        id:
          type: string
          description: 担当ユーザーのID。
        email:
          type: string
          format: email
          description: 担当ユーザーのメールアドレス。
        name:
          type: string
          nullable: true
          description: 担当ユーザーの表示名。利用できない場合はnullです。
    IssueReachabilitySummary:
      type: object
      description: include_reachabilityがtrueの場合に返されるエンドポイント到達可能性の概要。
      properties:
        is_reachable:
          type: boolean
        endpoint_count:
          type: integer
  securitySchemes:
    CorgeaToken:
      type: apiKey
      in: header
      name: CORGEA-TOKEN
      description: 認証用のAPIキー
    BearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: Authorizationヘッダーで使用するOAuth2アクセストークン（JWT）

````