List SBOM provenance
curl --request GET \
--url https://app.trustivan.com/api/v1/sbom/documents \
--header 'Authorization: Bearer <token>'import requests
url = "https://app.trustivan.com/api/v1/sbom/documents"
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/sbom/documents', 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/sbom/documents"
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"
}{
"error": "<string>",
"code": "validation_failed",
"required_scope": "<string>",
"principal": "user"
}List SBOM provenance
Which documents this tenant has imported and exported: format, origin, content digest, and what each contributed.
NOT a component store. Components live in one inventory regardless of whether a scan or an import produced them; this records the fact of the DOCUMENT. Exports are recorded as well as imports, because a supply-chain audit asks both where an inventory came from and who it was given to.
An import’s bytes are not retained; the SHA-256 is, which answers “is the file you are holding the one you gave us?” without a storage and erasure obligation over a file the customer already has. An upload’s newest document per asset is held, because a worker has to read it.
GET
/
sbom
/
documents
List SBOM provenance
curl --request GET \
--url https://app.trustivan.com/api/v1/sbom/documents \
--header 'Authorization: Bearer <token>'import requests
url = "https://app.trustivan.com/api/v1/sbom/documents"
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/sbom/documents', 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/sbom/documents"
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"
}{
"error": "<string>",
"code": "validation_failed",
"required_scope": "<string>",
"principal": "user"
}Authorizations
Query Parameters
Response
One page of provenance records.
The response is of type object.