feat: combine go module file and go source discovery into single cataloger (#4127)

---------
Signed-off-by: Christopher Phillips <32073428+spiffcs@users.noreply.github.com>
Signed-off-by: Christopher Angelo Phillips <32073428+spiffcs@users.noreply.github.com>
Signed-off-by: Alex Goodman <wagoodman@users.noreply.github.com>
Co-authored-by: Alex Goodman <wagoodman@users.noreply.github.com>
This commit is contained in:
Christopher Angelo Phillips
2025-08-26 19:35:44 +00:00
committed by GitHub
co-authored by Alex Goodman
parent 170c4c41f4
commit 13ffeeb3d0
26 changed files with 4518 additions and 62 deletions
File diff suppressed because it is too large Load Diff
+27 -1
View File
@@ -1,6 +1,6 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "anchore.io/schema/syft/json/16.0.38/document",
"$id": "anchore.io/schema/syft/json/16.0.39/document",
"$ref": "#/$defs/Document",
"$defs": {
"AlpmDbEntry": {
@@ -1236,6 +1236,29 @@
},
"type": "object"
},
"GoSourceEntry": {
"properties": {
"h1Digest": {
"type": "string"
},
"os": {
"type": "string"
},
"architecture": {
"type": "string"
},
"buildTags": {
"type": "string"
},
"cgoEnabled": {
"type": "boolean"
}
},
"type": "object",
"required": [
"cgoEnabled"
]
},
"HaskellHackageStackEntry": {
"properties": {
"pkgHash": {
@@ -2075,6 +2098,9 @@
{
"$ref": "#/$defs/GoModuleEntry"
},
{
"$ref": "#/$defs/GoSourceEntry"
},
{
"$ref": "#/$defs/HaskellHackageStackEntry"
},