bump json schema

Signed-off-by: Alex Goodman <wagoodman@users.noreply.github.com>
This commit is contained in:
Alex Goodman 2025-12-10 09:08:17 -05:00
parent 33c5e40431
commit 1a70ffe2fa
3 changed files with 4325 additions and 2 deletions

View File

@ -3,9 +3,10 @@ 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.0" JSONSchemaVersion = "16.1.1"
// 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).
// 16.1.1 - add file executable toolchain and symbol information
) )

File diff suppressed because it is too large Load Diff

View File

@ -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.0/document", "$id": "anchore.io/schema/syft/json/16.1.1/document",
"$ref": "#/$defs/Document", "$ref": "#/$defs/Document",
"$defs": { "$defs": {
"AlpmDbEntry": { "AlpmDbEntry": {
@ -1279,6 +1279,20 @@
"elfSecurityFeatures": { "elfSecurityFeatures": {
"$ref": "#/$defs/ELFSecurityFeatures", "$ref": "#/$defs/ELFSecurityFeatures",
"description": "ELFSecurityFeatures contains ELF-specific security hardening information when Format is ELF." "description": "ELFSecurityFeatures contains ELF-specific security hardening information when Format is ELF."
},
"symbolNames": {
"items": {
"type": "string"
},
"type": "array",
"description": "Symbols captures the selection from the symbol table found in the binary.\nSymbols []Symbol `json:\"symbols,omitempty\" yaml:\"symbols\" mapstructure:\"symbols\"`"
},
"toolchains": {
"items": {
"$ref": "#/$defs/Toolchain"
},
"type": "array",
"description": "Toolchains captures information about the compiler, linker, runtime, or other toolchains used to build (or otherwise exist within) the executable."
} }
}, },
"type": "object", "type": "object",
@ -4221,6 +4235,24 @@
], ],
"description": "TerraformLockProviderEntry represents a single provider entry in a Terraform dependency lock file (.terraform.lock.hcl)." "description": "TerraformLockProviderEntry represents a single provider entry in a Terraform dependency lock file (.terraform.lock.hcl)."
}, },
"Toolchain": {
"properties": {
"name": {
"type": "string"
},
"version": {
"type": "string"
},
"kind": {
"type": "string"
}
},
"type": "object",
"required": [
"name",
"kind"
]
},
"WordpressPluginEntry": { "WordpressPluginEntry": {
"properties": { "properties": {
"pluginInstallDirectory": { "pluginInstallDirectory": {