curl --request GET \
--url https://app.trustivan.com/api/v1/assets/{id}/findings \
--header 'Authorization: Bearer <token>'import requests
url = "https://app.trustivan.com/api/v1/assets/{id}/findings"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://app.trustivan.com/api/v1/assets/{id}/findings', 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://app.trustivan.com/api/v1/assets/{id}/findings"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}{
"findings": [
{}
],
"total": 123,
"page": {
"limit": 123,
"order": "recent",
"has_more": true,
"stable": true,
"next_cursor": "<string>"
}
}List one asset's findings
curl --request GET \
--url https://app.trustivan.com/api/v1/assets/{id}/findings \
--header 'Authorization: Bearer <token>'import requests
url = "https://app.trustivan.com/api/v1/assets/{id}/findings"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://app.trustivan.com/api/v1/assets/{id}/findings', 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://app.trustivan.com/api/v1/assets/{id}/findings"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}{
"findings": [
{}
],
"total": 123,
"page": {
"limit": 123,
"order": "recent",
"has_more": true,
"stable": true,
"next_cursor": "<string>"
}
}Authorizations
Query Parameters
recent is exhaustive and is what machines should use: its keys are
immutable, so every row present at the start is visited exactly once.
severity is the backlog view, worst first.
risk is the triage view: highest risk_priority first (the
finding's explainable risk score, with suppressed and resolved
findings at 0). A critical nobody is exploiting ranks below a high
that CISA lists as exploited. Its keys are mutable (a feed refresh can
re-score a finding between two requests for adjacent pages), so it is
for a person browsing, not for a release gate enumerating.
recent, severity, risk Response
A page of findings.
A vulnerability finding's detail carries, besides the
advisory fields: malicious (a malicious-package advisory
names it), typosquat (resembles, reason: a near miss of
a popular package's name), install_script (the lock file
records an install script) and reachability (status
reachable / not_reachable / unknown, level function /
import, method, evidence, chain, symbols).