Skip to Content
FlowShapeDocs
Agent

Security and your data

Who can reach the agent, what it runs, what it hands out and what it keeps.

Who can reach it

  • Only this computer: the agent listens on 127.0.0.1 by default, and warns when started with another --host.
  • Only with its key: every request needs Authorization: Bearer <key>, compared in constant time. Keys shorter than 16 characters are refused.
  • Only FlowShape's page: browsers send the page's origin, and the agent refuses any origin but app.flowshape.io (and any --origin you add).
  • No DNS rebinding: while on 127.0.0.1, it refuses requests addressed to any name but this computer's own (127.0.0.1, localhost, [::1]).

What remains: anyone who has the key and can connect to this computer. Keep the key out of shared shell history (options).

What it runs

Only the tools of the sources you enable, without a shell, with fixed arguments and the rights of whoever runs the agent. Give it a read-only identity: Azure Reader, the Kubernetes view role, a Grafana Viewer token.

It never contacts FlowShape or any third party. The only outgoing connections are those tools and, with --grafana, your own Grafana.

What it hands out

Each source's output, with secrets dropped before anything leaves the agent:

  • Kubernetes Secrets keep their name, type and labels; their values are removed.
  • Values Terraform marks sensitive are removed, in state and plans, with sensitive outputs and input variables.
  • Files given with --file get the same treatment.
  • Grafana's address goes without any user name or password in it; the token never leaves.

Anything a tool prints that isn't marked secret is passed on as printed: ConfigMaps, an environment variable written straight into a pod spec, tags. Keep secrets in Secrets and sensitive variables.

What it keeps

Nothing on disk. The last results stay in memory until the agent stops.

Reporting a problem

Write to hello@flowshape.io with "Security" in the subject.

On this page