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

add credit_card filter to redact function #147

Open
JeanMertz opened this issue Nov 25, 2020 · 0 comments
Open

add credit_card filter to redact function #147

JeanMertz opened this issue Nov 25, 2020 · 0 comments
Labels
type: enhancement A value-adding code change that enhances its existing functionality vrl: stdlib Changes to the standard library

Comments

@JeanMertz
Copy link
Contributor

JeanMertz commented Nov 25, 2020

After vectordotdev/vector#5221 lands, we want to expand the list of filters to make it easy to filter sensitive data without having to write your own regexp (and to make sure those implementations are as performant as possible).

First on the list is a credit card filter:

{ "message": "order paid using credit card number 5555 5555 5555 4444" }
.message = redact(.message, filters = ["credit_card"])
{ "message": "order paid using credit card number ****" }

Some relevant references:

ref vectordotdev/vector#4519

@JeanMertz JeanMertz added the type: enhancement A value-adding code change that enhances its existing functionality label Nov 25, 2020
@JeanMertz JeanMertz self-assigned this Nov 25, 2020
@JeanMertz JeanMertz added the vrl: stdlib Changes to the standard library label Jun 7, 2022
@fuchsnj fuchsnj changed the title remap-lang: add credit_card filter to redact function add credit_card filter to redact function Mar 28, 2023
@fuchsnj fuchsnj transferred this issue from vectordotdev/vector Mar 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: enhancement A value-adding code change that enhances its existing functionality vrl: stdlib Changes to the standard library
Projects
None yet
Development

No branches or pull requests

2 participants