Parse GitHub actions comments (#3776)

* add version comment parsing support to github actions

Signed-off-by: Alex Goodman <wagoodman@users.noreply.github.com>

* update json schema with github actions metadata

Signed-off-by: Alex Goodman <wagoodman@users.noreply.github.com>

* add originator processing for github actions type

Signed-off-by: Alex Goodman <wagoodman@users.noreply.github.com>

---------

Signed-off-by: Alex Goodman <wagoodman@users.noreply.github.com>
This commit is contained in:
Alex Goodman
2025-04-03 14:46:27 +00:00
committed by GitHub
parent f851085668
commit 12f36420dd
14 changed files with 3199 additions and 40 deletions
File diff suppressed because it is too large Load Diff
+18 -1
View File
@@ -1,6 +1,6 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "anchore.io/schema/syft/json/16.0.24/document",
"$id": "anchore.io/schema/syft/json/16.0.25/document",
"$ref": "#/$defs/Document",
"$defs": {
"AlpmDbEntry": {
@@ -995,6 +995,20 @@
"size"
]
},
"GithubActionsUseStatement": {
"properties": {
"value": {
"type": "string"
},
"comment": {
"type": "string"
}
},
"type": "object",
"required": [
"value"
]
},
"GoModuleBuildinfoEntry": {
"properties": {
"goBuildSettings": {
@@ -1804,6 +1818,9 @@
{
"$ref": "#/$defs/ErlangRebarLockEntry"
},
{
"$ref": "#/$defs/GithubActionsUseStatement"
},
{
"$ref": "#/$defs/GoModuleBuildinfoEntry"
},