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

fix(data-security): error metadata of built-in sensitive algorithm #458

Conversation

smallsheeeep
Copy link
Contributor

What type of PR is this?

type-bug
module-data security

What this PR does / why we need it:

The metadata of built-in sensitive algorithm segments is wrong. Which make the preview masking results is not right:
image
This PR will fix it by correcting erroneous metadata using SQL script.

Which issue(s) this PR fixes:

Fixes #446

Special notes for your reviewer:

Passed the self-test

Additional documentation e.g., usage docs, etc.:

@smallsheeeep smallsheeeep added type-bug Something isn't working priority-medium module-Data security Parent module of data-masking, sensitive rule, masking algorithm, etc. labels Oct 10, 2023
@smallsheeeep smallsheeeep added this to the ODC 4.2.2 milestone Oct 10, 2023
@smallsheeeep smallsheeeep self-assigned this Oct 10, 2023
Copy link
Collaborator

@krihy krihy left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Contributor

@yhilmare yhilmare left a comment

Choose a reason for hiding this comment

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

lgtm

@yhilmare yhilmare merged commit e3747aa into dev/4.2.2 Oct 10, 2023
11 checks passed
@yhilmare yhilmare deleted the bugfix/gaoda_422_fix_builtin_sensitive_algorithm_metadata_error branch October 10, 2023 11:30
HSunboy pushed a commit to oceanbase/odc-client that referenced this pull request Oct 27, 2023
Merge branch 'fix/dev-4.2.2-github-459 of git@code.alipay.com:oceanbase/oceanbase-developer-center.git into dev-4.2.2

https://code.alipay.com/oceanbase/oceanbase-developer-center/pull_requests/212


Signed-off-by: 晓康 <xxk268858@oceanbase.com>


* Fixes oceanbase/odc#458

* Fixes oceabase/odc#459
yhilmare pushed a commit that referenced this pull request Jan 15, 2024
)

* fix: error metadata of built-in sensitive algorithm

* refine: sql
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
module-Data security Parent module of data-masking, sensitive rule, masking algorithm, etc. priority-medium type-bug Something isn't working
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

[Bug]: The two expected license plate numbers in the desensitization algorithm are inconsistent
3 participants