Vulnerability Findings
Get Vulnerability Finding by ID
API Documentation (V2)
Vulnerability Findings
Vulnerability Findings
Get Vulnerability Finding by ID
Get a vulnerability finding by ID.
GET
/
vulnerability_findings
/
{vulnerability_finding_id}
curl --request GET \
--url https://api.leen.dev/v2/vulnerability_findings/{vulnerability_finding_id} \
--header 'X-API-KEY: <api-key>' \
--header 'X-CONNECTION-ID: <api-key>'
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"title": "<string>",
"description": "<string>",
"analytic_output": "<string>",
"severity": "CRITICAL",
"state": "OPEN",
"type": "DEPENDENCY",
"first_seen": "2023-11-07T05:31:56Z",
"last_seen": "2023-11-07T05:31:56Z",
"ticket": {
"uid": "<string>",
"url": "<string>",
"status": "<string>"
},
"has_fix": true,
"remediation": "<string>",
"product": {
"vendor_name": "<string>",
"name": "<string>"
},
"analytic": {
"type": "<string>",
"uid": "<string>",
"name": "<string>",
"url": "<string>"
},
"resource_related": {
"affected_code": {
"file_path": "<string>",
"start_line_number": 123,
"end_line_number": 123,
"url": "<string>"
},
"affected_image": "<string>",
"affected_os": "<string>",
"affected_package": {
"name": "<string>",
"version": "<string>"
},
"port": 123,
"protocol": "<string>",
"service": "<string>"
},
"vulnerabilities": [
{
"uid": "<string>",
"published": "2023-11-07T05:31:56Z",
"last_modified": "2023-11-07T05:31:56Z",
"status": "<string>",
"source_identifier": "<string>",
"cvss_scores": [
{
"version": "<string>",
"score": 123,
"vector": "<string>",
"severity": "<string>"
}
],
"description": "<string>",
"references": [
{
"url": "<string>",
"source": "<string>",
"tags": [
"<string>"
]
}
],
"weaknesses": [
"<string>"
],
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}
],
"resources": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"tags": [
{
"key": "<string>",
"value": "<string>",
"source": "wiz_vms"
}
],
"type": "BRANCH",
"state": "ACTIVE",
"groups": [
{
"name": "<string>",
"uid": "<string>"
}
],
"data": {
"hostnames": [
"<string>"
],
"image": "<string>"
},
"cloud_metadata": {
"account_id": "<string>",
"account_name": "<string>",
"cloud_provider": "<string>",
"image_id": "<string>",
"instance_id": "<string>",
"instance_type": "<string>",
"region": "<string>",
"subnet_id": "<string>",
"vpc_id": "<string>"
},
"url": "<string>",
"vendor": "<string>",
"first_seen": "2023-11-07T05:31:56Z",
"last_seen": "2023-11-07T05:31:56Z",
"vendor_attributes": {
"id": "<string>"
}
}
],
"vendor_attributes": {
"id": "<string>",
"url": "<string>",
"state": "<string>",
"severity": "<string>",
"updated_at": "2023-11-07T05:31:56Z",
"created_at": "2023-11-07T05:31:56Z",
"data": {
"vendor": "GITLAB",
"report_type": "SAST",
"scanner": {
"id": "<string>",
"vendor": "<string>",
"name": "<string>"
}
}
}
}
Path Parameters
Response
200
application/json
Successful Response
The response is of type object
.
curl --request GET \
--url https://api.leen.dev/v2/vulnerability_findings/{vulnerability_finding_id} \
--header 'X-API-KEY: <api-key>' \
--header 'X-CONNECTION-ID: <api-key>'
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"title": "<string>",
"description": "<string>",
"analytic_output": "<string>",
"severity": "CRITICAL",
"state": "OPEN",
"type": "DEPENDENCY",
"first_seen": "2023-11-07T05:31:56Z",
"last_seen": "2023-11-07T05:31:56Z",
"ticket": {
"uid": "<string>",
"url": "<string>",
"status": "<string>"
},
"has_fix": true,
"remediation": "<string>",
"product": {
"vendor_name": "<string>",
"name": "<string>"
},
"analytic": {
"type": "<string>",
"uid": "<string>",
"name": "<string>",
"url": "<string>"
},
"resource_related": {
"affected_code": {
"file_path": "<string>",
"start_line_number": 123,
"end_line_number": 123,
"url": "<string>"
},
"affected_image": "<string>",
"affected_os": "<string>",
"affected_package": {
"name": "<string>",
"version": "<string>"
},
"port": 123,
"protocol": "<string>",
"service": "<string>"
},
"vulnerabilities": [
{
"uid": "<string>",
"published": "2023-11-07T05:31:56Z",
"last_modified": "2023-11-07T05:31:56Z",
"status": "<string>",
"source_identifier": "<string>",
"cvss_scores": [
{
"version": "<string>",
"score": 123,
"vector": "<string>",
"severity": "<string>"
}
],
"description": "<string>",
"references": [
{
"url": "<string>",
"source": "<string>",
"tags": [
"<string>"
]
}
],
"weaknesses": [
"<string>"
],
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}
],
"resources": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"tags": [
{
"key": "<string>",
"value": "<string>",
"source": "wiz_vms"
}
],
"type": "BRANCH",
"state": "ACTIVE",
"groups": [
{
"name": "<string>",
"uid": "<string>"
}
],
"data": {
"hostnames": [
"<string>"
],
"image": "<string>"
},
"cloud_metadata": {
"account_id": "<string>",
"account_name": "<string>",
"cloud_provider": "<string>",
"image_id": "<string>",
"instance_id": "<string>",
"instance_type": "<string>",
"region": "<string>",
"subnet_id": "<string>",
"vpc_id": "<string>"
},
"url": "<string>",
"vendor": "<string>",
"first_seen": "2023-11-07T05:31:56Z",
"last_seen": "2023-11-07T05:31:56Z",
"vendor_attributes": {
"id": "<string>"
}
}
],
"vendor_attributes": {
"id": "<string>",
"url": "<string>",
"state": "<string>",
"severity": "<string>",
"updated_at": "2023-11-07T05:31:56Z",
"created_at": "2023-11-07T05:31:56Z",
"data": {
"vendor": "GITLAB",
"report_type": "SAST",
"scanner": {
"id": "<string>",
"vendor": "<string>",
"name": "<string>"
}
}
}
}