Skip to content

Add support for testing FPE transformations#269

Open
rculpepper wants to merge 3 commits into
mainfrom
rculpepper/transform-fpe
Open

Add support for testing FPE transformations#269
rculpepper wants to merge 3 commits into
mainfrom
rculpepper/transform-fpe

Conversation

@rculpepper

Copy link
Copy Markdown

Add config and docs for testing FPE transformations

@davidquirozibm
davidquirozibm self-requested a review July 17, 2026 19:22
davidquirozibm
davidquirozibm previously approved these changes Jul 17, 2026

@davidquirozibm davidquirozibm left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hello @rculpepper this test looks really good! I only found one small documentation discrepancy as a minor nitpick. Thank you for helping improve the Vault benchmark!

FPEConfig: &TransformFPEConfig{
Name: "benchmarktransformation",
Template: "builtin/creditcardnumber",
TweakSource: "internal",

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Here the TweakSource default is listed as internal (this is correct! it should be internal by default)

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I changed this one to "supplied," since that matches the default in Transform

A list of template names to use for matching. Mutually exclusive with
`template`. When provided, the first matching template is used.

- `tweak_source` `(string: "supplied")` -

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Here TweakSource default is listed as supplied.

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.

2 participants