mirror of
https://github.com/anchore/syft.git
synced 2026-02-12 02:26:42 +01:00
pr: resolve schema drift
Signed-off-by: Christopher Phillips <32073428+spiffcs@users.noreply.github.com>
This commit is contained in:
parent
65e58ba33d
commit
2dffebd34a
@ -3,7 +3,7 @@ package internal
|
|||||||
const (
|
const (
|
||||||
// JSONSchemaVersion is the current schema version output by the JSON encoder
|
// JSONSchemaVersion is the current schema version output by the JSON encoder
|
||||||
// This is roughly following the "SchemaVer" guidelines for versioning the JSON schema. Please see schema/json/README.md for details on how to increment.
|
// This is roughly following the "SchemaVer" guidelines for versioning the JSON schema. Please see schema/json/README.md for details on how to increment.
|
||||||
JSONSchemaVersion = "16.1.1"
|
JSONSchemaVersion = "16.1.3"
|
||||||
|
|
||||||
// Changelog
|
// Changelog
|
||||||
// 16.1.0 - reformulated the python pdm fields (added "URL" and removed the unused "path" field).
|
// 16.1.0 - reformulated the python pdm fields (added "URL" and removed the unused "path" field).
|
||||||
|
|||||||
@ -1169,7 +1169,11 @@
|
|||||||
},
|
},
|
||||||
"osCPE": {
|
"osCPE": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "OSCPE is a CPE name for the OS, typically corresponding to CPE_NAME in os-release (e.g. cpe:/o:fedoraproject:fedora:33)"
|
"description": "OSCPE is a CPE name for the OS, typically corresponding to CPE_NAME in os-release (e.g. cpe:/o:fedoraproject:fedora:33)\n\nDeprecated: in Syft 2.0 the struct tag will be corrected to `osCpe` to match the systemd spec casing."
|
||||||
|
},
|
||||||
|
"appCpe": {
|
||||||
|
"type": "string",
|
||||||
|
"description": "AppCpe is a CPE name for the upstream Application, as found in NVD CPE search (e.g. cpe:2.3:a:gnu:coreutils:5.0)"
|
||||||
},
|
},
|
||||||
"os": {
|
"os": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
@ -1648,19 +1652,11 @@
|
|||||||
},
|
},
|
||||||
"type": "array",
|
"type": "array",
|
||||||
"description": "ArchiveDigests is cryptographic hashes of the archive file"
|
"description": "ArchiveDigests is cryptographic hashes of the archive file"
|
||||||
},
|
|
||||||
"containedPackages": {
|
|
||||||
"items": {
|
|
||||||
"type": "string"
|
|
||||||
},
|
|
||||||
"type": "array",
|
|
||||||
"description": "ContainedPackages is a list of all package names contained in the jar"
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"required": [
|
"required": [
|
||||||
"virtualPath",
|
"virtualPath"
|
||||||
"containedPackages"
|
|
||||||
],
|
],
|
||||||
"description": "JavaArchive encapsulates all Java ecosystem metadata for a package as well as an (optional) parent relationship."
|
"description": "JavaArchive encapsulates all Java ecosystem metadata for a package as well as an (optional) parent relationship."
|
||||||
},
|
},
|
||||||
|
|||||||
4266
schema/json/schema-16.1.3.json
Normal file
4266
schema/json/schema-16.1.3.json
Normal file
File diff suppressed because it is too large
Load Diff
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
||||||
"$id": "anchore.io/schema/syft/json/16.1.1/document",
|
"$id": "anchore.io/schema/syft/json/16.1.3/document",
|
||||||
"$ref": "#/$defs/Document",
|
"$ref": "#/$defs/Document",
|
||||||
"$defs": {
|
"$defs": {
|
||||||
"AlpmDbEntry": {
|
"AlpmDbEntry": {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user