GET
/
v1
/
reviews
/
{id}
/
issues
Get issues for specific review
curl --request GET \
  --url https://api.ghostsecurity.ai/v1/reviews/{id}/issues \
  --header 'Authorization: Bearer <token>'
[
  {
    "commit_sha": "abc123",
    "created_at": "2025-01-01T00:00:00Z",
    "description": "This is a SQL injection vulnerability",
    "file_path": "/path/to/file",
    "first_seen_at": "2025-01-01T00:00:00Z",
    "id": "csUT18jx0mY",
    "last_seen_at": "2025-01-01T00:00:00Z",
    "line_number": 42,
    "pr_number": 1,
    "provider": "github",
    "repo_id": "1e7d8c9b-ce80-41ae-8645-5b2a89165615-gitlab-69265683",
    "repo_name": "repo",
    "repo_owner": "owner",
    "resolved_at": "2025-01-01T00:00:00Z",
    "resolved_by": "abc123",
    "review_id": "csUT18jx0mY",
    "seen_in_commits": [
      "[\"abc123\"",
      " \"def456\"]"
    ],
    "severity": "high",
    "status": "open",
    "title": "SQL Injection Vulnerability",
    "updated_at": "2025-01-01T00:00:00Z"
  }
]

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required

Review ID

Response

OK

commit_sha
string
Example:

"abc123"

created_at
string
Example:

"2025-01-01T00:00:00Z"

description
string
Example:

"This is a SQL injection vulnerability"

file_path
string
Example:

"/path/to/file"

first_seen_at
string
Example:

"2025-01-01T00:00:00Z"

id
string
Example:

"csUT18jx0mY"

last_seen_at
string
Example:

"2025-01-01T00:00:00Z"

line_number
integer
Example:

42

pr_number
integer
Example:

1

provider
string
Example:

"github"

repo_id
string
Example:

"1e7d8c9b-ce80-41ae-8645-5b2a89165615-gitlab-69265683"

repo_name
string
Example:

"repo"

repo_owner
string
Example:

"owner"

resolved_at
string
Example:

"2025-01-01T00:00:00Z"

resolved_by
string

commit SHA

Example:

"abc123"

review_id
string
Example:

"csUT18jx0mY"

seen_in_commits
string[]
Example:
["[\"abc123\"", " \"def456\"]"]
severity
string
Example:

"high"

status
string

"open", "resolved"

Example:

"open"

title
string
Example:

"SQL Injection Vulnerability"

updated_at
string
Example:

"2025-01-01T00:00:00Z"