Commit 0642147
authored
Data Masking & String Truncation Improvements (#866)
* Fixed issues in the existing data masking rules for social security numbers, Visa, and Mastercard
* Previously, they would incorrectly mask some values that were not the targeted sensitive data
* Added new bundled data mask rule for AMEX credit card numbers
* Refactored repetitive logic in LogEntryEventBuilder for truncating + masking various text values
* Added another round of string truncation after applying data masking to fix issues where string values could still be too long for the corresponding fields
* Added several new *Truncated__c fields on LogEntryEvent__e & LogEntry__c for some data points where it would be helpful to have the context that data has been truncated
* Added the new *Truncated__c fields on LogEntry__c to the LogEntryRecordPage flexipage
* Scope creep: Added more pipeline-only tests for validating the CMDT records bundled with Nebula Logger have the expected values
* These tests are intended to validate that the bundled data masking rules work correctly out-of-the-box, but people are free to edit these in their own orgs, so the this level of testing needs to happen in the pipeline only
* Scope creep: restructured extra-tests directory to add some organization, things were getting a bit messy
* Bumped the managed package's sfdx-project.json file to v4.17.0 (Summer '25 release)1 parent 323fa77 commit 0642147
254 files changed
Lines changed: 1879 additions & 269 deletions
File tree
- .github/workflows
- nebula-logger
- core
- main
- configuration/customMetadata
- log-management
- classes
- flexipages
- objects/LogEntry__c/fields
- permissionsets
- logger-engine
- classes
- lwc/logger
- objects/LogEntryEvent__e/fields
- tests
- configuration/utilities
- log-management/classes
- logger-engine/classes
- extra-tests
- bundled-custom-metadata-type-records
- custom-field-mappings
- customMetadata
- objects
- LogEntryEvent__e/fields
- LogEntry__c/fields
- Log__c/fields
- LoggerScenario__c/fields
- integration-tests
- classes
- customMetadata
- flows
- name-shadowing
- Schema
- System
- plugins
- classes
- customMetadata
- testSuites
- managed-package
- scripts
- build
- data
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
174 | 174 | | |
175 | 175 | | |
176 | 176 | | |
177 | | - | |
178 | | - | |
179 | | - | |
180 | 177 | | |
181 | 178 | | |
182 | 179 | | |
| |||
242 | 239 | | |
243 | 240 | | |
244 | 241 | | |
245 | | - | |
246 | | - | |
247 | | - | |
248 | 242 | | |
249 | 243 | | |
250 | 244 | | |
| |||
310 | 304 | | |
311 | 305 | | |
312 | 306 | | |
313 | | - | |
314 | | - | |
315 | | - | |
316 | 307 | | |
317 | 308 | | |
318 | 309 | | |
| |||
381 | 372 | | |
382 | 373 | | |
383 | 374 | | |
384 | | - | |
385 | | - | |
386 | | - | |
387 | 375 | | |
388 | 376 | | |
389 | 377 | | |
| |||
456 | 444 | | |
457 | 445 | | |
458 | 446 | | |
459 | | - | |
460 | | - | |
461 | | - | |
462 | 447 | | |
463 | 448 | | |
464 | 449 | | |
| |||
524 | 509 | | |
525 | 510 | | |
526 | 511 | | |
527 | | - | |
528 | | - | |
529 | | - | |
530 | 512 | | |
531 | 513 | | |
532 | 514 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
| 8 | + | |
9 | 9 | | |
10 | | - | |
11 | | - | |
| 10 | + | |
| 11 | + | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
| 14 | + | |
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
156 | 156 | | |
157 | 157 | | |
158 | 158 | | |
| 159 | + | |
159 | 160 | | |
160 | 161 | | |
161 | 162 | | |
| |||
164 | 165 | | |
165 | 166 | | |
166 | 167 | | |
| 168 | + | |
167 | 169 | | |
168 | 170 | | |
169 | 171 | | |
| |||
248 | 250 | | |
249 | 251 | | |
250 | 252 | | |
| 253 | + | |
251 | 254 | | |
252 | 255 | | |
253 | 256 | | |
254 | 257 | | |
255 | 258 | | |
256 | 259 | | |
| 260 | + | |
257 | 261 | | |
258 | 262 | | |
259 | 263 | | |
| |||
263 | 267 | | |
264 | 268 | | |
265 | 269 | | |
| 270 | + | |
266 | 271 | | |
267 | 272 | | |
268 | 273 | | |
| |||
394 | 399 | | |
395 | 400 | | |
396 | 401 | | |
| 402 | + | |
397 | 403 | | |
398 | 404 | | |
399 | 405 | | |
| |||
402 | 408 | | |
403 | 409 | | |
404 | 410 | | |
| 411 | + | |
405 | 412 | | |
406 | 413 | | |
407 | 414 | | |
| |||
490 | 497 | | |
491 | 498 | | |
492 | 499 | | |
| 500 | + | |
493 | 501 | | |
494 | 502 | | |
495 | 503 | | |
496 | 504 | | |
497 | 505 | | |
498 | 506 | | |
499 | 507 | | |
| 508 | + | |
500 | 509 | | |
501 | 510 | | |
502 | 511 | | |
| |||
506 | 515 | | |
507 | 516 | | |
508 | 517 | | |
| 518 | + | |
509 | 519 | | |
510 | 520 | | |
511 | 521 | | |
| |||
700 | 710 | | |
701 | 711 | | |
702 | 712 | | |
| 713 | + | |
703 | 714 | | |
704 | 715 | | |
705 | 716 | | |
| |||
Lines changed: 25 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
| 19 | + | |
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | | - | |
| 23 | + | |
24 | 24 | | |
25 | 25 | | |
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
| 19 | + | |
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | | - | |
| 23 | + | |
24 | 24 | | |
25 | 25 | | |
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
| 19 | + | |
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | | - | |
| 23 | + | |
24 | 24 | | |
25 | 25 | | |
Lines changed: 5 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
287 | 287 | | |
288 | 288 | | |
289 | 289 | | |
| 290 | + | |
290 | 291 | | |
291 | 292 | | |
292 | 293 | | |
| |||
295 | 296 | | |
296 | 297 | | |
297 | 298 | | |
| 299 | + | |
298 | 300 | | |
299 | 301 | | |
300 | 302 | | |
| |||
349 | 351 | | |
350 | 352 | | |
351 | 353 | | |
| 354 | + | |
352 | 355 | | |
353 | 356 | | |
354 | 357 | | |
355 | 358 | | |
356 | 359 | | |
| 360 | + | |
357 | 361 | | |
358 | 362 | | |
359 | 363 | | |
| |||
363 | 367 | | |
364 | 368 | | |
365 | 369 | | |
| 370 | + | |
366 | 371 | | |
367 | 372 | | |
368 | 373 | | |
| |||
0 commit comments