Files
coder/enterprise/cli/testdata/coder_agent-firewall_--help.golden
T
Sas Swart bcb981b839 chore: bump github.com/coder/boundary to v0.11.0 (#30083)
Bumps `github.com/coder/boundary` from v0.10.0 to
[v0.11.0](https://github.com/coder/boundary/releases/tag/v0.11.0). No
transitive dependency changes.

boundary v0.11.0 wraps the `--session-id-inject-target` format and
example in backticks, so:

- The `coder agent-firewall` help golden and
`docs/reference/cli/agent-firewall.md` are regenerated.
- The temporary `<host>`/`<glob>` entry for that page in
`scripts/docshtmlcheck`'s `allowedUnknownTags` is now stale (the
linter's self-clearing guard fails on it), so it is removed. The
allowlist is now passed into `filterAllowed`/`reportFindings` so the
tests use their own fixture instead of depending on the real, now-empty
map.

> Generated by Coder Agents on behalf of @SasSwart.
2026-09-29 17:00:27 +02:00

77 lines
2.9 KiB
Plaintext

coder v0.0.0-devel
USAGE:
coder agent-firewall [flags] [args...]
Network isolation tool for monitoring and restricting HTTP/HTTPS requests
boundary creates an isolated network environment for target processes,
intercepting HTTP/HTTPS traffic through a transparent proxy that enforces
user-defined allow rules.
OPTIONS:
--allow string, $BOUNDARY_ALLOW
Allow rule (repeatable). These are merged with allowlist from config
file. Format: "pattern" or "METHOD[,METHOD] pattern".
string-array
Allowlist rules from config file (YAML only).
--config yaml-config-path, $BOUNDARY_CONFIG
Path to YAML config file.
--disable-audit-logs bool, $DISABLE_AUDIT_LOGS
Disable sending of audit logs to the workspace agent when set to true.
--enable-session-correlation bool, $BOUNDARY_SESSION_CORRELATION_ENABLED
Enable session correlation header injection. When no inject targets
are configured, the target is auto-derived from CODER_AGENT_URL (set
automatically inside Coder workspaces). Disable for deployments
without Coder AI Gateway in front.
--jail-type string, $BOUNDARY_JAIL_TYPE (default: nsjail)
Jail type to use for network isolation. Options: nsjail (default),
landjail.
--log-dir string, $BOUNDARY_LOG_DIR
Set a directory to write logs to rather than stderr.
--log-level string, $BOUNDARY_LOG_LEVEL (default: warn)
Set log level (error, warn, info, debug).
--log-proxy-socket-path string, $CODER_AGENT_BOUNDARY_LOG_PROXY_SOCKET_PATH (default: /tmp/boundary-audit.sock)
Path to the socket where the boundary log proxy server listens for
audit logs.
--no-user-namespace bool, $BOUNDARY_NO_USER_NAMESPACE
Do not create a user namespace. Use in restricted environments that
disallow user NS (e.g. Bottlerocket in EKS auto-mode).
--pprof bool, $BOUNDARY_PPROF
Enable pprof profiling server.
--pprof-port int, $BOUNDARY_PPROF_PORT (default: 6060)
Set port for pprof profiling server.
--proxy-port int, $PROXY_PORT (default: 8080)
Set a port for HTTP proxy.
--session-id-inject-target string, $BOUNDARY_SESSION_ID_INJECT_TARGET
Inject target for session correlation headers. Repeat the flag once
per target; each value describes exactly one target. Format:
`domain=<host> [path=<glob>]`. Example: `--session-id-inject-target
"domain=prod.coder.com path=/api/v2/aibridge/*"`.
string-array
Inject targets from config file (YAML only).
--use-real-dns bool, $BOUNDARY_USE_REAL_DNS
Use real DNS in the jail instead of the dummy DNS (allows DNS
exfiltration). Default: false.
--version bool
Print version information and exit.
———
Run `coder --help` for a list of global options.