mirror of
https://github.com/fkie-cad/nvd-json-data-feeds.git
synced 2025-06-19 17:31:42 +00:00
validation: fix cvss v4.0 validation of severity/score types due to rounding error (ajv --multiple-of-precision=1)
This commit is contained in:
parent
1bde62e107
commit
7488d3ca74
@ -41,7 +41,9 @@ ajv validate -s "$schema_path/cve_item-v2.2.0.schema.json" \
|
|||||||
-r "$schema_path/cvss-v3.1.schema.json" \
|
-r "$schema_path/cvss-v3.1.schema.json" \
|
||||||
-r "$schema_path/cvss-v3.0.schema.json" \
|
-r "$schema_path/cvss-v3.0.schema.json" \
|
||||||
-r "$schema_path/cvss-v2.0.schema.json" \
|
-r "$schema_path/cvss-v2.0.schema.json" \
|
||||||
--all-errors \
|
|
||||||
--errors=json \
|
--errors=json \
|
||||||
|
--all-errors \
|
||||||
|
--multiple-of-precision=1 \
|
||||||
-c ajv-formats > /dev/null
|
-c ajv-formats > /dev/null
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user