1
0
Fork 0
mirror of https://github.com/gocsaf/csaf.git synced 2025-12-22 05:40:11 +01:00

WIP: Add requirement tests

This commit is contained in:
koplas 2024-12-04 17:52:00 +01:00
parent a51964be3f
commit 5b6af7a4ad
3 changed files with 112 additions and 10 deletions

View file

@ -6,7 +6,7 @@
"collection": [
{
"title": "CSAF feed (TLP:WHITE)",
"href": "/white/white-feed.json",
"href": "{{.URL}}/white/white-feed.json",
"categories": {
"category": [
{

View file

@ -5,11 +5,11 @@
"link": [
{
"rel": "self",
"href": "/white/csaf-feed-tlp-white.json"
"href": "{{.URL}}/white/csaf-feed-tlp-white.json"
},
{
"rel": "service",
"href": "/service.json"
"href": "{{.URL}}/service.json"
}
],
"category": [
@ -26,30 +26,30 @@
"link": [
{
"rel": "self",
"href": "/white/avendor-advisory-0004.json"
"href": "{{.URL}}/white/avendor-advisory-0004.json"
},
{{if .EnableSha256}}
{
"rel": "hash",
"href": "/white/avendor-advisory-0004.json.sha256"
"href": "{{.URL}}/white/avendor-advisory-0004.json.sha256"
},
{{end}}
{{if .EnableSha512}}
{
"rel": "hash",
"href": "/white/avendor-advisory-0004.json.sha512"
"href": "{{.URL}}/white/avendor-advisory-0004.json.sha512"
},
{{end}}
{
"rel": "signature",
"href": "/white/avendor-advisory-0004.json.asc"
"href": "{{.URL}}/white/avendor-advisory-0004.json.asc"
}
],
"published": "2020-01-01T00:00:00Z",
"updated": "2020-01-01T00:00:00Z",
"content": {
"type": "application/json",
"src": "/avendor-advisory-0004.json"
"src": "{{.URL}}/avendor-advisory-0004.json"
},
"format": {
"schema": "https://docs.oasis-open.org/csaf/csaf/v2.0/csaf_json_schema.json",