curl --request GET \
--url https://app.trustivan.com/api/v1/findings/{id} \
--header 'Authorization: Bearer <token>'import requests
url = "https://app.trustivan.com/api/v1/findings/{id}"
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/{id}', 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/{id}"
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))
}{}{
"error": "<string>",
"code": "validation_failed",
"required_scope": "<string>",
"principal": "user"
}Read one finding with a page of its timeline
Every finding (here and in every listing) carries its explainable risk
score: risk_score (0 to 100), risk_priority (the ordering key: the
score, or 0 while suppressed or resolved), risk_scored_at (when the
assessment last changed) and risk (the complete breakdown, a
RiskAssessment). risk is null until the risk pass first reaches the
finding.
A finding whose organization has configured an SLA for its severity
(PUT /settings/sla/{severity}) also carries sla_days (the
configured target), sla_due_at (first_seen_at + sla_days) and
sla_breached (past due while the finding is open, triaged or
reopened, never true for a suppressed or resolved finding, which left
the backlog). All three are absent (not false, not zero) when the
organization has not set a target for that severity: an unconfigured
SLA is not the same fact as “on time”.
curl --request GET \
--url https://app.trustivan.com/api/v1/findings/{id} \
--header 'Authorization: Bearer <token>'import requests
url = "https://app.trustivan.com/api/v1/findings/{id}"
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/{id}', 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/{id}"
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))
}{}{
"error": "<string>",
"code": "validation_failed",
"required_scope": "<string>",
"principal": "user"
}Authorizations
Response
The finding and its recent events.
The response is of type object.