Skip to content

feat: Implement enterprise data protection features for log sanitization#185

Draft
shenxianpeng wants to merge 1 commit into
mainfrom
feature/log-anonymization
Draft

feat: Implement enterprise data protection features for log sanitization#185
shenxianpeng wants to merge 1 commit into
mainfrom
feature/log-anonymization

Conversation

@shenxianpeng
Copy link
Copy Markdown
Member

@shenxianpeng shenxianpeng commented May 29, 2026

Description

  • Added log sanitization to redact sensitive information before sending to AI providers.
  • Introduced options for previewing sanitized payloads before sending.
  • Implemented auditing of sent payloads with redaction and dropped line counts.
  • Added regex policies for allowing and denying specific payload lines.
  • Updated configuration UI to support new features.
  • Enhanced ErrorExplainer and related classes to handle new sanitization logic.
  • Added tests for log sanitization and configuration validation.

Related Issues

Fixes #184

Testing done

Submitter checklist

  • Make sure you are opening from a topic/feature/bugfix branch (right side) and not your main branch!
  • Ensure that the pull request title represents the desired changelog entry
  • Please describe what you did
  • Link to relevant issues in GitHub or Jira
  • Link to relevant pull requests, esp. upstream and downstream changes
  • Ensure you have provided tests that demonstrate the feature works or the issue is fixed

Was generative AI tooling used to co-author this PR?
  • Yes (please specify below)

Assisted-by: Codex

…ion and payload auditing

- Added log sanitization to redact sensitive information before sending to AI providers.
- Introduced options for previewing sanitized payloads before sending.
- Implemented auditing of sent payloads with redaction and dropped line counts.
- Added regex policies for allowing and denying specific payload lines.
- Updated configuration UI to support new features.
- Enhanced ErrorExplainer and related classes to handle new sanitization logic.
- Added tests for log sanitization and configuration validation.
@shenxianpeng shenxianpeng added the enhancement For changelog: Minor enhancement. use `major-rfe` for changes to be highlighted label May 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement For changelog: Minor enhancement. use `major-rfe` for changes to be highlighted

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Feature: Log sanitization and send-before-preview for LLM payloads

1 participant