Skip to content
Foo GuardDocs
DOCUMENTATION

AG-026

Risky Actions with Logging Disabled

medium

Page text and source link for your AI assistant. Nothing is sent automatically.

When this rule triggers

A tool explicitly declares writing, modification, or destructive behavior while agent logging is explicitly disabled. External audit controls are not assessed.

How to fix

Enable agent action logging with identity, target, outcome, and appropriate retention. Exclude secret values. Verify any external audit boundary before recording an exception.

Example change

auditability.loggingEnabled: false → auditability.loggingEnabled: true

Verify the change

After enabling logging in the agent, run a test action and confirm its identity, target, and outcome appear in the audit log. Rescan the updated declaration.

Related rules

Build confidently. Keep your agents accountable.Get help ↗
Search Foo Guard Docs