Search the check catalogue
curl --request GET \
--url https://app.trustivan.com/api/v1/catalogue/checks \
--header 'Authorization: Bearer <token>'import requests
url = "https://app.trustivan.com/api/v1/catalogue/checks"
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/catalogue/checks', 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/catalogue/checks"
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))
}{
"checks": [
{
"id": "<string>",
"slug": "<string>",
"area": "cloud",
"category": "<string>",
"title": "<string>",
"severity": "<string>",
"what": "<string>",
"why": "<string>",
"fix": "<string>",
"evidence": [
{
"scope": "<string>",
"status": "<string>",
"note": "<string>"
}
],
"providers": [
"<string>"
],
"language": "<string>",
"provider": "<string>",
"targets": [
"<string>"
],
"mappings": [
{
"framework": "<string>",
"control": "<string>",
"title": "<string>"
}
],
"cwe": [
"<string>"
],
"owasp": [
"<string>"
],
"live_check": true,
"taint": true,
"live_check_endpoint": "<string>",
"detection": {
"keywords": [
"<string>"
],
"pattern": "<string>",
"entropy": 123,
"upstream": "<string>"
},
"example": {
"vulnerable": "<string>",
"fixed": "<string>"
},
"references": [
{
"title": "<string>",
"url": "<string>"
}
],
"updated": "<string>"
}
]
}{
"error": "<string>",
"code": "validation_failed",
"required_scope": "<string>",
"principal": "user"
}{
"error": "<string>",
"code": "validation_failed",
"required_scope": "<string>",
"principal": "user"
}Search the check catalogue
The cloud, Kubernetes, static-analysis and secret checks TRUSTIVAN runs,
built from the code that runs them (the same source as the published
catalogue). A check whose ID, title or category contains every word of
q, in catalogue order, at most limit (clamped to 1..50, default 50).
No tenant data; requires findings:read, because a check is what
explains a finding.
GET
/
catalogue
/
checks
Search the check catalogue
curl --request GET \
--url https://app.trustivan.com/api/v1/catalogue/checks \
--header 'Authorization: Bearer <token>'import requests
url = "https://app.trustivan.com/api/v1/catalogue/checks"
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/catalogue/checks', 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/catalogue/checks"
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))
}{
"checks": [
{
"id": "<string>",
"slug": "<string>",
"area": "cloud",
"category": "<string>",
"title": "<string>",
"severity": "<string>",
"what": "<string>",
"why": "<string>",
"fix": "<string>",
"evidence": [
{
"scope": "<string>",
"status": "<string>",
"note": "<string>"
}
],
"providers": [
"<string>"
],
"language": "<string>",
"provider": "<string>",
"targets": [
"<string>"
],
"mappings": [
{
"framework": "<string>",
"control": "<string>",
"title": "<string>"
}
],
"cwe": [
"<string>"
],
"owasp": [
"<string>"
],
"live_check": true,
"taint": true,
"live_check_endpoint": "<string>",
"detection": {
"keywords": [
"<string>"
],
"pattern": "<string>",
"entropy": 123,
"upstream": "<string>"
},
"example": {
"vulnerable": "<string>",
"fixed": "<string>"
},
"references": [
{
"title": "<string>",
"url": "<string>"
}
],
"updated": "<string>"
}
]
}{
"error": "<string>",
"code": "validation_failed",
"required_scope": "<string>",
"principal": "user"
}{
"error": "<string>",
"code": "validation_failed",
"required_scope": "<string>",
"principal": "user"
}