Skip to content

Commit

Permalink
Merge pull request #145 from puerco/update-examples
Browse files Browse the repository at this point in the history
  • Loading branch information
cpanato authored Dec 5, 2023
2 parents 208e974 + b373a4f commit b695b5a
Show file tree
Hide file tree
Showing 4 changed files with 49 additions and 29 deletions.
21 changes: 13 additions & 8 deletions examples/csaf/openvex.json
Original file line number Diff line number Diff line change
@@ -1,17 +1,22 @@
{
"@context": "https://openvex.dev/ns",
"@id": "https://openvex.dev/docs/example/vex-9fb3463de1b57",
"@context": "https://openvex.dev/ns/v0.2.0",
"@id": "https://openvex.dev/docs/public/vex-69c8fa4a8a04ef5aec7da2b02a5a3eb77ec7a18848387ed73160230fb4cdb713",
"author": "Wolfi J Inkinson",
"role": "Document Creator",
"timestamp": "2023-01-08T18:02:03.647787998-06:00",
"version": "1",
"version": 1,
"statements": [
{
"vulnerability": "CVE-2014-123456",
"vulnerability": {
"name": "CVE-2014-123456"
},
"products": [
"pkg:generic/[email protected]"
{
"@id": "pkg:generic/[email protected]"
}
],
"status": "fixed"
"status": "fixed",
"timestamp": "2023-12-05T05:10:11.176427804Z"
}
]
],
"timestamp": "2023-12-05T05:10:11.176427147Z"
}
17 changes: 10 additions & 7 deletions examples/openvex/demo.vex.json
Original file line number Diff line number Diff line change
@@ -1,16 +1,19 @@
{
"@context": "https://openvex.dev/ns",
"@id": "https://openvex.dev/docs/example/vex-9fb3463de1b57",
"@context": "https://openvex.dev/ns/v0.2.0",
"@id": "https://openvex.dev/docs/public/vex-d7653e1c3ccc092c02e2cfd2b12549be29264ff28f9f704f599613b007584dbe",
"author": "Wolfi J Inkinson",
"role": "Document Creator",
"timestamp": "2023-01-08T18:02:03.647787998-06:00",
"version": "1",
"timestamp": "2023-12-04T21:55:19.945014473-06:00",
"version": 1,
"statements": [
{
"vulnerability": "CVE-2014-123456",
"vulnerability": {
"name": "CVE-2014-123456"
},
"timestamp": "2023-12-04T21:55:19.945015302-06:00",
"products": [
"pkg:apk/distro/[email protected]?arch=armv7",
"pkg:apk/distro/[email protected]?arch=x86_64"
{ "@id": "pkg:apk/distro/[email protected]?arch=armv7" },
{ "@id": "pkg:apk/distro/[email protected]?arch=x86_64" }
],
"status": "fixed"
}
Expand Down
20 changes: 13 additions & 7 deletions examples/openvex/document1.vex.json
Original file line number Diff line number Diff line change
@@ -1,16 +1,22 @@
{
"@context": "https://openvex.dev/ns",
"@id": "https://openvex.dev/docs/public/vex-3f59b4dffdeae0183e5e6a9d7a2461fdf86a03c079f4129050bb462eca366beb",
"@context": "https://openvex.dev/ns/v0.2.0",
"@id": "https://openvex.dev/docs/public/vex-0f3be8817faafa24e4bfb3d17eaf619efb1fe54923b9c42c57b156a936b91431",
"author": "John Doe",
"role": "Senior Trusted VEX Issuer",
"version": 1,
"statements": [
{
"timestamp": "2022-12-22T16:36:43-05:00",
"vulnerability": {
"name": "CVE-1234-5678"
},
"products": [
"pkg:apk/wolfi/[email protected]"
{
"@id": "pkg:apk/wolfi/[email protected]"
}
],
"vulnerability": "CVE-1234-5678",
"status": "under_investigation"
"status": "under_investigation",
"timestamp": "2023-12-05T05:04:34.77929922Z"
}
]
],
"timestamp": "2023-12-05T05:04:34.77929844Z"
}
20 changes: 13 additions & 7 deletions examples/openvex/document2.vex.json
Original file line number Diff line number Diff line change
@@ -1,16 +1,22 @@
{
"@context": "https://openvex.dev/ns",
"@id": "https://openvex.dev/docs/public/vex-cb43f7eeb498d81f73148766a030a0060de2331c367c12d203592ea84650a31c",
"@context": "https://openvex.dev/ns/v0.2.0",
"@id": "https://openvex.dev/docs/public/vex-3cd938c9a706eba0915883640116cfe813f7d59150cf758b8c869b4926a7cf11",
"author": "John Doe",
"role": "Senior Trusted VEX Issuer",
"version": 1,
"statements": [
{
"timestamp": "2022-12-22T20:56:05-05:00",
"vulnerability": {
"name": "CVE-1234-5678"
},
"products": [
"pkg:apk/wolfi/[email protected]"
{
"@id": "pkg:apk/wolfi/[email protected]"
}
],
"vulnerability": "CVE-1234-5678",
"status": "fixed"
"status": "fixed",
"timestamp": "2023-12-05T05:06:38.099731287Z"
}
]
],
"timestamp": "2023-12-05T05:06:38.099730576Z"
}

0 comments on commit b695b5a

Please sign in to comment.