Rate This Document
Findability
Accuracy
Completeness
Readability

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.

  1. Run the security audit (to check the current configuration).
    openclaw security audit
  2. Perform a deep audit (including port detection).
    openclaw security audit --deep
  3. Automatically fix common security issues.
    openclaw security audit --fix