Finalize Conan v2 support (#2587)

* Add support for conan lock v2 (#2461)

* conan lock 2.x requires field support

Signed-off-by: houdini91 <mdstrauss91@gmail.com>

* PR review, struct renaming

Signed-off-by: houdini91 <mdstrauss91@gmail.com>

---------

Signed-off-by: houdini91 <mdstrauss91@gmail.com>

* decompose conanlock parser + add tests

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

---------

Signed-off-by: houdini91 <mdstrauss91@gmail.com>
Signed-off-by: Alex Goodman <wagoodman@users.noreply.github.com>
Co-authored-by: mikey strauss <mdstrauss91@gmail.com>
This commit is contained in:
Alex Goodman
2024-02-07 08:24:02 -05:00
committed by GitHub
co-authored by mikey strauss
parent 00d6269e3c
commit c61f59e7b7
12 changed files with 2509 additions and 37 deletions
File diff suppressed because it is too large Load Diff
+33 -1
View File
@@ -1,6 +1,6 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "anchore.io/schema/syft/json/16.0.2/document",
"$id": "anchore.io/schema/syft/json/16.0.3/document",
"$ref": "#/$defs/Document",
"$defs": {
"AlpmDbEntry": {
@@ -275,6 +275,35 @@
"ref"
]
},
"CConanLockV2Entry": {
"properties": {
"ref": {
"type": "string"
},
"packageID": {
"type": "string"
},
"username": {
"type": "string"
},
"channel": {
"type": "string"
},
"recipeRevision": {
"type": "string"
},
"packageRevision": {
"type": "string"
},
"timestamp": {
"type": "string"
}
},
"type": "object",
"required": [
"ref"
]
},
"CPE": {
"properties": {
"cpe": {
@@ -1363,6 +1392,9 @@
{
"$ref": "#/$defs/CConanLockEntry"
},
{
"$ref": "#/$defs/CConanLockV2Entry"
},
{
"$ref": "#/$defs/CocoaPodfileLockEntry"
},