Skip to content

Commit ba89ef1

Browse files
committed
Add test fixtures to run merge tests
Signed-off-by: Adolfo García Veytia (Puerco) <[email protected]>
1 parent 8102d9d commit ba89ef1

File tree

4 files changed

+63
-0
lines changed

4 files changed

+63
-0
lines changed

pkg/vex/testdata/v001-1.vex.json

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
{
2+
"@context": "https://openvex.dev/ns",
3+
"@id": "my-vexdoc2",
4+
"format": "text/vex+json",
5+
"author": "John Doe",
6+
"role": "vex issuer",
7+
"statements": [
8+
{
9+
"timestamp": "2022-12-22T16:36:43-05:00",
10+
"products": ["pkg:apk/wolfi/[email protected]"],
11+
"vulnerability": "CVE-1234-5678",
12+
"status": "under_investigation",
13+
"status_notes": ""
14+
}
15+
]
16+
}

pkg/vex/testdata/v001-2.vex.json

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
{
2+
"@context": "https://openvex.dev/ns",
3+
"@id": "my-vexdoc2",
4+
"format": "text/vex+json",
5+
"author": "John Doe",
6+
"role": "vex issuer",
7+
"statements": [
8+
{
9+
"timestamp": "2022-12-22T20:56:05-05:00",
10+
"products": ["pkg:apk/wolfi/[email protected]"],
11+
"vulnerability": "CVE-1234-5678",
12+
"status": "fixed"
13+
}
14+
]
15+
}

pkg/vex/testdata/v020-1.vex.json

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
{
2+
"@context": "https://openvex.dev/ns/v0.2.0",
3+
"@id": "https://openvex.dev/docs/public/vex-3f59b4dffdeae0183e5e6a9d7a2461fdf86a03c079f4129050bb462eca366beb",
4+
"author": "John Doe",
5+
"role": "Senior Trusted VEX Issuer",
6+
"statements": [
7+
{
8+
"timestamp": "2022-12-22T16:36:43-05:00",
9+
"products": [
10+
{ "@id": "pkg:apk/wolfi/[email protected]" }
11+
],
12+
"vulnerability": { "name": "CVE-9876-54321" },
13+
"status": "under_investigation"
14+
}
15+
]
16+
}

pkg/vex/testdata/v020-2.vex.json

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
{
2+
"@context": "https://openvex.dev/ns/v0.2.0",
3+
"@id": "https://openvex.dev/docs/public/vex-99f523e8cec348eb9917eefe85cd335410946391b959a8b6dab80f3514c8546c",
4+
"author": "John Doe",
5+
"role": "Senior Trusted VEX Issuer",
6+
"statements": [
7+
{
8+
"timestamp": "2022-12-22T16:36:43-05:00",
9+
"products": [
10+
{ "@id": "pkg:apk/wolfi/[email protected]" }
11+
],
12+
"vulnerability": { "name": "CVE-1234-5678" },
13+
"status": "under_investigation"
14+
}
15+
]
16+
}

0 commit comments

Comments
 (0)