-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
28 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,18 +8,39 @@ snyk auth | |
git clone https://github.com/0GiS0/tour-of-heroes-angular.git && cd tour-of-heroes-angular | ||
npm install | ||
|
||
spdx-sbom-generator --format JSON | ||
cdxgen -o bom.json | ||
|
||
|
||
# Trying API REST | ||
curl https://reimagined-xylophone-vp9qqwj64fx67w-8080.app.github.dev/api/version -w '%{response_code}' | ||
|
||
curl -X "PUT" "https://reimagined-xylophone-vp9qqwj64fx67w-8080.app.github.dev/api/v1/bom" \ | ||
-H 'Content-Type: multipart/form-data' \ | ||
-H 'X-Api-Key: BgCIvb2ZuIEiuaZBiOZ5JhmQdD8I4Iop' \ | ||
-F 'project=00ca1b30-3746-4da1-abae-f0b45a6d9906' \ | ||
-F '[email protected]' \ | ||
-w '%{response_code}' | ||
|
||
curl -X "POST" "https://reimagined-xylophone-vp9qqwj64fx67w-8080.app.github.dev/api/v1/bom" \ | ||
-H 'Content-Type: multipart/form-data' \ | ||
-H "X-Api-Key: BgCIvb2ZuIEiuaZBiOZ5JhmQdD8I4Iop" \ | ||
-F "autoCreate=true" \ | ||
-F "projectName=tour-of-heroes-test" \ | ||
-F "projectVersion=1.0.0" \ | ||
-F "[email protected]" \ | ||
-w '%{response_code}' | ||
|
||
|
||
# snyk sbom --format cyclonedx1.4+json # Doesnt work | ||
|
||
git clone https://github.com/0GiS0/tour-of-heroes-dotnet-api.git && cd tour-of-heroes-dotnet-api | ||
dotnet build | ||
|
||
spdx-sbom-generator | ||
spdx-sbom-generator --format json | ||
|
||
curl -X "POST" "https://ominous-spork-p74pp9x7pf7xq9-8081.app.github.dev/api/v1/bom" \ | ||
curl -X "PUT" "https://reimagined-xylophone-vp9qqwj64fx67w-8081.app.github.dev/api/v1/bom" \ | ||
-H 'Content-Type: multipart/form-data' \ | ||
-H 'X-API-Key: 5TWxIUEnxBV9YSXrEHb3I1URmWjN90Na' \ | ||
-F 'project=00ca1b30-3746-4da1-abae-f0b45a6d9906' \ | ||
-H 'X-Api-Key: BgCIvb2ZuIEiuaZBiOZ5JhmQdD8I4Iop' \ | ||
-F 'project=81d1c70e-5527-4d1d-bdd0-15d6120badcb' \ | ||
-F '[email protected]' \ | ||
-w '%{response_code}' |
Submodule tour-of-heroes-angular
added at
58aa38
Submodule tour-of-heroes-dotnet-api
added at
9b8a5e