make SBOM without composer-plugin #103
Closed
jkowalleck
started this conversation in
Ideas
Replies: 2 comments 2 replies
-
possible implementation: build a executable PHAR this way there was a shippable binary that contained all features. |
Beta Was this translation helpful? Give feedback.
2 replies
-
idea closed. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
current implementation is a composer plugin.
this has some flaws:
cannot generate the SBOM for lock files outside of the current composerized project.
can generate SBOM only based in current project.
this is not an issue at the moment, since this plugin does not utilize any composer-requirements on its own.
so current switches
--exclude-dev
or--exclude-plugins
can exclude cyclonedx-php-composer at the moment.in the future it is planned to change, to incorporate
package-url/packageurl-php
.with this change, the plugin will ship an own dep, which is not excludable via the
--exclude-dev
switch at the moment.IDEA: ship a "binary" that can generate SBOM based on a lock file, without leverage of composer-plugin
BENEFIT:
THOUGHTS:
cyclonedx-php-core
which holds all needed models, functionality ...Beta Was this translation helpful? Give feedback.
All reactions