cat-test-compliance-rules
Test compliance rules
A compliance rule is a data rule with a legal deadline; it tests like any other rule, as a
query that finds the violations, and the run is the evidence. Every fact is on the
documentation page it links; the same page as markdown is at the URL with index.md
appended, which is the form to read when your fetch tool summarizes HTML.
The pattern
Masked values for flagged customers, forgotten everywhere (one query when the erasure list
and the data are reachable from one place, contains with the masked IDs as the superset
when they are two systems), retention, consent; each with its test:
https://docs.justcat.it/how-to-guides/test-patterns/test-compliance-rules/
The violation-query shape it is built on: https://docs.justcat.it/how-to-guides/test-patterns/find-problems-with-set-is-empty/ The expectations: https://docs.justcat.it/reference/tests/expectations/set-is-empty/ https://docs.justcat.it/reference/tests/expectations/contains/