{
  "version": 1,
  "id": "tcinfra-reference-019",
  "title": "ECR Image Integrity: Verify Signatures, Digests and Admission Enforcement",
  "maxAgeHours": 24,
  "objective": "A valid signature is useful only when it belongs to an approved signer and the exact deployed digest. Test a rejected image as well as a signed image before enabling cluster-wide admission enforcement.",
  "boundary": "A repository tag can move; evidence for a previous tag target cannot establish the integrity of the current workload.",
  "reference": "https://docs.aws.amazon.com/AmazonECR/latest/userguide/image-signing.html",
  "checks": [
    {
      "field": "digestPinned",
      "equals": true,
      "interpretation": "Record the reviewed evidence for digest pinned."
    },
    {
      "field": "signerTrusted",
      "equals": true,
      "interpretation": "Record the reviewed evidence for signer trusted."
    },
    {
      "field": "rejectionTestPassed",
      "equals": true,
      "interpretation": "Record the reviewed evidence for rejection test passed."
    }
  ]
}
