CycloneDX / CycloneDX/cyclonedx-php-composer

gather license evidence

Open
#508 0 comments 0 reactions 0 assignees View on GitHub
enhancement help wanted
Dominant language
PHP
Stars
87
Forks
7
PR merge metrics
No merged PRs in 30d

Description

## Is your feature request related to a problem? Please describe.

packages manifests may declare package licenses. some license declarations are no final license texts, but templates - like "MIT".
Therefore, it is required to collect license evidences from packages. a first step would be: colect relevant files.

## Describe the solution you'd like

add a CLI flag `--gather-license-evicences` or something, and collect relevant license files.

see similar implementations:
- https://github.com/CycloneDX/cyclonedx-webpack-plugin/issues/676 & https://github.com/CycloneDX/cyclonedx-webpack-plugin/issues/1321

## Describe alternatives you've considered

-

## Additional context

composer manifests dont have a field for relevant files.so gathering the files manually would be required.

license evidences are to be not confused with declared or concluded licenses!

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.