Update Syft formats for SyftJson (#752)

* Update Syft formats for SyftJson

This change will introduce omitempty struct tag to PackageCustomData.
This struct tag will cause null and empty values to be dropped on serialization
for consumers downstream.

Signed-off-by: Toure Dunnon <toure.dunnon@anchore.com>

* Updated the golden files for syftjson to allow for proper
test coverage.

Signed-off-by: Toure Dunnon <toure.dunnon@anchore.com>
This commit is contained in:
Toure Dunnon
2022-01-18 17:18:34 -05:00
committed by GitHub
parent c61204f56d
commit 814f2bf8b9
7 changed files with 1091 additions and 18 deletions
File diff suppressed because it is too large Load Diff