Runtime events across every cluster, with filters
curl --request GET \
--url https://app.trustivan.com/api/v1/runtime/events \
--header 'Authorization: Bearer <token>'import requests
url = "https://app.trustivan.com/api/v1/runtime/events"
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/runtime/events', 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/runtime/events"
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))
}{
"events": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"cluster_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"cluster_name": "<string>",
"source": "falco",
"rule": "<string>",
"severity": "critical",
"correlated": true,
"repeats": 123,
"occurred_at": "2023-11-07T05:31:56Z",
"check_id": "<string>",
"priority": "<string>",
"output": "<string>",
"namespace": "<string>",
"pod": "<string>",
"container": "<string>",
"container_id": "<string>",
"image": "<string>",
"image_digest": "<string>",
"node": "<string>",
"workload_asset_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"image_asset_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"finding_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"last_repeat_at": "2023-11-07T05:31:56Z",
"fields": {}
}
],
"last_24h": {
"stored": 123,
"dropped": 123
}
}{
"error": "<string>",
"code": "validation_failed",
"required_scope": "<string>",
"principal": "user"
}{
"error": "<string>",
"code": "validation_failed",
"required_scope": "<string>",
"principal": "user"
}Runtime events across every cluster, with filters
The runtime sensor’s stored events for the organization, most recent
first. Repeats (the same behaviour within 10 minutes) are counted on
the stored event rather than listed. last_24h is what the ingest
stored and dropped over the per-cluster budget (600 a minute) in the
last 24 hours, for the cluster named or for all.
Behind findings:read.
GET
/
runtime
/
events
Runtime events across every cluster, with filters
curl --request GET \
--url https://app.trustivan.com/api/v1/runtime/events \
--header 'Authorization: Bearer <token>'import requests
url = "https://app.trustivan.com/api/v1/runtime/events"
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/runtime/events', 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/runtime/events"
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))
}{
"events": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"cluster_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"cluster_name": "<string>",
"source": "falco",
"rule": "<string>",
"severity": "critical",
"correlated": true,
"repeats": 123,
"occurred_at": "2023-11-07T05:31:56Z",
"check_id": "<string>",
"priority": "<string>",
"output": "<string>",
"namespace": "<string>",
"pod": "<string>",
"container": "<string>",
"container_id": "<string>",
"image": "<string>",
"image_digest": "<string>",
"node": "<string>",
"workload_asset_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"image_asset_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"finding_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"last_repeat_at": "2023-11-07T05:31:56Z",
"fields": {}
}
],
"last_24h": {
"stored": 123,
"dropped": 123
}
}{
"error": "<string>",
"code": "validation_failed",
"required_scope": "<string>",
"principal": "user"
}{
"error": "<string>",
"code": "validation_failed",
"required_scope": "<string>",
"principal": "user"
}