Redact functionality
#11496
-
I am working on an implementation to redact credit card numbers, but with regex, I am getting false positives. I need to implement luhn checker for the same. Do we have any inbuilt functionality in vector or can the same be achieved with VRL? Will it require lua for the same? |
Beta Was this translation helpful? Give feedback.
Answered by
jszwedko
Feb 23, 2022
Replies: 1 comment
-
Hi @Sg-23 ! I think you'll need to use Lua for this for now. At the least, VRL needs a way to index into a string before you could implement the luhn algorithm. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
Sg-23
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi @Sg-23 !
I think you'll need to use Lua for this for now. At the least, VRL needs a way to index into a string before you could implement the luhn algorithm.