{
  "schemaVersion": "ebb.rule.v1",
  "id": "container.host-centos.eol-8-and-older",
  "ecosystem": "container",
  "purl": "pkg:generic/centos",
  "affectedVersions": "vers:semver/<9.0.0",
  "event": "end-of-life",
  "severity": "high",
  "title": "CentOS Linux 8 and older are end-of-life",
  "summary": "CentOS Linux 8 reached end of life on 2021-12-31 and CentOS Linux 7 on 2024-06-30, so neither receives fixes. CentOS Stream 9 and 10 follow a different lifecycle and are not covered by this rule.",
  "replacement": "CentOS Stream 9 or 10, or a distribution with a published lifecycle",
  "deadline": "2024-06-30",
  "sources": [
    {
      "title": "CentOS Linux",
      "url": "https://www.centos.org/centos-linux/",
      "accessedAt": "2026-10-30"
    }
  ],
  "provenance": {
    "observedAt": "2026-10-30",
    "reviewedAt": "2026-10-30",
    "reviewer": "arminazimi"
  },
  "migration": {
    "constraints": [
      "CentOS Linux has no upgrade path to CentOS Stream; plan a rebuild or a migration to another distribution.",
      "Confirm application packages and repositories exist for the target platform before rebuilding."
    ],
    "steps": [
      {
        "id": "upgrade-host",
        "title": "Replace the CentOS host",
        "instructions": "Rebuild the host on CentOS Stream or a distribution with a published lifecycle, then redeploy the workload.",
        "targets": "all"
      }
    ],
    "verification": [
      {
        "command": "cat /etc/centos-release",
        "purpose": "Confirm the host reports the target CentOS release."
      },
      {
        "command": "dnf check-update",
        "purpose": "Check that package updates resolve on the target release."
      }
    ]
  }
}
