Get Integrations
curl --request GET \
--url https://api.leen.dev/v1/connectorsimport requests
url = "https://api.leen.dev/v1/connectors"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.leen.dev/v1/connectors', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.leen.dev/v1/connectors",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.leen.dev/v1/connectors"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.leen.dev/v1/connectors")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.leen.dev/v1/connectors")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body[
{
"auth_type": "<string>",
"category": "<string>",
"credentials_params": [
"<string>"
],
"data_export_types": [
"alerts"
],
"docs_url": "<string>",
"logo_url": "<string>",
"vendor": "<string>",
"vendor_description": "<string>",
"vendor_name": "<string>"
}
]{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"ctx": {},
"input": "<unknown>"
}
]
}Connectors
Get Integrations
List every integration Leen supports, with the credential fields each one requires. Unauthenticated, so it can be called before a connection exists — useful for rendering a connection form.
GET
/
connectors
Get Integrations
curl --request GET \
--url https://api.leen.dev/v1/connectorsimport requests
url = "https://api.leen.dev/v1/connectors"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.leen.dev/v1/connectors', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.leen.dev/v1/connectors",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.leen.dev/v1/connectors"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.leen.dev/v1/connectors")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.leen.dev/v1/connectors")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body[
{
"auth_type": "<string>",
"category": "<string>",
"credentials_params": [
"<string>"
],
"data_export_types": [
"alerts"
],
"docs_url": "<string>",
"logo_url": "<string>",
"vendor": "<string>",
"vendor_description": "<string>",
"vendor_name": "<string>"
}
]{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"ctx": {},
"input": "<unknown>"
}
]
}Query Parameters
Response
Successful Response
Available options:
alerts, compliances, compliance_findings, config_users, cspm_alerts, device_groups, device_policies, devices, idp, idp_alerts, idp_audit_logs, idp_policies, issues, organization_identities, sast_issues, sca_issues, vms_scan_configs, vulnerabilities, resources, vulnerability_findings_v2, grc_entity, grc_control, grc_evidence, grc_assessment_question, grc_assessment, tprm, tprm_company, tprm_finding, findings, itsm_users, itsm_groups, itsm_projects, itsm_tickets, itsm_attachments, itsm_comments, applications, siem_events