Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion crates/goose/src/security/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -166,12 +166,17 @@ impl SecurityManager {
});
}
} else {
let tool_call_json =
serde_json::to_string(&tool_call).unwrap_or_else(|_| "{}".to_string());

tracing::info!(
monotonic_counter.goose.prompt_injection_tool_call_passed = 1,
Comment thread
dorien-koelemeijer marked this conversation as resolved.
tool_name = %tool_call.name,
tool_request_id = %tool_request.id,
tool_call_json = %tool_call_json,
Comment thread
dorien-koelemeijer marked this conversation as resolved.
confidence = analysis_result.confidence,
explanation = %sanitized_explanation,
"Current tool call passed security analysis"
"Current tool call passed security analysis"
);
}
}
Expand Down
Loading