mirror of
https://github.com/BenedictKing/kiro.rs.git
synced 2026-04-25 06:55:50 +03:00
[PR #74] feat: 添加 sensitive-logs feature flag 控制敏感日志输出 #39
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/kiro.rs#39
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Original Pull Request: https://github.com/hank9999/kiro.rs/pull/74
State: open
Merged: No
动机
生产环境中
tracing::debug输出完整 Kiro 请求体可能泄露用户对话内容。实现
Cargo.toml中添加sensitive-logsfeature flag改动范围
Cargo.toml: 添加 feature 定义src/anthropic/handlers.rs: 2 处请求体日志改为条件编译