|  | 
|  | 1 | +--- | 
|  | 2 | +layout: blog | 
|  | 3 | +title: Updates to the Auto-refreshing Official CVE Feed | 
|  | 4 | +date: 2023-03-17 | 
|  | 5 | +slug: k8s-cve-feed-beta | 
|  | 6 | +--- | 
|  | 7 | + | 
|  | 8 | +**Authors**: Cailyn Edwards (Shopify), Pushkar Joglekar (Credit Karma), Mahé Tardy (Isovalent) | 
|  | 9 | + | 
|  | 10 | +Since launching the [Auto-refreshing Official CVE feed](/docs/reference/issues-security/official-cve-feed/) as an `alpha` | 
|  | 11 | +feature in the 1.25 release, we have made significant improvements and updates. We are excited to announce the release of the | 
|  | 12 | +`beta` version of the feed. This blog post will outline the feedback received, the changes made, and talk about what is | 
|  | 13 | +planned for the `stable` release. | 
|  | 14 | + | 
|  | 15 | + | 
|  | 16 | +## Feedback from end-users | 
|  | 17 | + | 
|  | 18 | +SIG Security received some feedback from end-users: | 
|  | 19 | +- The JSON CVE Feed [did not comply](https://github.com/kubernetes/website/issues/36808) | 
|  | 20 | +  with the [JSON Feed specification](https://www.jsonfeed.org/) as its name | 
|  | 21 | +  would suggest. | 
|  | 22 | +- The feed could also [support RSS](https://github.com/kubernetes/sig-security/issues/77) | 
|  | 23 | +  in addition to JSON Feed format. | 
|  | 24 | +- Some metadata fields could be added to indicate the freshness of | 
|  | 25 | +  [the whole feed](https://github.com/kubernetes/sig-security/issues/72), or | 
|  | 26 | +  [specific CVEs](https://github.com/kubernetes/sig-security/issues/63). Also | 
|  | 27 | +  indicating [the Prow job](https://github.com/kubernetes/sig-security/issues/71) | 
|  | 28 | +  that recently updated the feed. See more ideas directly on the | 
|  | 29 | +  [the umbrella issue](https://github.com/kubernetes/sig-security/issues/1). | 
|  | 30 | +- The feed markdown table on the website [should be ordered](https://github.com/kubernetes/sig-security/issues/73) | 
|  | 31 | +  from the most recent to the least recently announced CVE. | 
|  | 32 | + | 
|  | 33 | +## Summary of changes | 
|  | 34 | + | 
|  | 35 | +In response, the SIG [did a rework of the script generating the JSON feed](https://github.com/kubernetes/sig-security/pull/76) | 
|  | 36 | +to comply with the JSON Feed specification from generation and add a | 
|  | 37 | +`last_updated` root field to indicate overall freshness. This redesign needed a | 
|  | 38 | +[corresponding fix on the Kubernetes website side](https://github.com/kubernetes/website/pull/38579) | 
|  | 39 | +for the CVE feed page to continue to work with the new format. | 
|  | 40 | + | 
|  | 41 | +After that, [RSS feed support](https://github.com/kubernetes/website/pull/39513) | 
|  | 42 | +could be added transparently so that end-users can consume the feed in their | 
|  | 43 | +preferred format. | 
|  | 44 | + | 
|  | 45 | +Overall, the redesign based on the JSON Feed specification, which this time broke | 
|  | 46 | +backward compatibility, will allow updates in the future to address the rest of | 
|  | 47 | +the issue while being more transparent and less disruptive to end-users. | 
|  | 48 | + | 
|  | 49 | +### Updates | 
|  | 50 | +| **Title**                                                                                                    | **Issue**                                                       | **Status**                                                                                                                                                                                                                      | | 
|  | 51 | +| ------------------------------------------------------------------------------------------------------------ | --------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | 
|  | 52 | +| CVE Feed: JSON feed should pass jsonfeed spec validator | [kubernetes/webite#36808](https://github.com/kubernetes/website/issues/36808) | closed, addressed by [kubernetes/sig-security#76](https://github.com/kubernetes/sig-security/pull/76) | | 
|  | 53 | +| CVE Feed: Add lastUpdatedAt as a metadata field | [kubernetes/sig-security#72](https://github.com/kubernetes/sig-security/issues/72) | closed, addressed by [kubernetes/sig-security#76](https://github.com/kubernetes/sig-security/pull/76) | | 
|  | 54 | +| Support RSS feeds by generating data in Atom format | [kubernetes/sig-security#77](https://github.com/kubernetes/sig-security/issues/77) | closed, addressed by [kubernetes/website#39513](https://github.com/kubernetes/website/pull/39513)| | 
|  | 55 | +| CVE Feed: Sort Markdown Table from most recent to least recently announced CVE | [kubernetes/sig-security#73](https://github.com/kubernetes/sig-security/issues/73) | closed, addressed by [kubernetes/sig-security#76](https://github.com/kubernetes/sig-security/pull/76) | | 
|  | 56 | +| CVE Feed: Include a timestamp field for each CVE indicating when it was last updated | [kubernetes/sig-security#63](https://github.com/kubernetes/sig-security/issues/63) | open, no PR | | 
|  | 57 | +| CVE Feed: Add Prow job link as a metadata field | [kubernetes/sig-security#71](https://github.com/kubernetes/sig-security/issues/71) | open, no PR open | | 
|  | 58 | + | 
|  | 59 | +## What's next? | 
|  | 60 | + | 
|  | 61 | +In preparation to graduate this feature, SIG Security | 
|  | 62 | +is still gathering feedback from end users who are using the updated beta feed. | 
|  | 63 | + | 
|  | 64 | +To help us continue to improve the feed in future Kubernetes Releases please share feedback by adding a comment to | 
|  | 65 | +this [tracking issue](https://github.com/kubernetes/sig-security/issues/1) or | 
|  | 66 | +let us know on | 
|  | 67 | +[#sig-security-tooling](https://kubernetes.slack.com/archives/C01CUSVMHPY) | 
|  | 68 | +Kubernetes Slack channel, join [Kubernetes Slack here](https://slack.k8s.io). | 
0 commit comments