-
Notifications
You must be signed in to change notification settings - Fork 42
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- addresses parts of #754, #341 - add valid testfile for 6.1.8 in CSAF 2.0 and CSAF 2.1 that does not contain CVSS
- Loading branch information
1 parent
2d777fb
commit b39cd0b
Showing
4 changed files
with
102 additions
and
0 deletions.
There are no files selected for viewing
44 changes: 44 additions & 0 deletions
44
csaf_2.0/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_0-2021-6-1-08-14.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
{ | ||
"document": { | ||
"category": "csaf_base", | ||
"csaf_version": "2.0", | ||
"publisher": { | ||
"category": "other", | ||
"name": "OASIS CSAF TC", | ||
"namespace": "https://csaf.io" | ||
}, | ||
"title": "Mandatory test: Invalid CVSS (valid example 4)", | ||
"tracking": { | ||
"current_release_date": "2021-07-21T10:00:00.000Z", | ||
"id": "OASIS_CSAF_TC-CSAF_2.0-2021-6-1-08-14", | ||
"initial_release_date": "2021-07-21T10:00:00.000Z", | ||
"revision_history": [ | ||
{ | ||
"date": "2021-07-21T10:00:00.000Z", | ||
"number": "1", | ||
"summary": "Initial version." | ||
} | ||
], | ||
"status": "final", | ||
"version": "1" | ||
} | ||
}, | ||
"product_tree": { | ||
"full_product_names": [ | ||
{ | ||
"product_id": "CSAFPID-9080700", | ||
"name": "Product A" | ||
} | ||
] | ||
}, | ||
"vulnerabilities": [ | ||
{ | ||
"notes": [ | ||
{ | ||
"category": "summary", | ||
"text": "A vulnerability without CVSS passes the test as well." | ||
} | ||
] | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
50 changes: 50 additions & 0 deletions
50
csaf_2.1/test/validator/data/mandatory/oasis_csaf_tc-csaf_2_1-2024-6-1-08-15.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
{ | ||
"$schema": "https://docs.oasis-open.org/csaf/csaf/v2.1/csaf_json_schema.json", | ||
"document": { | ||
"category": "csaf_base", | ||
"csaf_version": "2.1", | ||
"distribution": { | ||
"tlp": { | ||
"label": "CLEAR" | ||
} | ||
}, | ||
"publisher": { | ||
"category": "other", | ||
"name": "OASIS CSAF TC", | ||
"namespace": "https://csaf.io" | ||
}, | ||
"title": "Mandatory test: Invalid CVSS (valid example 5)", | ||
"tracking": { | ||
"current_release_date": "2024-01-24T10:00:00.000Z", | ||
"id": "OASIS_CSAF_TC-CSAF_2.1-2024-6-1-08-15", | ||
"initial_release_date": "2024-01-24T10:00:00.000Z", | ||
"revision_history": [ | ||
{ | ||
"date": "2024-01-24T10:00:00.000Z", | ||
"number": "1", | ||
"summary": "Initial version." | ||
} | ||
], | ||
"status": "final", | ||
"version": "1" | ||
} | ||
}, | ||
"product_tree": { | ||
"full_product_names": [ | ||
{ | ||
"product_id": "CSAFPID-9080700", | ||
"name": "Product A" | ||
} | ||
] | ||
}, | ||
"vulnerabilities": [ | ||
{ | ||
"notes": [ | ||
{ | ||
"category": "summary", | ||
"text": "A vulnerability without CVSS passes the test as well." | ||
} | ||
] | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters