GET
/
provisioning
/
organizations
/
{organization_id}
/
connections
curl --request GET \
  --url https://api.leen.dev/v1/provisioning/organizations/{organization_id}/connections \
  --header 'X-API-KEY: <api-key>'
{
  "count": 123,
  "total": 123,
  "items": [
    {
      "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "vendor": "<string>",
      "is_active": true,
      "refresh_interval_secs": 123,
      "timeout_secs": 123,
      "organization_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "oauth2_authorize_url": "<string>",
      "identifier": "<string>",
      "state": "PENDING",
      "created_at": "2023-11-07T05:31:56Z",
      "updated_at": "2023-11-07T05:31:56Z",
      "health": {
        "name": "HEALTHY",
        "status": "HEALTHY",
        "description": "<string>",
        "resolution_owner": "LEEN",
        "details": [
          {
            "data_export_type": "alerts",
            "endpoint": "<string>"
          }
        ]
      }
    }
  ]
}

Authorizations

X-API-KEY
string
header
required

Path Parameters

organization_id
string
required

Query Parameters

limit
integer
default:100
Required range: x >= 0
offset
integer
default:0
Required range: x >= 0
id
string | null

Equality Filter for Connection id

identifier
string | null

Equality Filter for Connection identifier

vendor
enum<string> | null

Equality Filter for Connection vendor

Available options:
AIKIDO,
ARNICA,
TENABLE,
QUALYS,
SNYK,
CROWDSTRIKE,
CROWDSTRIKE_SPOTLIGHT,
MS_DEFENDER_CLOUD,
MS_DEFENDER_ENDPOINT,
MS_DEFENDER_VMS,
SENTINELONE,
SENTINELONE_VMS,
SEMGREP,
INSIGHTVM,
AWS_SECURITYHUB,
LACEWORK_CSPM,
MS_ENTRA,
AWS_INSPECTOR2,
AWS_ACCESS_ANALYSER,
OKTA_IDP,
WIZ_VMS,
WIZ_CODE
healthStatus
enum<string> | null

Equality Filter for Connection health status (HEALTHY/UNHEALTHY)

Available options:
HEALTHY,
UNHEALTHY
Example:

"HEALTHY"

healthStatusCodes
string | null

Filter Connection by health status name, comma separated

Example:

"UNAUTHORIZED,EXECUTION_TIMEOUT"

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