Skip to content

Commit

Permalink
Merge pull request #2275 from shafeeqes/enh/vex
Browse files Browse the repository at this point in the history
feat: Initialize OpenVEX feed
  • Loading branch information
k8s-ci-robot authored Dec 15, 2023
2 parents 0bc4b19 + 245d7fc commit fd3cd41
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .openvex/templates/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# OpenVEX Templates Directory

This directory contains the OpenVEX data for this repository.
The files stored in this directory are used as templates by
`vexctl generate` when generating VEX data for a release or
a specific artifact.

To add new statements to publish data about a vulnerability,
download [vexctl](https://github.com/openvex/vexctl)
and append new statements using `vexctl add`. For example:

```
vexctl add --in-place main.openvex.json pkg:oci/test CVE-2014-1234567 fixed
```

That will add a new VEX statement expressing that the impact of
CVE-2014-1234567 is under investigation in the test image. When
cutting a new release, for `pkg:oci/test` the new file will be
incorporated to the relase's VEX data.

## Read more about OpenVEX

To know more about generating, publishing and using VEX data
in your project, please check out the [vexctl repository and
documentation](https://github.com/openvex/vexctl).

OpenVEX also has an [examples repository](https://github.com/openvex/examples)
with samples and docs.
8 changes: 8 additions & 0 deletions .openvex/templates/main.openvex.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"@context": "https://openvex.dev/ns/v0.2.0",
"@id": "https://openvex.dev/docs/public/vex-2912204db7d51d98234a931d600f7cc2dd0bf24a5b5b326de138d64b30c22911",
"author": "vexctl (automated template)",
"timestamp": "2023-12-15T22:55:18.754525+05:30",
"version": 1,
"statements": []
}

0 comments on commit fd3cd41

Please sign in to comment.