Skip to content

Commit

Permalink
ScanCentral Client
Browse files Browse the repository at this point in the history
  • Loading branch information
PedroGarciaOT committed Dec 2, 2021
1 parent 17615fd commit c57cf9e
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 1 deletion.
9 changes: 8 additions & 1 deletion extra/scancentral-client/Readme.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,9 @@
Download ScanCentral Client from the controller Web API
```
curl https://hostname/scancentral-ctrl/rest/v2/update/download -H "fortify-client: CHANGEME321!" -o scancentral_latest.zip
```
Download ScanCentral Client from the controller Web API using the fortify-network docker network

curl https://hostname/scancentral-ctrl/rest/v2/update/download -H "fortify-client: CHANGEME321!" -o scancentral_latest.zip
```
curl http://scancentral-sast:8080/scancentral-ctrl/rest/v2/update/download -H "fortify-client: 3ClientToken!" -o scancentral_latest.zip
```
2 changes: 2 additions & 0 deletions prepare.sh
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,8 @@ function install {
mkdir -p /opt/mysql/data
if [ -f "01-fortify-ssc/setup/FortifyInstallers/my.cnf" ]; then
cp 01-fortify-ssc/setup/FortifyInstallers/my.cnf /opt/mysql/config/
elif [ -f "extra/mysql/config/my.cnf" ]; then
cp extra/mysql/config/my.cnf /opt/mysql/config/
else
echo "***WARNING! MySQL requires additional configuration at /opt/mysql/config/my.cnf"
touch /opt/mysql/config/my.cnf
Expand Down
11 changes: 11 additions & 0 deletions setup-all.sh
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,17 @@ docker ps -a

docker images

#Starting extras
#docker pull internetsystemsconsortium/bind9:9.11
#docker pull registry
#docker pull nginx
#nexusiq

mkdir -p /opt/demoenv/
cp -r extra/demoenv/* /opt/demoenv/
chmod a+x /opt/demoenv/*.sh
/opt/demoenv/setup.sh

echo " "
echo "Copy Fortify SSC init.token: "
cat 01-fortify-ssc/init.token && echo
Expand Down

0 comments on commit c57cf9e

Please sign in to comment.