Skip to main content
GET
/
v2
/
findings
/
{id}
Get finding
curl --request GET \
  --url https://api.ghostsecurity.ai/v2/findings/{id} \
  --header 'Authorization: Bearer <token>'
{
  "agent": {
    "description": "<string>",
    "name": "<string>",
    "vector": "<string>"
  },
  "created_at": "<string>",
  "details": {
    "code": "<string>",
    "description": "<string>",
    "endpoint": {
      "authn": {
        "implemented": true
      },
      "authz": {
        "implemented": true
      },
      "created_at": "<string>",
      "findings_count": 123,
      "id": "<string>",
      "location": {
        "class_name": "<string>",
        "file_path": "<string>",
        "line_number": 123,
        "method_name": "<string>",
        "url": "<string>"
      },
      "method": "<string>",
      "path_template": "<string>",
      "updated_at": "<string>"
    },
    "exploit_feasibility": "<string>",
    "exploit_walkthrough": "<string>",
    "fixed_code": "<string>",
    "location": {
      "class_name": "<string>",
      "file_path": "<string>",
      "line_number": 123,
      "method_name": "<string>",
      "url": "<string>"
    },
    "remediation": "<string>",
    "remediation_effort": "<string>",
    "severity": "<string>",
    "supporting_files": [
      {
        "class_name": "<string>",
        "file_path": "<string>",
        "line_number": 123,
        "method_name": "<string>",
        "url": "<string>"
      }
    ],
    "title": "<string>",
    "validation_evidence": [
      {
        "criteria": "<string>",
        "rationale": "<string>"
      }
    ]
  },
  "id": "<string>",
  "organization_id": "<string>",
  "project": {
    "id": "<string>",
    "name": "<string>"
  },
  "repo": {
    "id": "<string>",
    "name": "<string>",
    "url": "<string>"
  },
  "scan_details": {
    "analyzed_at": "<string>",
    "rejected_at": "<string>",
    "scan_id": "<string>",
    "verified_at": "<string>"
  },
  "status": "<string>",
  "updated_at": "<string>",
  "user_status": "<string>"
}

Authorizations

Authorization
string
header
required

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

Path Parameters

id
string
required

Finding ID

Response

OK

agent
object

Finding Agent details

created_at
string
details
object

Finding Details

id
string
organization_id
string
project
object
repo
object

Repo and project details

scan_details
object

Scan details

status
string

Status and timestamps

updated_at
string
user_status
string