Three management surfaces

Web console, CLI / TUI, and REST share one user, session, and audit model.
SurfaceWhen to useHow to reach it
Web consoleDaily ops, rules, logs, attack maphttp://127.0.0.1:9443/ after setup
CLI / TUIHeadless hosts, scriptswaf-cli or cheesewaf panel
RESTAutomation, CI/api/... with a session cookie or a management API token

setup.three_end_unified is on in the sample config. A user created in the console can use the CLI. A token created under System can call REST with the same RBAC permissions.

Permissions live under apisec.permissions. The sample grants admin: ["*"] and readonly: ["read:*", "read:cluster"].

Audit events write to apisec.audit.path when apisec.audit.enabled is true.

See Console, CLI, and REST API.