We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fdd0b99 commit 604d74bCopy full SHA for 604d74b
.github/workflows/unit-sec-test.yml
@@ -57,6 +57,9 @@ jobs:
57
run: |
58
docker build -t awesome-fastapi:${{ github.sha }} .
59
docker run -d -p 8000:8000 awesome-fastapi:${{ github.sha }}
60
+
61
+ - name: Wait for Docker container to be ready
62
+ run: sleep 30
63
64
# Run OWASP ZAP scan
65
- name: zap scan
@@ -65,6 +68,6 @@ jobs:
68
token: ${{ secrets.GITHUB_TOKEN }}
66
69
docker_name: 'ghcr.io/zaproxy/zaproxy:stable'
67
70
format: openapi
- target: 'http://localhost:8000'
71
+ target: 'http://0.0.0.0:8000'
72
rules_file_name: '.zap/rules.tsv'
73
cmd_options: '-a'
0 commit comments