# Get target compliance counts

Proxy ShiftLeft/Qwiet compound OWASP counts. Resolves polyglot scan and compound from ShiftLeft scan metadata, then fetches Qwiet v4 owasp_counts. Response includes a derived summary sibling with per-year OWASP passed/failed/total. The uncategorized category is ignored when totaling.

Endpoint: GET /sto/api/v2/targets/{id}/compliance_counts
Version: 1.0
Security: 

## Query parameters:

  - `accountId` (string, required)
    Harness Account ID
    Example: "abcdef1234567890ghijkl"

  - `orgId` (string, required)
    Harness Organization ID
    Example: "example_org"

  - `projectId` (string, required)
    Harness Project ID
    Example: "example_project"

  - `variantId` (string)
    Optional variant scope
    Example: "xyz987zyx654wvu321tsr9"

  - `executionId` (string)
    Harness Execution ID
    Example: "abcdef1234567890ghijkl"

## Path parameters:

  - `id` (string, required)
    Target ID
    Example: "abcdef1234567890ghijkl"

## Response 400 fields (application/json):

  - `message` (string, required)
    Example: "Not Found"

  - `status` (integer)
    Example: 404


