Skip to content

Commit 81db06f

Browse files
Create readme.md
This script scans the description field of a record for patterns that resemble sensitive personal data and masks them to ensure privacy and compliance. It targets the following data types using regular expressions: Credit Card Numbers: Detects both continuous digits (13–16 digits) and spaced/dashed formats (e.g., 1234-5678-9012-3456). Social Security Numbers (SSNs): Matches the standard US format (XXX-XX-XXXX). Phone Numbers: Identifies various formats including international and local styles. If any of these patterns are found, the script replaces them with masked placeholders (e.g., ****-****-****-**** for credit cards) and updates the description field accordingly. It also logs messages to the system and displays info messages to notify users of the masking actions taken.
1 parent 7fb0809 commit 81db06f

File tree

1 file changed

+7
-0
lines changed
  • Server-Side Components/Business Rules/Mask Sensitive Data in Description Field

1 file changed

+7
-0
lines changed
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
This script scans the description field of a record for patterns that resemble sensitive personal data and masks them to ensure privacy and compliance. It targets the following data types using regular expressions:
2+
3+
Credit Card Numbers: Detects both continuous digits (13–16 digits) and spaced/dashed formats (e.g., 1234-5678-9012-3456).
4+
Social Security Numbers (SSNs): Matches the standard US format (XXX-XX-XXXX).
5+
Phone Numbers: Identifies various formats including international and local styles.
6+
7+
If any of these patterns are found, the script replaces them with masked placeholders (e.g., ****-****-****-**** for credit cards) and updates the description field accordingly. It also logs messages to the system and displays info messages to notify users of the masking actions taken.

0 commit comments

Comments
 (0)