Find security graph nodes to explore from
curl --request GET \
--url https://app.trustivan.com/api/v1/security-graph/nodes \
--header 'Authorization: Bearer <token>'import requests
url = "https://app.trustivan.com/api/v1/security-graph/nodes"
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/security-graph/nodes', 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/security-graph/nodes"
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))
}{
"nodes": [
{
"key": "<string>",
"kind": "internet",
"label": "<string>",
"attributes": {},
"asset_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
]
}{
"error": "<string>",
"code": "validation_failed",
"required_scope": "<string>",
"principal": "user"
}{
"error": "<string>",
"code": "validation_failed",
"required_scope": "<string>",
"principal": "user"
}Find security graph nodes to explore from
Nodes whose label or key contains q (case-insensitive), optionally
of one kind, most-connected first: where the dashboard’s graph
explorer starts. Requires findings:read.
GET
/
security-graph
/
nodes
Find security graph nodes to explore from
curl --request GET \
--url https://app.trustivan.com/api/v1/security-graph/nodes \
--header 'Authorization: Bearer <token>'import requests
url = "https://app.trustivan.com/api/v1/security-graph/nodes"
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/security-graph/nodes', 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/security-graph/nodes"
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))
}{
"nodes": [
{
"key": "<string>",
"kind": "internet",
"label": "<string>",
"attributes": {},
"asset_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
]
}{
"error": "<string>",
"code": "validation_failed",
"required_scope": "<string>",
"principal": "user"
}{
"error": "<string>",
"code": "validation_failed",
"required_scope": "<string>",
"principal": "user"
}