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

Feature request: Expand DataMasking utility to encrypt list, set, and tuple data type for better user excperience #3532

Closed
1 of 2 tasks
leandrodamascena opened this issue Dec 18, 2023 · 1 comment · Fixed by #3186
Assignees
Labels
data-masking Sensitive Data Masking feature feature-request feature request

Comments

@leandrodamascena
Copy link
Contributor

Use case

Currently, the DataMasking utility only supports dict and string fields. We need to add support for encrypt data in list, tuple and set fields.

Solution/User Experience

def lambda_handler(event, context):
    provider = AwsEncryptionSdkProvider(["aaaaa"])
    datamasking = DataMasking(provider=provider)

    data = {
        "payload": {"data": ["a", "b"]}    
	}

    encrypt = datamasking.encrypt(data, fields=["payload.data[0]"])

Alternative solutions

No response

Acknowledgment

@leandrodamascena leandrodamascena added triage Pending triage from maintainers feature-request feature request labels Dec 18, 2023
@leandrodamascena leandrodamascena linked a pull request Dec 18, 2023 that will close this issue
7 tasks
@rubenfonseca rubenfonseca added data-masking Sensitive Data Masking feature and removed triage Pending triage from maintainers labels Dec 19, 2023
Copy link
Contributor

github-actions bot commented Feb 1, 2024

⚠️COMMENT VISIBILITY WARNING⚠️

This issue is now closed. Please be mindful that future comments are hard for our team to see.

If you need more assistance, please either tag a team member or open a new issue that references this one.

If you wish to keep having a conversation with other community members under this issue feel free to do so.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
data-masking Sensitive Data Masking feature feature-request feature request
Projects
Status: Shipped
Development

Successfully merging a pull request may close this issue.

2 participants