Enable Audit Logging
Enable audit logging to record all operations performed by the agents, including Shell commands, file read/write operations, and API calls, ensuring operation traceability.
Procedure
OpenClaw provides a comprehensive set of security audit commands to verify various security settings, including log configurations.
- Run the security audit (to check the current configuration).
openclaw security audit
- Perform a deep audit (including port detection).
openclaw security audit --deep
- Automatically fix common security issues.
openclaw security audit --fix
Parent topic: Automated Configuration Items