Personal & Privacy data is encrypted at rest

Description

Encryption for data at rest should be enabled on any data store that has personal & privacy data.

Open Policy Agent Rule

{
  "rego": "import data.helpers\n\nR_0001 = ret {\n\thelpers.isDataStore\n\thelpers.isNotEncrypted\n\tret := helpers.hasDataFromCollection(\"Personal Data \")\n}",
  "managed": true,
  "name": "Personal & Privacy data is encrypted at rest",
  "severity": "HIGH",
  "description": "Encryption for data at rest should be enabled on any data store that has personal & privacy data",
  "enabled": true,
  "id": "32d11c14-908c-e16a-39e6-2060c88736cf",
  "refId": "R-0001"
}