Skip to content

Commit fd3cd41

Browse files
authored
Merge pull request #2275 from shafeeqes/enh/vex
feat: Initialize OpenVEX feed
2 parents 0bc4b19 + 245d7fc commit fd3cd41

File tree

2 files changed

+36
-0
lines changed

2 files changed

+36
-0
lines changed

.openvex/templates/README.md

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
# OpenVEX Templates Directory
2+
3+
This directory contains the OpenVEX data for this repository.
4+
The files stored in this directory are used as templates by
5+
`vexctl generate` when generating VEX data for a release or
6+
a specific artifact.
7+
8+
To add new statements to publish data about a vulnerability,
9+
download [vexctl](https://github.com/openvex/vexctl)
10+
and append new statements using `vexctl add`. For example:
11+
12+
```
13+
vexctl add --in-place main.openvex.json pkg:oci/test CVE-2014-1234567 fixed
14+
```
15+
16+
That will add a new VEX statement expressing that the impact of
17+
CVE-2014-1234567 is under investigation in the test image. When
18+
cutting a new release, for `pkg:oci/test` the new file will be
19+
incorporated to the relase's VEX data.
20+
21+
## Read more about OpenVEX
22+
23+
To know more about generating, publishing and using VEX data
24+
in your project, please check out the [vexctl repository and
25+
documentation](https://github.com/openvex/vexctl).
26+
27+
OpenVEX also has an [examples repository](https://github.com/openvex/examples)
28+
with samples and docs.

.openvex/templates/main.openvex.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"@context": "https://openvex.dev/ns/v0.2.0",
3+
"@id": "https://openvex.dev/docs/public/vex-2912204db7d51d98234a931d600f7cc2dd0bf24a5b5b326de138d64b30c22911",
4+
"author": "vexctl (automated template)",
5+
"timestamp": "2023-12-15T22:55:18.754525+05:30",
6+
"version": 1,
7+
"statements": []
8+
}

0 commit comments

Comments
 (0)