Skip to content

Conversation

@huanccwang
Copy link

[Task] desensitization of main fields in logs #3861

In this pr, I mask logging data according keyword like uri,name,id et.
I add two new plugin handler,and three dictionary value like this:
截屏2022-09-08 02 00 22
截屏2022-09-08 02 00 41
截屏2022-09-08 02 00 48

User can add keyword and choose maskType when they make the logging rules,like this:
截屏2022-09-08 02 00 03

Now,I provide two mask types include charReplace and MD5,then user can extend their own mask types.Only need implements DataMaskInterface and create new dictionary that dictionary type is "maskType" and dictionary value is their function like this:
截屏2022-09-08 02 51 47

截屏2022-09-08 02 46 25

@moremind
Copy link
Member

moremind commented Sep 8, 2022

pls use two input for keyword and condition

@huanccwang huanccwang closed this Sep 18, 2022
@huanccwang huanccwang reopened this Sep 18, 2022
@huanccwang huanccwang closed this Sep 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants