Skip to content

Issue #8791 : Harden the Mask fields database mapping store - #8793

Open
bamaer wants to merge 1 commit into
apache:mainfrom
bamaer:8791
Open

bamaer wants to merge 1 commit into
apache:mainfrom
bamaer:8791

Conversation

@bamaer

@bamaer bamaer commented Oct 7, 2026

Copy link
Copy Markdown
Contributor

Store an HMAC of each source value when a pattern has a hash secret, and move plain-text rows to their hashed key. Reserve sequence numbers with a row lock and add a unique key on the masked value, so two processes never hand out the same value. Share a mapping store by resolved URL and user. Clear the failed and later fields of an error row. Add trim and ignore-case options and key numbers by value. Stop when a hash secret does not resolve.

fixes #8791


Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:

  • Run mvn clean install apache-rat:check to make sure basic checks pass. A more thorough check will be performed on your pull request automatically.
  • If you have a group of commits related to the same change, please squash your commits into one and force push your branch using git rebase -i.
  • Mention the appropriate issue in your description (for example: addresses #123), if applicable.

To make clear that you license your contribution under the Apache License Version 2.0, January 2004
you have to acknowledge this by using the following check-box.

Store an HMAC of each source value when a pattern has a hash secret, and move plain-text rows to their hashed key. Reserve sequence numbers with a row lock and add a unique key on the masked value, so two processes never hand out the same value. Share a mapping store by resolved URL and user. Clear the failed and later fields of an error row. Add trim and ignore-case options and key numbers by value. Stop when a hash secret does not resolve.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Feature Request]: Mask fields: harden the database mapping store and keep unmasked values out of error rows

1 participant