Skip to Content
FlowShapeDocs
AgentSources

Sources

What the agent reads, what each source runs, and the access it needs.

Each source runs the vendor's own tool, without a shell, with the access of whoever runs the agent. Read access is enough everywhere. Several sources can run in one agent.

OptionRunsNeeds
--kuberneteskubectl get … -A -o json, then Secretsthe built-in view role; Secrets optional
--azureaz graph query (Azure Resource Graph)az login, the Reader role
--terraform <dir>terraform show -json in that folderterraform init has run there
--nmap <range>nmap -sV --traceroutenmap; root for the traceroute
--file <path>a file you collected yourself
--demothe sample environments built into the agentnothing
--grafana <url>Grafana's data source APIa Viewer service-account token

On a schedule

Add --every 15m (or 1h, 90s) to collect again on a schedule. Without it, the agent collects once when it starts, then whenever FlowShape asks.

node flowshape-agent.mjs --key <key> --kubernetes --terraform ./infra --every 15m

On this page