GET
/
appsec
/
issues
curl --request GET \
  --url https://api.leen.dev/v1/appsec/issues \
  --header 'X-API-KEY: <api-key>' \
  --header 'X-CONNECTION-ID: <api-key>'
{
  "count": 123,
  "total": 123,
  "items": [
    {
      "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "code_repo": "<string>",
      "project_file_path": "<string>",
      "repo_url": "<string>",
      "repo_branch_name": "<string>",
      "vendor": "<string>",
      "vendor_id": "<string>",
      "name": "<string>",
      "package_name": "<string>",
      "package_version": "<string>",
      "severity": "INFO",
      "platform": "<string>",
      "package_manager": "<string>",
      "publication_time": "2023-11-07T05:31:56Z",
      "is_patchable": true,
      "remediation": [
        "<string>"
      ],
      "type": "VULNERABILITY",
      "description": "<string>",
      "vulnerability_identifiers": [
        {
          "type": "CVE",
          "value": "CVE-2021-34527"
        }
      ],
      "cvss_score": 123,
      "state": "OPEN",
      "first_seen": "2023-11-07T05:31:56Z",
      "last_seen": "2023-11-07T05:31:56Z",
      "kb_url": "<string>",
      "issue_url": "<string>",
      "vendor_data": {
        "finding_type": "cloud",
        "attack_surface_type": "backend",
        "attack_surface": {
          "id": 123,
          "name": "<string>",
          "external_repo_id": "<string>",
          "provider": "<string>",
          "active": true,
          "branch": "<string>"
        }
      },
      "state_updated_at": "2023-11-07T05:31:56Z"
    }
  ]
}

Authorizations

X-CONNECTION-ID
string
header
required
X-API-KEY
string
header
required

Query Parameters

sort
string | null

Sort by field

stateUpdatedSince
string | null

Datetime filter, only return issues where the state was updated since this datetime. Example format: 2021-01-01T00:00:00+00:00

firstSeenSince
string | null

Datetime filter, only return issues where the first seen since this datetime. Example format: 2021-01-01T00:00:00+00:00

lastSeenSince
string | null

Datetime filter, only return issues where the last seen since this datetime. Example format: 2021-01-01T00:00:00+00:00

severity
string | null

Issue severity filter, comma separated

enableCursor
boolean
default:
false

Enable cursor based pagination instead of default offset-based pagination

updatedSince
string | null

Datetime filter, only return items updated since this datetime. Example format: 2021-01-01T00:00:00+00:00

limit
integer
default:
100

Limit size (page size)

Required range: x > 0
offset
integer
default:
0

Offset index (starting index of page)

Required range: x > 0
excludeTotal
boolean
default:
false

Skips returning the total rows, total is set to null when true

cursor
string | null

Response

200
application/json
Successful Response
count
integer
required

Number of items return in the response

items
object[]
required

List of items returned in the response

total
integer | null

Total number of items that can be returned