Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions .github/workflows/build_deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,10 @@ jobs:
id: pages
uses: actions/configure-pages@v5

- name: Generate OSV and GHSA feeds
- name: Generate OSV, GHSA, CSAF, and OpenVEX feeds
run: bundle exec ruby scripts/generate_feeds.rb

- name: Validate OSV and GHSA feeds
- name: Validate OSV, GHSA, CSAF, and OpenVEX feeds
run: bundle exec ruby scripts/validate_feeds.rb

- name: Test feed generation and validation
Expand All @@ -56,9 +56,13 @@ jobs:
test -f _site/index.html
test -f _site/feeds/osv/index.json
test -f _site/feeds/ghsa/index.json
test -f _site/feeds/csaf/index.json
test -f _site/feeds/vex/index.json
for pkg in rnp metanorma cla identity; do
test -f "_site/feeds/osv/${pkg}.json"
test -f "_site/feeds/ghsa/${pkg}.json"
test -f "_site/feeds/csaf/${pkg}.json"
test -f "_site/feeds/vex/${pkg}.json"
done

- name: Upload artifact
Expand Down
10 changes: 8 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# cve.ribose.com

This repository publishes machine-readable Open Source Vulnerability (OSV) and GitHub Security Advisory (GHSA) JSON feeds for tracked Ribose packages on `https://cve.ribose.com`.
This repository publishes machine-readable Open Source Vulnerability (OSV), GitHub Security Advisory (GHSA), Common Security Advisory Framework (CSAF 2.0), and OpenVEX JSON feeds for tracked Ribose packages on `https://cve.ribose.com`.

## Sources

Expand All @@ -15,6 +15,12 @@ This repository publishes machine-readable Open Source Vulnerability (OSV) and G
- `/feeds/osv/<CVE-ID>.json`: Individual OSV-schema vulnerability records.
- `/feeds/ghsa/index.json`: GHSA feed index.
- `/feeds/ghsa/<package>.json`: Per-package GHSA feed (`rnp`, `metanorma`, `cla`, `identity`).
- `/feeds/csaf/index.json`: CSAF 2.0 feed index keyed by package and PURL.
- `/feeds/csaf/<package>.json`: Per-package CSAF 2.0 `csaf_vex` document (`rnp`, `metanorma`, `cla`, `identity`).
- `/feeds/csaf/<CVE-ID>.json`: Individual CSAF 2.0 `csaf_vex` documents.
- `/feeds/vex/index.json`: OpenVEX 0.2.0 feed index keyed by package and PURL.
- `/feeds/vex/<package>.json`: Per-package OpenVEX 0.2.0 feed (`rnp`, `metanorma`, `cla`, `identity`).
- `/feeds/vex/<CVE-ID>.json`: Individual OpenVEX 0.2.0 documents.

## Build and validation

