VMS
Identity Provider (IDP)
Provisioning
- POSTCreate Organization
- GETList Organizations
- GETGet Organization by ID
- DELSoft Delete Organization By Id And Environment Id
- POSTCreate Connection
- GETList Connections
- GETGet Connection by ID
- GETList Jobs by Connection ID
- GETTest Connection Credentials by Connection ID
- DELDelete Connection
- PATCHUpdate Connection by ID and Organization ID
Connectors
Enrichments
AppSec
Get Issue by ID
Retrieve an issue by its ID (Leen’s UUID).
GET
/
appsec
/
issues
/
{issue_id}
curl --request GET \
--url https://api.leen.dev/v1/appsec/issues/{issue_id} \
--header 'X-API-KEY: <api-key>' \
--header 'X-CONNECTION-ID: <api-key>'
{
"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"
}
Path Parameters
Response
200
application/json
Successful Response
The response is of type object
.
curl --request GET \
--url https://api.leen.dev/v1/appsec/issues/{issue_id} \
--header 'X-API-KEY: <api-key>' \
--header 'X-CONNECTION-ID: <api-key>'
{
"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"
}