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

# List GitHub Security Advisory references for a report

> Requires reports:read and access to the report. IDs are deduplicated across the team summary and timeline comments. References are extracted from Hackrate report text.



## OpenAPI

````yaml /openapi/external-admin-2026-11-25.json get /reports/{id}/github/advisories
openapi: 3.0.3
info:
  title: Hackrate External Admin API
  version: API-2026-11-25
  description: >-
    Program discovery and report triage for users with assigned Hackrate roles.
    Tokens are created in Profile Settings > External API. This release adds
    GitHub repository discovery, report advisory references, and draft advisory
    creation. Existing reports:triage tokens can discover repositories and
    create drafts when their owner has the required administrator role. Both
    releases use /api/v1/admin. [Compare API
    versions](/companies/integrations/external-api#api-versions).
servers:
  - url: https://www.hckrt.com/api/v1/admin
security:
  - personalToken: []
paths:
  /reports/{id}/github/advisories:
    parameters:
      - $ref: '#/components/parameters/reportId'
    get:
      summary: List GitHub Security Advisory references for a report
      description: >-
        Requires reports:read and access to the report. IDs are deduplicated
        across the team summary and timeline comments. References are extracted
        from Hackrate report text.
      responses:
        '200':
          description: Advisory references
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/GitHubAdvisoryReference'
              example:
                - ghsaId: GHSA-2345-6789-CFGH
                  url: https://github.com/advisories/GHSA-2345-6789-CFGH
                  isInTeamSummary: true
                  commentCount: 1
                  firstCommentId: 845
                  firstCommentAt: '2026-11-25T10:15:00'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
        '404':
          $ref: '#/components/responses/NotFound'
        '429':
          $ref: '#/components/responses/RateLimited'
components:
  parameters:
    reportId:
      name: id
      in: path
      required: true
      schema:
        type: integer
  schemas:
    GitHubAdvisoryReference:
      type: object
      required:
        - ghsaId
        - url
        - isInTeamSummary
        - commentCount
        - firstCommentId
        - firstCommentAt
      properties:
        ghsaId:
          type: string
        url:
          type: string
          format: uri
          description: >-
            GitHub advisory database URL inferred from the ID. Drafts can be
            opened using the repository URL returned during creation.
        isInTeamSummary:
          type: boolean
        commentCount:
          type: integer
          minimum: 0
          description: Number of timeline comments containing this ID.
        firstCommentId:
          type: integer
          format: int64
          nullable: true
        firstCommentAt:
          type: string
          nullable: true
          description: >-
            Timestamp from the earliest matching timeline comment. Stored
            timestamps can omit the time zone offset.
    ProblemDetails:
      type: object
      properties:
        type:
          type: string
        title:
          type: string
        status:
          type: integer
        detail:
          type: string
  responses:
    Unauthorized:
      description: Missing, invalid, expired, or revoked token
      content:
        application/problem+json:
          schema:
            $ref: '#/components/schemas/ProblemDetails'
    Forbidden:
      description: The role or token scope does not allow the operation
      content:
        application/problem+json:
          schema:
            $ref: '#/components/schemas/ProblemDetails'
    NotFound:
      description: Resource not found or outside the token owner's access
    RateLimited:
      description: Per-token limit of 120 requests per minute exceeded
  securitySchemes:
    personalToken:
      type: http
      scheme: bearer
      bearerFormat: hckrt_pat token

````

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