curl --request GET \
--url https://app.trustivan.com/api/v1/findings \
--header 'Authorization: Bearer <token>'import requests
url = "https://app.trustivan.com/api/v1/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/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/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>"
}
}{
"error": "<string>",
"code": "validation_failed",
"required_scope": "<string>",
"principal": "user"
}List findings
Enumerate with order=recent. It is the order whose keys are
immutable and whose traversal is therefore exhaustive; severity is
the backlog view and can miss rows that move.
curl --request GET \
--url https://app.trustivan.com/api/v1/findings \
--header 'Authorization: Bearer <token>'import requests
url = "https://app.trustivan.com/api/v1/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/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/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>"
}
}{
"error": "<string>",
"code": "validation_failed",
"required_scope": "<string>",
"principal": "user"
}Authorizations
Query Parameters
Narrow to findings whose vulnerability is in the exploited catalogue, or to those that are not.
Three states, and the absent one does not filter. Omitting the parameter returns everything; a caller who did not ask to filter must not silently receive a filtered backlog.
A deployment that has configured no catalogue marks nothing, so
true returns nothing there, which is honest: "not known to be
exploited" and "we are not looking" are different facts, and the
second is not evidence of the first.
Comma-separated: reachable, not_reachable, unknown. Narrow to
vulnerability findings whose reachability verdict
(detail.reachability.status, from the scanned source) is one of
these. A finding no source analysis covered (an image, an SBOM, an
ecosystem the analysis does not read) has no verdict and never
matches. Any other value is a 400.
Narrow to findings whose stored EPSS probability is at least this. Read from the stored risk assessment, never a live lookup. A finding not yet scored, or scored on a deployment where EPSS is not enabled, has no value and never matches: absence of a score is not evidence it is low.
0 <= x <= 1recent 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 Narrow by remediation deadline, computed from your SLA policy as
first_seen_at + the severity's target days (the same deadline
sla_due_at shows). breached: open, triaged or reopened and past
due. due_soon: open, triaged or reopened, not yet due, and due
within sla_within_days. A severity with no target matches
neither, and with no policy at all the result is empty: no target
is not "breached". Suppressed and resolved findings never match.
breached, due_soon Search. Matches findings whose identifier (a CVE, GHSA or rule ID)
or package name CONTAINS the text, ignoring case:
q=cve-2021-44228 answers "do we have it?", and q=log4j finds
org.apache.logging.log4j:log4j-core. % and _ are literal.
Leading and trailing spaces are ignored; over 200 characters is a
400. Part of the cursor's filter set, like every other filter.
200Narrow to findings whose identifier (a CVE, GHSA or rule ID) is
EXACTLY this, case-sensitively. q=CVE-2024-1 also matches
CVE-2024-10; identifier=CVE-2024-1 does not. Leading and trailing
spaces are ignored; over 200 characters is a 400. Part of the
cursor's filter set.
200Response
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).