GET
/
cspm
/
compliance_findings
curl --request GET \
  --url https://api.leen.dev/v1/cspm/compliance_findings \
  --header 'X-API-KEY: <api-key>' \
  --header 'X-CONNECTION-ID: <api-key>'
{
  "count": 123,
  "total": 123,
  "items": [
    {
      "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "vendor_id": "<string>",
      "vendor": "<string>",
      "title": "<string>",
      "description": "<string>",
      "remediation": "<string>",
      "status": "<string>",
      "vendor_status": "<string>",
      "severity": "<string>",
      "vendor_severity": "<string>",
      "vendor_data": {},
      "start_time": "2023-11-07T05:31:56Z",
      "status_changed_at": "2023-11-07T05:31:56Z",
      "resource_id": "<string>",
      "resource_type": "<string>",
      "resource_name": "<string>",
      "resource_region": "<string>"
    }
  ]
}

Authorizations

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

Query Parameters

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
includeCompliances
boolean
default:
false

Include compliance data in the compliance findings

complianceStatus
string | null

Filter by one or more compliance status. Valid values: PASS, FAIL, NOT_APPLICABLE

complianceFindingStatus
string | null

Filter by one or more compliance finding status. Valid values: UNKNOWN, NEW, IN_PROGRESS, SUPPRESSED, RESOLVED, OTHER

control
string | null

Filter by one or more control

standard
string | null

Filter by one or more standard

statusUpdatedSince
string | null

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

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