Festo-se / cyclonedx-editor-validator

Tool for creating, modifying and validating CycloneDX SBOMs.
https://festo-se.github.io/cyclonedx-editor-validator/
GNU General Public License v3.0
16 stars 4 forks source link

69 support creation of a notice file #213

Open CBeck-96 opened 3 weeks ago

CBeck-96 commented 3 weeks ago

Adds a function to create a notice file from the SBOM.

Depends on #196 To be merged after #200

github-actions[bot] commented 2 weeks ago

Coverage

Coverage Report •
FileStmtsMissCoverMissing
__main__.py3322492%219–220, 237, 247, 686–687, 691–696, 698, 701, 711–714, 718, 885, 918–920, 922
create_notice_file.py45686%19, 29–32, 51
auxiliary
   output.py65887%106, 130–131, 134, 136, 138, 141–142
TOTAL175210893% 

Tests Skipped Failures Errors Time
300 2 :zzz: 0 :x: 0 :fire: 5.783s :stopwatch:
CBeck-96 commented 2 weeks ago

Example notice file:

Acme_Application Company Legal 2022, all rights reserved

This product includes material developed by third parties:

web-framework: Apache-1.0

sub_web-framework: Apache-1.0 Apache-2.0 Apache-3.0

Component index 1: (CDDL-1.0 OR GPL-2.0-with-classpath-exception)

persistence: Apache-2.0

common-util: BSD-3-Clause

tomcat-catalina: Copyright tomcat-catalina Apache-2.0 Apache-1.0

card-verifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 A licenses name of card verifier

util: Example, Inc. Commercial License Apache-1.0

some_name: Company Legal 2022, all rights reserved Apache-2.0

license and copyright less component: No license or copyright information available