Data stores with financial data are logging

Description

Data stores with financial data should have logging enabled to record security events.

Open Policy Agent Rule

{
  "rego": "import data.helpers\n\nR_0010 = ret {\n\thelpers.isDataStore\n\thelpers.isLoggingDisabled\n\tret := helpers.hasDataFromCollection(\"Personal Data \")\n}",
  "managed": true,
  "name": "Data stores with financial data are logging",
  "severity": "MEDIUM",
  "description": "Data stores with financial data should have logging enabled to record security events",
  "enabled": true,
  "id": "cc290f47-5daa-4432-aa1d-92342aa8e719",
  "refId": "R-0010"
}