StackHawk · Example Payload

Stackhawk List Findings Example

Retrieve all security findings from a completed scan

API SecurityApplication SecurityDASTSecurity TestingVulnerability Management

Stackhawk List Findings Example is an example object payload from StackHawk, with 4 top-level fields. It illustrates the shape of data this provider's APIs accept or return.

Top-level fields

titledescriptionrequestresponse

Example Payload

Raw ↑
{
  "title": "List Findings Example",
  "description": "Retrieve all security findings from a completed scan",
  "request": {
    "method": "GET",
    "url": "https://api.stackhawk.com/api/v1/app/app-abc123/env/env-xyz789/scan/scan-001/finding",
    "headers": {
      "Authorization": "Bearer {{JWT_TOKEN}}"
    }
  },
  "response": {
    "status": 200,
    "body": {
      "findings": [
        {
          "findingId": "finding-001",
          "scanId": "scan-001",
          "severity": "HIGH",
          "title": "SQL Injection",
          "description": "User input is not properly sanitized before being used in a SQL query.",
          "path": "/api/v1/users/search",
          "method": "GET"
        },
        {
          "findingId": "finding-002",
          "scanId": "scan-001",
          "severity": "MEDIUM",
          "title": "Missing Security Headers",
          "description": "The API response is missing recommended security headers such as X-Content-Type-Options.",
          "path": "/api/v1/products",
          "method": "GET"
        }
      ]
    }
  }
}