syft/internal/formats
Alex Goodman 9aca23f766
Add SPDX JSON format object (#584)
* remove existing spdxjson presenter + helpers

Signed-off-by: Alex Goodman <alex.goodman@anchore.com>

* add new spdx22json format

Signed-off-by: Alex Goodman <alex.goodman@anchore.com>

* add common sdpxhelpers (migrated)

Signed-off-by: Alex Goodman <alex.goodman@anchore.com>

* use new common spdx helpers

Signed-off-by: Alex Goodman <alex.goodman@anchore.com>

* wire up new spdx22json format object

Signed-off-by: Alex Goodman <alex.goodman@anchore.com>

* remove lossless syft-specific property bags

Signed-off-by: Alex Goodman <alex.goodman@anchore.com>

* remove spdxjson decoder and validator

Signed-off-by: Alex Goodman <alex.goodman@anchore.com>

* add nil checks in spdx test helpers

Signed-off-by: Alex Goodman <alex.goodman@anchore.com>

* remove empty default case

Signed-off-by: Alex Goodman <alex.goodman@anchore.com>

* use explicit golden snapshot

Signed-off-by: Alex Goodman <alex.goodman@anchore.com>
2021-10-29 14:55:20 +00:00
..
common Add SPDX JSON format object (#584) 2021-10-29 14:55:20 +00:00
cyclonedx12xml Port cyclonedx presenter to format object (#589) 2021-10-29 10:17:03 -04:00
spdx22json Add SPDX JSON format object (#584) 2021-10-29 14:55:20 +00:00
syftjson Port cyclonedx presenter to format object (#589) 2021-10-29 10:17:03 -04:00
table replace table presenter with format object (#586) 2021-10-24 08:09:27 -04:00
test-fixtures Introduce new format pattern + port json processing (#550) 2021-10-20 21:36:34 +00:00
formats.go Add SPDX JSON format object (#584) 2021-10-29 14:55:20 +00:00
formats_test.go Introduce new format pattern + port json processing (#550) 2021-10-20 21:36:34 +00:00