slackhq / astra

Astra is a structured log search and analytics engine developed by Slack and Salesforce
https://slackhq.github.io/astra/
MIT License
213 stars 30 forks source link

Field-level Redaction #1122

Closed ermontross closed 2 days ago

ermontross commented 1 month ago

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

Requirements