curl --request GET \
--url https://app.trustivan.com/api/v1/authz/audit-chain \
--header 'Authorization: Bearer <token>'import requests
url = "https://app.trustivan.com/api/v1/authz/audit-chain"
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/authz/audit-chain', 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/authz/audit-chain"
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"
}Verify the administrative audit trail is intact
Recomputes this organization’s audit hash chain and reports the first break with its position.
The trail has been append-only since migration 011, which is a real guarantee against the application and against a tenant, and it stops at the database superuser, who can disable the trigger, rewrite a row and re-enable it. The chain closes that: each row carries the digest of its predecessor, so a deletion, a reordering or a changed field breaks verification at that point.
tombstoned is what separates a LAWFUL break from evidence somebody
removed. A GDPR erasure deliberately breaks the chain and leaves a
record saying so; a break with no such record is tampering. Collapsing
the two either way would mean the mechanism hiding a lawful deletion
also hides an unlawful one.
Behind identity:read: a caller who may read the events may ask
whether they were rewritten.
curl --request GET \
--url https://app.trustivan.com/api/v1/authz/audit-chain \
--header 'Authorization: Bearer <token>'import requests
url = "https://app.trustivan.com/api/v1/authz/audit-chain"
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/authz/audit-chain', 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/authz/audit-chain"
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 verification, with a one-sentence summary.