Alex Goodman
52adfcbd44
stabilize package ID relative to encode-decode format cycles
...
Signed-off-by: Alex Goodman <alex.goodman@anchore.com >
2021-11-09 16:53:16 -05:00
Alex Goodman
8a0fa5d3ad
remove catalog ID assignment
...
Signed-off-by: Alex Goodman <alex.goodman@anchore.com >
2021-11-09 10:49:37 -05:00
Alex Goodman
69d2b1ba3c
add artifact.Identifiable by Identity() method
...
Signed-off-by: Alex Goodman <alex.goodman@anchore.com >
2021-11-08 16:46:14 -05:00
Alex Goodman
a906b9a03a
migrate pkg.ID and pkg.Relationship to artifact package
...
Signed-off-by: Alex Goodman <alex.goodman@anchore.com >
2021-11-08 16:43:20 -05:00
Alex Goodman and Christopher Angelo Phillips
bb0f35bac4
Introduce a single SBOM document ( #606 )
...
* [wip] single sbom doc
Signed-off-by: Alex Goodman <alex.goodman@anchore.com >
* fix tests
Signed-off-by: Alex Goodman <alex.goodman@anchore.com >
* fix more tests
Signed-off-by: Alex Goodman <alex.goodman@anchore.com >
* fix linting
Signed-off-by: Alex Goodman <alex.goodman@anchore.com >
* update cli tests
Signed-off-by: Alex Goodman <alex.goodman@anchore.com >
* remove scope in import path
Signed-off-by: Alex Goodman <alex.goodman@anchore.com >
* swap SPDX tag-value formatter to single sbom document
Signed-off-by: Alex Goodman <alex.goodman@anchore.com >
* bust CLI cache
Signed-off-by: Alex Goodman <alex.goodman@anchore.com >
* update fixture to byte diff
Signed-off-by: Christopher Angelo Phillips <christopher.phillips@anchore.com >
* byte for byte
Signed-off-by: Christopher Angelo Phillips <christopher.phillips@anchore.com >
* bust the cache
Signed-off-by: Christopher Angelo Phillips <christopher.phillips@anchore.com >
* who needs cache
Signed-off-by: Christopher Angelo Phillips <christopher.phillips@anchore.com >
* add jar for testing
Signed-off-by: Christopher Angelo Phillips <christopher.phillips@anchore.com >
* no more bit flips
Signed-off-by: Christopher Angelo Phillips <christopher.phillips@anchore.com >
* update apk with the delta for image and directory cases
Signed-off-by: Christopher Angelo Phillips <christopher.phillips@anchore.com >
* restore cache workflow
Signed-off-by: Christopher Angelo Phillips <christopher.phillips@anchore.com >
Co-authored-by: Christopher Angelo Phillips <christopher.phillips@anchore.com >
2021-11-05 10:05:49 -04:00
Alex Goodman
4a2d1d7225
Port cyclonedx presenter to format object ( #589 )
...
* add new cyclonedx format object
Signed-off-by: Alex Goodman <alex.goodman@anchore.com >
* remove cyclonedx presenter
Signed-off-by: Alex Goodman <alex.goodman@anchore.com >
* remove cyclonedx presenter call
Signed-off-by: Alex Goodman <alex.goodman@anchore.com >
* remove dependence on golden images for format tests
Signed-off-by: Alex Goodman <alex.goodman@anchore.com >
* wire up new formt + rename all-presenters ref
Signed-off-by: Alex Goodman <alex.goodman@anchore.com >
* add CLI test to ensure that all formats can be expressed as report output
Signed-off-by: Alex Goodman <alex.goodman@anchore.com >
* add cyclonedx version and encoding format to package name
Signed-off-by: Alex Goodman <alex.goodman@anchore.com >
* optionally preserve format snapshot images
Signed-off-by: Alex Goodman <alex.goodman@anchore.com >
* fix linting + text unit tests
Signed-off-by: Alex Goodman <alex.goodman@anchore.com >
2021-10-29 10:17:03 -04:00
Alex Goodman
560b05c2c9
Introduce new format pattern + port json processing ( #550 )
...
* add new format pattern
Signed-off-by: Alex Goodman <alex.goodman@anchore.com >
* add syftjson format
Signed-off-by: Alex Goodman <alex.goodman@anchore.com >
* add internal formats helper
Signed-off-by: Alex Goodman <alex.goodman@anchore.com >
* add SBOM encode/decode to lib API
Signed-off-by: Alex Goodman <alex.goodman@anchore.com >
* remove json presenter + update presenter tests to use common utils
Signed-off-by: Alex Goodman <alex.goodman@anchore.com >
* remove presenter format enum type + add formats shim in presenter helper
Signed-off-by: Alex Goodman <alex.goodman@anchore.com >
* add MustCPE helper for tests
Signed-off-by: Alex Goodman <alex.goodman@anchore.com >
* update usage of format enum
Signed-off-by: Alex Goodman <alex.goodman@anchore.com >
* add test fixtures for encode/decode tests
Signed-off-by: Alex Goodman <alex.goodman@anchore.com >
* fix integration test
Signed-off-by: Alex Goodman <alex.goodman@anchore.com >
* migrate format detection to use reader
Signed-off-by: Alex Goodman <alex.goodman@anchore.com >
* address review comments
Signed-off-by: Alex Goodman <alex.goodman@anchore.com >
2021-10-20 21:36:34 +00:00