curl --request GET \
--url https://app.trustivan.com/api/v1/kubernetes/clusters \
--header 'Authorization: Bearer <token>'import requests
url = "https://app.trustivan.com/api/v1/kubernetes/clusters"
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/kubernetes/clusters', 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/kubernetes/clusters"
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"
}The organization's connected clusters
admission_failure_mode and admission_mode are rendered whether or
not admission control is enabled, because what happens during a
TRUSTIVAN outage (and what a failing workload gets) are things a
customer should be able to read without first turning the feature on.
asset_id is the cluster’s node in the estate graph, present once a
collection has recorded one. It is what a client walks to list the
cluster’s workloads and the images they run
(GET /assets/{id}/graph?direction=down&depth=2), rather than a
second endpoint deriving the same two edges.
insecure_skip_verify is rendered for the same reason: a connection
that silently skipped certificate verification would be a credential
sent to whoever answers the address.
last_runtime_event_at is when Falco last posted an event for this
cluster, absent if it never has, TRUSTIVAN’s closest thing to an
agent health check, since it ships no sensor of its own.
Behind assets:read.
curl --request GET \
--url https://app.trustivan.com/api/v1/kubernetes/clusters \
--header 'Authorization: Bearer <token>'import requests
url = "https://app.trustivan.com/api/v1/kubernetes/clusters"
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/kubernetes/clusters', 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/kubernetes/clusters"
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 connected clusters.