curl --request GET \
--url https://app.trustivan.com/api/v1/reports/executive-summary \
--header 'Authorization: Bearer <token>'import requests
url = "https://app.trustivan.com/api/v1/reports/executive-summary"
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/reports/executive-summary', 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/reports/executive-summary"
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"
}{
"error": "<string>",
"code": "validation_failed",
"required_scope": "<string>",
"principal": "user"
}The tenant's risk posture as one dated, named report
The one page a CISO forwards: open findings by severity, how many are known-exploited, how many have a fix available, what opened and resolved in the window, mean time to resolve, and the assets to look at first.
Every figure is read from /stats and /stats/posture rather than
recomputed, so the summary that leaves the building and the overview an
engineer works from cannot disagree. Same permission as both
(assets:read).
json is the default. csv and html are downloads; the HTML is
print-optimised and “Save as PDF” is the browser’s Print command.
posture_grade is the organization’s A-F grade (PostureGradeRollup,
grade-v1), the same figure as /stats/grades. Its SLA rules use the
organization’s own remediation targets; a severity with no target is
never past it. mttr_hours is null when nothing was resolved in the
window, because 0 would claim instant fixes.
curl --request GET \
--url https://app.trustivan.com/api/v1/reports/executive-summary \
--header 'Authorization: Bearer <token>'import requests
url = "https://app.trustivan.com/api/v1/reports/executive-summary"
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/reports/executive-summary', 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/reports/executive-summary"
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"
}{
"error": "<string>",
"code": "validation_failed",
"required_scope": "<string>",
"principal": "user"
}Authorizations
Response
The summary.
The response is of type object.