explain-error-plugin icon indicating copy to clipboard operation
explain-error-plugin copied to clipboard

feat: Implement enterprise data protection features for log sanitization

Open shenxianpeng opened this issue 6 months ago • 0 comments

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

  • [x] Make sure you are opening from a topic/feature/bugfix branch (right side) and not your main branch!
  • [x] Ensure that the pull request title represents the desired changelog entry
  • [x] Please describe what you did
  • [x] 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

shenxianpeng avatar May 29 '26 16:05 shenxianpeng