-
Notifications
You must be signed in to change notification settings - Fork 34
refactoring/527_spdx-sbom #542
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from all commits
93842b7
8c282a4
8833bc9
878c8ea
82a8391
ccecf16
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -88,6 +88,21 @@ jobs: | |
| !product/target/openfasttrace-*-sources.jar | ||
| if-no-files-found: error | ||
|
|
||
| - name: Generate SPDX SBOM | ||
| if: ${{ env.DEFAULT_OS == matrix.os && env.DEFAULT_JAVA == matrix.java }} | ||
| run: | | ||
| mvn --batch-mode -pl product spdx:createSPDX \ | ||
| -Dossindex.skip=true \ | ||
| -Djava.version=${{ matrix.java }} | ||
|
|
||
| - name: Upload SPDX SBOM | ||
| uses: actions/upload-artifact@v7 | ||
| if: ${{ env.DEFAULT_OS == matrix.os && env.DEFAULT_JAVA == matrix.java }} | ||
| with: | ||
| name: openfasttrace-spdx | ||
| path: product/target/site/*.spdx.json | ||
| if-no-files-found: error | ||
|
Comment on lines
+98
to
+104
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 👍 |
||
|
|
||
| - name: Run self-trace | ||
| run: ./oft-self-trace.sh | ||
|
|
||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,13 @@ | ||
| # Security Policy | ||
|
|
||
| ## Reporting a Vulnerability | ||
|
|
||
| We are very grateful for any security reports and see them as a valuable way to improve the quality and reliability of our codebase. As a non-profit open-source project, we appreciate the time and effort the community puts into helping us keep OpenFastTrace secure. | ||
|
|
||
| Please note that we do not offer bug bounties. | ||
|
|
||
| To report a vulnerability, please use the [GitHub Security Advisory reporting feature](https://github.com/itsallcode/openfasttrace/security/advisories/new) or contact the maintainers directly. We strive to address all security concerns in a timely and professional manner. | ||
|
|
||
| ## Software Bill of Materials (SBOM) | ||
|
|
||
| To enhance transparency and security, SPDX SBOMs (Software Bill of Materials) are included with the GitHub releases starting from version 4.6.0. These files provide a comprehensive list of all components and dependencies used in the project. |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -47,6 +47,30 @@ | |
| <skip>true</skip> | ||
| </configuration> | ||
| </plugin> | ||
| <plugin> | ||
| <groupId>org.spdx</groupId> | ||
| <artifactId>spdx-maven-plugin</artifactId> | ||
| <version>1.0.3</version> | ||
| <executions> | ||
| <execution> | ||
| <id>aggregate-spdx</id> | ||
| <goals> | ||
| <goal>aggregateSPDX</goal> | ||
| </goals> | ||
| </execution> | ||
| </executions> | ||
| <configuration> | ||
| <sbomType>build</sbomType> | ||
| <includeTestScope>false</includeTestScope> | ||
| <licenseDeclared>GPL-3.0-only</licenseDeclared> | ||
| <licenseConcluded>GPL-3.0-only</licenseConcluded> | ||
| <copyrightText>Copyright (c) itsallcode.org</copyrightText> | ||
| <createExternalRefs>false</createExternalRefs> | ||
| <defaultFileConcludedLicense>GPL-3.0-only</defaultFileConcludedLicense> | ||
| <defaultLicenseInformationInFile>GPL-3.0-only</defaultLicenseInformationInFile> | ||
| <defaultFileCopyright>Copyright (c) itsallcode.org</defaultFileCopyright> | ||
| </configuration> | ||
| </plugin> | ||
|
Comment on lines
+62
to
+73
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Duplicated in parent pom. Is this really necessary as the root is only an aggregator pom without code? |
||
| </plugins> | ||
| </build> | ||
| </project> | ||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Would it be possible to run the plugin with
mvn install? Then you don't need a separate build step.