DEV Community

Qasim Muhammad
Qasim Muhammad

Posted on

Show the current audit configuration, including log path, retention, rotation, and compression settings with nylas audit conf...

Show the current audit configuration, including log path, retention, rotation, and compression settings. Essential for SOC 2 compliance and AI agent oversight.

The nylas audit config show command displays every audit setting in effect — log file path, retention period, max file size, daily rotation, compression, and whether request IDs and API details are recorded. Use it to verify your audit setup before enabling logging or to troubleshoot why logs aren't appearing where expected.

Syntax

nylas audit config show
Enter fullscreen mode Exit fullscreen mode

When to Use This

Reach for nylas audit config show for compliance reporting, AI agent oversight, or debugging automation failures. Combine with --json to pipe output into other tools.

Examples

Display current audit configuration:

nylas audit config show
Enter fullscreen mode Exit fullscreen mode

Check configuration as JSON for scripting:

nylas audit config show --json
Enter fullscreen mode Exit fullscreen mode

How It Works

Every entry in the audit log captures: the exact command, all arguments (with secrets redacted), the invoker identity (human or AI agent name), the exit code, and a nanosecond timestamp. This level of detail is what compliance auditors expect.


Full docs: nylas audit config show reference — all flags, advanced examples, and troubleshooting.

All commands: Nylas CLI Command Reference

Get started: brew install nylas/nylas-cli/nylasother install methods

Top comments (0)