Expand All @@ -24,4 +30,4 @@ make test
make _site
```

Every generated OSV record is validated against the vendored OSV JSON Schema (`schemas/osv-schema.json`) before publication.
Every generated OSV, CSAF 2.0, and OpenVEX 0.2.0 record is validated against the vendored JSON Schemas (`schemas/osv-schema.json`, `schemas/csaf-2.0-schema.json`, and `schemas/openvex-0.2.0-schema.json`) before publication.
8 changes: 8 additions & 0 deletions _data/packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ packages:
- https://github.com/rnpgp/rnp
osv_feed_path: /feeds/osv/rnp.json
ghsa_feed_path: /feeds/ghsa/rnp.json
csaf_feed_path: /feeds/csaf/rnp.json
vex_feed_path: /feeds/vex/rnp.json

- repo: metanorma/metanorma
org: metanorma
Expand All @@ -32,6 +34,8 @@ packages:
- https://github.com/metanorma/metanorma
osv_feed_path: /feeds/osv/metanorma.json
ghsa_feed_path: /feeds/ghsa/metanorma.json
csaf_feed_path: /feeds/csaf/metanorma.json
vex_feed_path: /feeds/vex/metanorma.json

- repo: riboseinc/cla
org: riboseinc
Expand All @@ -48,6 +52,8 @@ packages:
- https://github.com/riboseinc/cla
osv_feed_path: /feeds/osv/cla.json
ghsa_feed_path: /feeds/ghsa/cla.json
csaf_feed_path: /feeds/csaf/cla.json
vex_feed_path: /feeds/vex/cla.json

- repo: ribosei/identity
org: ribosei
Expand All @@ -63,3 +69,5 @@ packages:
- https://github.com/ribosei/identity
osv_feed_path: /feeds/osv/identity.json
ghsa_feed_path: /feeds/ghsa/identity.json
csaf_feed_path: /feeds/csaf/identity.json
vex_feed_path: /feeds/vex/identity.json
20 changes: 19 additions & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -39,12 +39,14 @@
</head>
<body>
<h1>Ribose Vulnerability Feeds</h1>
<p>This site publishes machine-readable Open Source Vulnerability (OSV) and GitHub Security Advisory (GHSA) JSON feeds for tracked Ribose software packages.</p>
<p>This site publishes machine-readable Open Source Vulnerability (OSV), GitHub Security Advisory (GHSA), Common Security Advisory Framework (CSAF 2.0), and OpenVEX JSON feeds for tracked Ribose software packages.</p>

<h2>Index endpoints</h2>
<ul>
<li><a href="/feeds/osv/index.json"><code>/feeds/osv/index.json</code></a> — OSV index keyed by package and PURL.</li>
<li><a href="/feeds/ghsa/index.json"><code>/feeds/ghsa/index.json</code></a> — GHSA index for tracked packages.</li>
<li><a href="/feeds/csaf/index.json"><code>/feeds/csaf/index.json</code></a> — CSAF 2.0 index keyed by package and PURL.</li>
<li><a href="/feeds/vex/index.json"><code>/feeds/vex/index.json</code></a> — OpenVEX 0.2.0 index keyed by package and PURL.</li>
</ul>

<h2>Tier A per-package OSV feeds</h2>
Expand All @@ -62,5 +64,21 @@ <h2>Tier A per-package GHSA feeds</h2>
<li><a href="/feeds/ghsa/cla.json"><code>/feeds/ghsa/cla.json</code></a> — <code>riboseinc/cla</code></li>
<li><a href="/feeds/ghsa/identity.json"><code>/feeds/ghsa/identity.json</code></a> — <code>ribosei/identity</code></li>
</ul>

<h2>Tier A per-package CSAF 2.0 feeds</h2>
<ul>
<li><a href="/feeds/csaf/rnp.json"><code>/feeds/csaf/rnp.json</code></a> — <code>rnpgp/rnp</code> (<code>pkg:github/rnpgp/rnp</code>)</li>
<li><a href="/feeds/csaf/metanorma.json"><code>/feeds/csaf/metanorma.json</code></a> — <code>metanorma/metanorma</code> (<code>pkg:gem/metanorma</code>)</li>
<li><a href="/feeds/csaf/cla.json"><code>/feeds/csaf/cla.json</code></a> — <code>riboseinc/cla</code> (<code>pkg:github/riboseinc/cla</code>)</li>
<li><a href="/feeds/csaf/identity.json"><code>/feeds/csaf/identity.json</code></a> — <code>ribosei/identity</code> (<code>pkg:github/ribosei/identity</code>)</li>
</ul>

<h2>Tier A per-package OpenVEX feeds</h2>
<ul>
<li><a href="/feeds/vex/rnp.json"><code>/feeds/vex/rnp.json</code></a> — <code>rnpgp/rnp</code> (<code>pkg:github/rnpgp/rnp</code>)</li>
<li><a href="/feeds/vex/metanorma.json"><code>/feeds/vex/metanorma.json</code></a> — <code>metanorma/metanorma</code> (<code>pkg:gem/metanorma</code>)</li>
<li><a href="/feeds/vex/cla.json"><code>/feeds/vex/cla.json</code></a> — <code>riboseinc/cla</code> (<code>pkg:github/riboseinc/cla</code>)</li>
<li><a href="/feeds/vex/identity.json"><code>/feeds/vex/identity.json</code></a> — <code>ribosei/identity</code> (<code>pkg:github/ribosei/identity</code>)</li>
</ul>
</body>
</html>
Loading
Loading