Commit Graph

5 Commits (bccaafe640c1d3d212b0dfc94459dca4df64e239)

Author SHA1 Message Date
mtardy aa9f17ed0a Transform CVE feed shortcode compliance check to warning
Previously it would cause the build to fail, which could lead to
confusing situation since the CVE feed comes from outside of the website
and could break the workflow. See related discussion:
https://github.com/kubernetes/website/pull/38579#discussion_r1116996184
2023-02-28 11:46:27 +01:00
mtardy 3d850f6b9a Clean CVE feed shortcode i18n caption data
Previsouly we were using two data items:
    ```toml
    [cve_table_date_before]
    other = "(last updated: "
    [cve_table_date_after]
    other = ")"
    ```
Which was simplified, using printf, to:
    ```toml
    [cve_table_date_format_string]
    other = "(last updated: %s)"
    ```
This is related to the following discussion
https://github.com/kubernetes/website/pull/38579#discussion_r1116992896
2023-02-28 11:46:04 +01:00
mtardy 3305d7b1db Check that the fetched feed is a JSON feed 1.1 and fail if not 2023-02-27 17:23:05 +01:00
mtardy e277fe5f8c Update CVE feed layouts for new JSON feed format
Also add information about last update time on CVE table
2023-02-21 10:34:37 +01:00
Pushkar Joglekar cafe6d258c Fetch and Render CVE JSON feed
- Pull JSON blob from queried issues
- Use layout output formats + templates to generate HTML table and JSON blob
- Add localized strings and caption for CVE feed
- Add a new page to describe details about CVE feed and how to use it
- Update existing pages and link the official CVE feed from it

Co-authored-by: Neha Lohia <nehapithadiya444@gmail.com>
Co-authored-by: Tim Bannister <tim@scalefactory.com>
2022-08-02 09:32:01 -07:00