Own tools (@cyclonedx/cyclonedx-npm and @cyclonedx/cyclonedx-library) are listed under medatada.tools which is deprecated. They should be listed under medatada.tools.components as suggested since CycloneDX v1.5.
To Reproduce
Any generated JSON document contains the same output. I've tried the following command on an npm project:
Describe the feature
Own tools (
@cyclonedx/cyclonedx-npm
and@cyclonedx/cyclonedx-library
) are listed undermedatada.tools
which is deprecated. They should be listed undermedatada.tools.components
as suggested since CycloneDX v1.5.To Reproduce
Any generated JSON document contains the same output. I've tried the following command on an npm project:
Expected behavior
Entries under
metadata.tools
should be listed undermedatada.tools.components
according to the "component" data structure.Screenshots or output-paste
Environment
Additional context
This is the part of the code where
metadata.tools
are being populated:https://github.com/CycloneDX/cyclonedx-node-npm/blob/96f1046406005dd7449ef0206ce499aaaaa449f3/src/builders.ts#L230-L238