Download scripts/platforms.sh from dn-scribe/attstore: direct link, hf CLI and curl.
- Browser
- Download file 1.34 kB
-
https://huggingface.co/spaces/dn-scribe/attstore/resolve/main/scripts/platforms.sh
- Command line
-
hf download hf://spaces/dn-scribe/attstore/scripts/platforms.sh
-
curl -L -o platforms.sh https://huggingface.co/spaces/dn-scribe/attstore/resolve/main/scripts/platforms.sh
1.34 kB
| export PRODUCT_NAME="asrto-miscalculator" | |
| export PRODUCT_VERSION="2.9" | |
| export REPO_BASE_NAME="attstore" | |
| export ORG="scribe-security" | |
| export SCRIBE_TOKEN=$TOKEN | |
| export VALINT_CACHE_ENABLE=false | |
| export SCRIBE_URL=http://127.0.0.1:5003 | |
| platforms --log-file ~/code/attstore/tmp/platforms-log-discover.txt --log-level DEBUG \ | |
| discover github \ | |
| --token $GITHUB_TOKEN \ | |
| --organization.mapping *$ORG::$PRODUCT_NAME::$PRODUCT_VERSION \ | |
| --repository.mapping *$REPO_BASE_NAME::$PRODUCT_NAME::$PRODUCT_VERSION \ | |
| --commit.skip --workflow.skip | |
| platforms --log-file ~/code/attstore/tmp/platforms-log-bom.txt --log-level DEBUG \ | |
| bom --valint.scribe.client-secret $SCRIBE_TOKEN \ | |
| github \ | |
| --token $GITHUB_TOKEN \ | |
| --organization.mapping *$ORG::$PRODUCT_NAME::$PRODUCT_VERSION \ | |
| --repository.mapping *$REPO_BASE_NAME::$PRODUCT_NAME::$PRODUCT_VERSION \ | |
| --hook opengrep | |
| platforms --log-file ~/code/attstore/tmp/platforms-log-verify.txt --log-level DEBUG \ | |
| verify --valint.scribe.client-secret $SCRIBE_TOKEN \ | |
| github \ | |
| --token $GITHUB_TOKEN \ | |
| --scope.organization $ORG \ | |
| --scope.repository $REPO_BASE_NAME \ | |
| --organization.mapping *$ORG::$PRODUCT_NAME::$PRODUCT_VERSION \ | |
| --repository.mapping *$REPO_BASE_NAME::$PRODUCT_NAME::$PRODUCT_VERSION \ | |
| --initiative sspb-gh.yaml@v2 |