Getting Started¶
Installation¶
From Source¶
Requires Go 1.21+ and Xcode Command Line Tools (for cgo/libproc).
This installs:
- Binary to
~/bin/workloadguard - Default config to
~/.config/workloadguard/config.toml
As a launchd Service¶
To run WorkloadGuard automatically at login:
make install-launchd
launchctl bootstrap gui/$UID ~/Library/LaunchAgents/com.plexusone.workloadguard.plist
To stop and uninstall:
Quick Start¶
One-shot Check¶
See current system state and policy evaluation without starting the daemon:
Text output:
Dry Run¶
Test the daemon without terminating anything:
Production Run¶
Start the daemon:
With Prometheus metrics:
With the JSON API and WebSocket server:
Both can be enabled together on the same address — see the JSON API Guide.
Next Steps¶
- Configuration Guide to define policies for your workload
- CLI Reference for the full command and flag list