add pentest
This commit is contained in:
parent
a103ec71e3
commit
ec3fbcec5b
|
@ -38,6 +38,33 @@ jobs:
|
|||
env:
|
||||
SEMGREP_RULES: p/typescript
|
||||
|
||||
dast:
|
||||
name: Pentest
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- name: Setup Node
|
||||
uses: actions/setup-node@v3
|
||||
with:
|
||||
node-version: '18'
|
||||
cache: 'yarn'
|
||||
|
||||
- name: Install dependencies
|
||||
run: yarn ci
|
||||
|
||||
- name: Build
|
||||
run: yarn build
|
||||
|
||||
- name: Run
|
||||
run: yarn start
|
||||
|
||||
- name: Run pentest
|
||||
uses: PortSwigger/dastardly-github-action@main
|
||||
with:
|
||||
target-url: 'http://localhost:3000'
|
||||
|
||||
sca:
|
||||
name: Dependency Scan
|
||||
runs-on: ubuntu-latest
|
||||
|
|
Loading…
Reference in New Issue