Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Field-level Redaction #1122

Open
wants to merge 17 commits into
base: master
Choose a base branch
from
Open

Field-level Redaction #1122

wants to merge 17 commits into from

Conversation

ermontross
Copy link
Contributor

@ermontross ermontross commented Oct 14, 2024

Summary

Add the ability to redact field values based on a field name for a specified time range via the manager API. This implemented is heavily based on OpenSearch's field masking.

The admin specifies a time range and a field name to redact. It redacts on read at the Lucene level by overwriting the reader. Currently, replaces the value of the field specified with REDACTED.

Left to-dos for the future

  • hash the value instead of replacing with REDACTED
  • auto-delete redactions whose time range is outside of the data's retention policy
  • possible: redact queries as well as reads

Requirements

@ermontross ermontross force-pushed the emontross/redaction branch 2 times, most recently from df00ed0 to 58e13f7 Compare October 17, 2024 18:24
@ermontross ermontross changed the title [DRAFT] Field-level Redaction Field-level Redaction Oct 17, 2024
kyle-sammons
kyle-sammons previously approved these changes Oct 22, 2024
bryanlb and others added 13 commits November 12, 2024 15:59
fix tests

take care of comments

fmt

closes, deletes, logs

fmt

secondary agg logs

remove tostring

remove unused import

more logging yay

add redactions to searchermanagerfromchunkid

remove logs, add test
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants