Skip to content

Commit

Permalink
Update synk-zap-sls.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
venkatadhatri authored May 3, 2024
1 parent 3da7641 commit 8e6c0b7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/synk-zap-sls.yml
Original file line number Diff line number Diff line change
Expand Up @@ -125,14 +125,14 @@ jobs:
echo "::set-output name=runner_ip::$(hostname -I | cut -d' ' -f1)"
# Step 2: Add the command to start Docker image on port 4200
- name: Start Docker image on port 80
run: docker run -d -p 80:80 ncats/smartgraph_frontend:${{ needs.Snyk-Docker-Image.outputs.build_version }}
- name: Start Docker image on port 4200
run: docker run -d -p 4200:4200 ncats/smartgraph_frontend:${{ needs.Snyk-Docker-Image.outputs.build_version }}

# Step 3: ZAP BASELINE SCAN
- name: ZAP base Scan
uses: zaproxy/[email protected]
with:
target: 'http://${{ steps.get_runner_ip.outputs.runner_ip }}:8023' # ip address of the runner
target: 'http://${{ steps.get_runner_ip.outputs.runner_ip }}:4200' # ip address of the runner
docker_name: 'ghcr.io/zaproxy/zaproxy:stable'
token: ${{ secrets.GITHUB_TOKEN }}
fail_action: false
Expand Down

0 comments on commit 8e6c0b7

Please sign in to comment.