mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-02 11:35:57 +01:00
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:
2
gradle/changelog/automask.yaml
Normal file
2
gradle/changelog/automask.yaml
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
- type: added
|
||||||
|
description: Fields can now get automatically masked, if the field name contains certain phrases
|
||||||
@@ -38,4 +38,5 @@ public @interface AuditEntry {
|
|||||||
String[] maskedFields() default {};
|
String[] maskedFields() default {};
|
||||||
String[] ignoredFields() default {};
|
String[] ignoredFields() default {};
|
||||||
boolean ignore() default false;
|
boolean ignore() default false;
|
||||||
|
boolean autoMask() default true;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user