Skip to content

Commit

Permalink
CDX: use library as component default
Browse files Browse the repository at this point in the history
Signed-off-by: Jonathan Ringer <[email protected]>
  • Loading branch information
jonringer committed Sep 30, 2024
1 parent c0a07db commit 07c8e38
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sbomnix/cdx.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ def _cdx_component_add_patches(component, drv):
def _drv_to_cdx_component(drv, uid="store_path"):
"""Convert one entry from sbomdb (drv) to cdx component"""
component = {}
component["type"] = "application"
component["type"] = "library"
component["bom-ref"] = getattr(drv, uid)
component["name"] = drv.pname
component["version"] = drv.version
Expand Down

0 comments on commit 07c8e38

Please sign in to comment.