gchq / Palisade

A Tool for Complex and Scalable Data Access Policy Enforcement

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Standardise the format of the message attached to each rule

ac74475 opened this issue · comments

Can we standardise the message format of each of the rules, these are meant to be human readable description of the rule. currently we have "1-Bank_Details", "2-DUTY_OF_CARE", "3-Nationality" and "4-Address Masking".
These messages are only used in audit logging and error handling.

                        .recordLevelRule(
                                "1-Bank_Details",
                                new BankDetailsRule()
                        )
                        .recordLevelRule(
                                "2-DUTY_OF_CARE",
                                new DutyOfCareRule()
                        )
                        .recordLevelRule(
                                "3-Nationality",
                                new NationalityRule()
                        )
                        .recordLevelRule(
                                "4-Address Masking",
                                new ZipCodeMaskingRule()
                        )