Skip to content

Commit

Permalink
Codigo vulnerabilidad reparada
Browse files Browse the repository at this point in the history
  • Loading branch information
Ubuntu committed Sep 10, 2024
1 parent 28d56ba commit bdb597e
Show file tree
Hide file tree
Showing 2 changed files with 43 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/dast-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,19 @@ jobs:

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v3
dast:
name: ZAP - DAST Test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
name: Checkout code

- name: run api
run: |
npm install
npm run dev&
- name: ZAP Scan
uses: zaproxy/action-api-scan@v0.7.0
with:
target: 'http://localhost:3000/search?q=123'
27 changes: 27 additions & 0 deletions .github/workflows/zap-dast-test.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: deploy

on:
push:
branches: ["main--p"]

env:
REGISTRY: nogueranv
IMAGE_NAME: rest_api

jobs:
build:
name: ZAP - DAST Test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
name: Checkout code

- name: run api
run: |
npm install
npm run dev&
- name: ZAP Scan
uses: zaproxy/action-api-scan@v0.7.0
with:
target: 'http://localhost:3000/search?q=123'

0 comments on commit bdb597e

Please sign in to comment.