List stored evidence packs
curl --request GET \
--url https://app.trustivan.com/api/v1/compliance/evidence-packs \
--header 'Authorization: Bearer <token>'import requests
url = "https://app.trustivan.com/api/v1/compliance/evidence-packs"
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/compliance/evidence-packs', 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/compliance/evidence-packs"
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))
}{
"evidence_packs": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"framework": "<string>",
"period_from": "2023-11-07T05:31:56Z",
"period_to": "2023-11-07T05:31:56Z",
"created_by": "<string>",
"sha256": "<string>",
"key_id": "<string>",
"controls": 123,
"passing": 123,
"failing": 123,
"not_assessed": 123,
"outside_evidence": 123,
"created_at": "2023-11-07T05:31:56Z"
}
],
"limit": 123
}{
"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 stored evidence packs
The organization’s evidence packs, newest first, at most 200. Each
record names the framework, the period, who made it, the SHA-256 of
the signed JSON and the summary counts. The pack itself is served by
/compliance/evidence-packs/{id}/download.
Gated like the audit export: identity:read and the audit_export
entitlement (402 without it), plus assets:read.
GET
/
compliance
/
evidence-packs
List stored evidence packs
curl --request GET \
--url https://app.trustivan.com/api/v1/compliance/evidence-packs \
--header 'Authorization: Bearer <token>'import requests
url = "https://app.trustivan.com/api/v1/compliance/evidence-packs"
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/compliance/evidence-packs', 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/compliance/evidence-packs"
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))
}{
"evidence_packs": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"framework": "<string>",
"period_from": "2023-11-07T05:31:56Z",
"period_to": "2023-11-07T05:31:56Z",
"created_by": "<string>",
"sha256": "<string>",
"key_id": "<string>",
"controls": 123,
"passing": 123,
"failing": 123,
"not_assessed": 123,
"outside_evidence": 123,
"created_at": "2023-11-07T05:31:56Z"
}
],
"limit": 123
}{
"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"
}