-
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Prabhu Subramanian <prabhu@appthreat.com>
- Loading branch information
Showing
20 changed files
with
95 additions
and
13 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
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
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
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 |
---|---|---|
@@ -0,0 +1,25 @@ | ||
#!/usr/bin/env bash | ||
|
||
rm -rf plugins/goversion | ||
rm -rf plugins/trivy | ||
rm -rf plugins/cargo-auditable | ||
rm -rf plugins/osquery | ||
rm -rf plugins/dosai | ||
mkdir -p plugins/osquery plugins/dosai | ||
|
||
wget https://github.com/osquery/osquery/releases/download/5.11.0/osquery-5.11.0_1.macos_x86_64.tar.gz | ||
tar -xvf osquery-5.11.0_1.macos_x86_64.tar.gz | ||
cp opt/osquery/bin/osqueryd plugins/osquery/osqueryi-macos-amd64 | ||
sha256sum plugins/osquery/osqueryi-macos-amd64 > plugins/osquery/osqueryi-macos-amd64.sha256 | ||
rm -rf etc usr var opt | ||
rm osquery-5.11.0_1.macos_x86_64.tar.gz | ||
|
||
curl -L https://github.com/owasp-dep-scan/dosai/releases/latest/download/Dosai-osx-x64 -o plugins/dosai/dosai-darwin-amd64 | ||
chmod +x plugins/dosai/dosai-darwin-amd64 | ||
sha256sum plugins/dosai/dosai-darwin-amd64 > plugins/dosai/dosai-darwin-amd64.sha256 | ||
|
||
for plug in goversion trivy cargo-auditable | ||
do | ||
mkdir -p plugins/$plug | ||
mv ../../plugins/$plug/*darwin-amd64* plugins/$plug/ | ||
done |
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 |
---|---|---|
@@ -0,0 +1,8 @@ | ||
// Debug mode flag | ||
const DEBUG_MODE = | ||
process.env.CDXGEN_DEBUG_MODE === "debug" || | ||
process.env.NODE_ENV === "development"; | ||
|
||
if (DEBUG_MODE) { | ||
console.log("cdxgen plugins check"); | ||
} |
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 |
---|---|---|
@@ -0,0 +1,34 @@ | ||
{ | ||
"name": "@cyclonedx/cdxgen-plugins-bin-darwin-amd64", | ||
"version": "1.5.6", | ||
"description": "Arm64 binary plugins to supercharge @cyclonedx/cdxgen npm package", | ||
"main": "index.js", | ||
"repository": { | ||
"type": "git", | ||
"url": "git+https://github.com/cyclonedx/cdxgen-plugins-bin.git" | ||
}, | ||
"keywords": [ | ||
"cdxgen", | ||
"sbom", | ||
"bom", | ||
"plugins", | ||
"dependency", | ||
"appsec" | ||
], | ||
"author": "Prabhu Subramanian <prabhu@appthreat.com>", | ||
"license": "Apache-2.0", | ||
"bugs": { | ||
"url": "https://github.com/cyclonedx/cdxgen-plugins-bin/issues" | ||
}, | ||
"homepage": "https://github.com/cyclonedx/cdxgen-plugins-bin#readme", | ||
"files": [ | ||
"*.js", | ||
"plugins/" | ||
], | ||
"os": [ | ||
"darwin" | ||
], | ||
"cpu": [ | ||
"x64" | ||
] | ||
} |
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 |
---|---|---|
@@ -0,0 +1,5 @@ | ||
goversion/ | ||
trivy/ | ||
cargo-auditable/ | ||
osquery/ | ||
dosai/ |
Empty file.
Empty file.
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
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
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
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
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
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
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
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
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