Skip to content

Commit

Permalink
Updating FAST scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
kadraman committed Jun 12, 2024
1 parent 05ee324 commit e174ed3
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 32 deletions.
53 changes: 22 additions & 31 deletions .github/workflows/fast.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,37 +34,28 @@ jobs:
with:
# Fetch at least the immediate parents so that if this is a pull request then we can checkout the head.
fetch-depth: 2
- name: Start FAST Container
shell: bash
run: |
echo "Starting FAST Container"
CONTAINER_NAME="fortify-fast"
IMAGE_NAME="fortifydocker/fortify-fast:24.2.ubuntu.2204"
mkdir -p "$HOME/.fast/certs"
echo docker run --name $CONTAINER_NAME \
-p ${FAST_PORT}:8087 \
-v "$HOME/.fast/certs:/etc/fast/certs" \
--rm \
$IMAGE_NAME \
-p ${FAST_PORT} \
-u ${SCANCENTRAL_DAST_API} \
-CIToken ${SSC_CI_TOKEN}> \
-CICDToken ${SCANCENTRAL_DAST_CICD_TOKEN}
docker run --name $CONTAINER_NAME \
-p ${FAST_PORT}:8087 \
-v "$HOME/.fast/certs:/etc/fast/certs" \
--rm \
$IMAGE_NAME \
-p ${FAST_PORT} \
-u ${SCANCENTRAL_DAST_API} \
-CIToken ${SSC_CI_TOKEN}> \
-CICDToken ${SCANCENTRAL_DAST_CICD_TOKEN}
docker ps -a
env:
FAST_PORT: ${{ env.DEFAULT_FAST_PORT }}
SCANCENTRAL_DAST_API: ${{ vars.FORTIFY_SCDAST_API_URL }}
SSC_CI_TOKEN: ${{ secrets.FORTIFY_SSC_TOKEN }}
SCANCENTRAL_DAST_CICD_TOKEN: ${{ vars.FORTIFY_SCDAST_CICD_TOKEN }}
#- name: Start FAST Container
# shell: bash
# run: |
# echo "Starting FAST Container"
# CONTAINER_NAME="fortify-fast"
# IMAGE_NAME="fortifydocker/fortify-fast:24.2.ubuntu.2204"
# mkdir -p "$HOME/.fast/certs"
# docker run --name $CONTAINER_NAME \
# -p ${FAST_PORT}:8087 \
# -v "$HOME/.fast/certs:/etc/fast/certs" \
# --rm \
# $IMAGE_NAME \
# -p ${FAST_PORT} \
# -u ${SCANCENTRAL_DAST_API} \
# -CIToken ${SSC_CI_TOKEN}> \
# -CICDToken ${SCANCENTRAL_DAST_CICD_TOKEN}
# docker ps -a
# env:
# FAST_PORT: ${{ env.DEFAULT_FAST_PORT }}
# SCANCENTRAL_DAST_API: ${{ vars.FORTIFY_SCDAST_API_URL }}
# SSC_CI_TOKEN: ${{ secrets.FORTIFY_SSC_TOKEN }}
# SCANCENTRAL_DAST_CICD_TOKEN: ${{ vars.FORTIFY_SCDAST_CICD_TOKEN }}
- name: Set up Python 3.12
uses: actions/setup-python@v1
with:
Expand Down
2 changes: 1 addition & 1 deletion Pipfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@ pytest-xdist = "*"

[requires]
python_version = "3.12"
python_full_version = "3.12.4"
#python_full_version = "3.12.4"

0 comments on commit e174ed3

Please sign in to comment.