Export one asset's triage decisions as OpenVEX
curl --request GET \
--url https://app.trustivan.com/api/v1/assets/{id}/vex \
--header 'Authorization: Bearer <token>'import requests
url = "https://app.trustivan.com/api/v1/assets/{id}/vex"
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}/vex', 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}/vex"
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"
}Export one asset's triage decisions as OpenVEX
One OpenVEX 0.2.0 statement per vulnerability finding on the asset,
in every state. Needs findings:read. The mapping: open and reopened
→ under_investigation; triaged → affected (action: remediation
pending); suppressed with a VEX justification → not_affected with
that justification and the reason as impact statement; suppressed
without one → affected (“risk accepted: …”), because an accepted
risk is not a claim that the product is unaffected; resolved →
fixed. A container image is identified by a pkg:oci purl, and each
finding’s package is a subcomponent.
GET
/
assets
/
{id}
/
vex
Export one asset's triage decisions as OpenVEX
curl --request GET \
--url https://app.trustivan.com/api/v1/assets/{id}/vex \
--header 'Authorization: Bearer <token>'import requests
url = "https://app.trustivan.com/api/v1/assets/{id}/vex"
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}/vex', 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}/vex"
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 OpenVEX document, as a download.
The response is of type object.