Developers secrets encrypted at rest

Description

Encryption for data at rest should be enabled on any data store that has developer secrets.

Open Policy Agent Rule

{
  "rego": "import data.helpers\n\nR_0004 = ret {\n\thelpers.isDataStore\n\thelpers.isNotEncrypted\n\tret := helpers.hasDataFromCollection(\"Developer Secrets\")\n}",
  "managed": true,
  "name": "Developers secrets encrypted at rest ",
  "severity": "HIGH",
  "description": "Encryption for data at rest should be enabled on any data store that has developer secrets",
  "enabled": true,
  "id": "fd7f5a7a-53f1-d9a3-9684-fe860d9de223",
  "refId": "R-0004"
}