Projects
Vulnerability timeline
Project runs that scanned the asset with the reporting tool, marked seen or missed.
GET
/
api
/
projects
/
{id}
/
vulnerabilities
/
{vulnerabilityId}
/
timeline
Vulnerability timeline
curl --request GET \
--url https://{baseUrl}/api/v1/api/projects/{id}/vulnerabilities/{vulnerabilityId}/timelineimport requests
url = "https://{baseUrl}/api/v1/api/projects/{id}/vulnerabilities/{vulnerabilityId}/timeline"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://{baseUrl}/api/v1/api/projects/{id}/vulnerabilities/{vulnerabilityId}/timeline', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://{baseUrl}/api/v1/api/projects/{id}/vulnerabilities/{vulnerabilityId}/timeline"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}{
"vulnerability": {
"id": "<string>",
"name": "<string>",
"severity": "info",
"assetId": "<string>",
"assetValue": "<string>",
"status": "open",
"provenance": "new",
"timesSeen": 123,
"firstSeen": {
"at": "2023-11-07T05:31:56Z",
"runId": "<string>"
},
"lastSeen": {
"at": "2023-11-07T05:31:56Z",
"runId": "<string>"
},
"cveId": [
"<string>"
],
"affectedUrl": "<string>",
"toolName": "<string>"
},
"runs": [
{
"id": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"workflowName": "<string>",
"sighting": "seen"
}
]
}⌘I
Vulnerability timeline
curl --request GET \
--url https://{baseUrl}/api/v1/api/projects/{id}/vulnerabilities/{vulnerabilityId}/timelineimport requests
url = "https://{baseUrl}/api/v1/api/projects/{id}/vulnerabilities/{vulnerabilityId}/timeline"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://{baseUrl}/api/v1/api/projects/{id}/vulnerabilities/{vulnerabilityId}/timeline', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://{baseUrl}/api/v1/api/projects/{id}/vulnerabilities/{vulnerabilityId}/timeline"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}{
"vulnerability": {
"id": "<string>",
"name": "<string>",
"severity": "info",
"assetId": "<string>",
"assetValue": "<string>",
"status": "open",
"provenance": "new",
"timesSeen": 123,
"firstSeen": {
"at": "2023-11-07T05:31:56Z",
"runId": "<string>"
},
"lastSeen": {
"at": "2023-11-07T05:31:56Z",
"runId": "<string>"
},
"cveId": [
"<string>"
],
"affectedUrl": "<string>",
"toolName": "<string>"
},
"runs": [
{
"id": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"workflowName": "<string>",
"sighting": "seen"
}
]
}