syft/internal
Christopher Angelo Phillips 93d00dc340
Populate Files and Relationship fields for spdx-json output (#507)
* update spdx22 Document model to include relationships field

Signed-off-by: Christopher Angelo Phillips <christopher.phillips@anchore.com>

* update document and relationship to match current JSON spec
https://github.com/spdx/spdx-spec/blob/development/v2.2.1/schemas/spdx-schema.json
https://github.com/spdx/spdx-spec/pull/528
https://github.com/spdx/spdx-spec/pull/528#issuecomment-904180177

Signed-off-by: Christopher Angelo Phillips <christopher.phillips@anchore.com>

* update File struct based on SPDX schema

Required fields:
[ "SPDXID", "fileName", "copyrightText", "licenseConcluded" ]
Signed-off-by: Christopher Angelo Phillips <christopher.phillips@anchore.com>
2021-09-17 09:06:12 -04:00
..
anchore Add config option for import timeout (#421) 2021-05-25 15:01:02 -04:00
bus Add documentation around catalogers, UI elements, and the event bus (#143) 2020-08-12 11:04:39 -04:00
config Add option to enable http registry connections (#482) 2021-08-17 12:52:51 -04:00
file update zip util tests 2021-06-04 12:11:49 -04:00
log improve doc comments 2020-11-17 12:37:13 -05:00
logger improve doc comments 2020-11-17 12:37:13 -05:00
presenter Populate Files and Relationship fields for spdx-json output (#507) 2021-09-17 09:06:12 -04:00
spdxlicense Update SPDX license list from 3.13 to 3.14 (#474) 2021-08-09 19:47:33 +00:00
ui redirect cursor hide/show to stderr (#456) 2021-06-30 13:10:00 -04:00
version improve config parsing + fix command deprecation warning 2021-03-22 10:58:09 -04:00
constants.go add dpkg conffile update to json schema + json test snapshots 2021-04-09 08:37:28 -04:00
docs.go improve doc comments 2020-11-17 12:37:13 -05:00
err_helper.go Power user command support for directory scans (#467) 2021-09-08 09:18:53 -04:00
regex_helpers.go simplify MatchNamedCaptureGroups implementation 2021-04-12 17:11:43 -04:00
regex_helpers_test.go add tests around MatchNamedCaptureGroups + rename 2021-04-12 17:08:50 -04:00
string_helpers.go Add support for indexing root filesystem (#442) 2021-06-29 22:06:47 +00:00
string_helpers_test.go Add support for indexing root filesystem (#442) 2021-06-29 22:06:47 +00:00
stringset.go improve doc comments 2020-11-17 12:37:13 -05:00
tprint.go add analysis coordination (with dummy analyzer) 2020-05-18 11:59:33 -04:00