Added autoMask property

The AuditEntry annotation recevied a new property called autoMask. If that property is set to true, then fields get automatically masked in the audit log, if the field name contain certain phrases.

Co-authored-by: Thomas Zerr<thomas.zerr@cloudogu.com>
Pushed-by: Thomas Zerr<thomas.zerr@cloudogu.com>


Reviewed-by: Konstantin Schaper <konstantin.schaper@cloudogu.com>
This commit is contained in:
Thomas Zerr
2023-10-04 14:25:35 +02:00
parent 4eb735d552
commit 0dc738d849
2 changed files with 3 additions and 0 deletions

View File

@@ -0,0 +1,2 @@
- type: added
description: Fields can now get automatically masked, if the field name contains certain phrases

View File

@@ -38,4 +38,5 @@ public @interface AuditEntry {
String[] maskedFields() default {};
String[] ignoredFields() default {};
boolean ignore() default false;
boolean autoMask() default true;
}