-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Snyk SBOM #8249
base: main
Are you sure you want to change the base?
Snyk SBOM #8249
Conversation
@@ -47,6 +47,14 @@ jobs: | |||
path: Mattermost-unsigned.ipa | |||
name: Mattermost-unsigned.ipa | |||
|
|||
-name: ci/sbom-ios | |||
uses: ./.github/actions/snyk-sbom | |||
working-directory: ./ios |
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.
(echoing my comment in the ticket)
Will this be able to pick up JS dependencies from the root (package*.json)? Same question with android.
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.
It should.. npm will check in the parent folder if needed
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.
After checking with the generated SBOMs from @enzowritescode, the build-specific SBOMs did not contain npm
packages. Here is the summary:
## sbom_ios.json
- purl (total) -- 178
- pkg:cocoapods -- 170
- pkg:swift -- 8
## sbom_android.json
- purl (total) -- 5953
- pkg:maven -- 5953
As compared to SBOM for the whole project:
## sbom.json
- purl (total) -- 7546
- pkg:gem -- 138
- pkg:npm -- 1120
- pkg:maven -- 6110
- pkg:cocoapods -- 170
- pkg:swift -- 8
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.
Thanks @enzowritescode, LGTM. Left comment for my reference only.
Converting back to a draft while I discuss with Snyk the dependencies/lockfile issue |
Summary
Generate SBOM (software bill of materials ) on release
Ticket Link
https://mattermost.atlassian.net/browse/SEC-6362
Release Note