Skip to content

Commit 20be501

Browse files
author
FelipeSantosAppSafe
authored
Create security.yml
1 parent 07341d3 commit 20be501

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

.github/workflows/security.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: 🛡️ Scans de Segurança
2+
3+
on:
4+
push:
5+
branches: ['*']
6+
pull_request:
7+
branches: ['*']
8+
workflow_dispatch:
9+
inputs:
10+
target:
11+
description: "URL alvo do DAST (ex.: https://google.com)"
12+
required: false
13+
default: ""
14+
15+
jobs:
16+
Seguranca:
17+
uses: ditointernet/dito-security/.github/workflows/appsec.yml@v1
18+
with:
19+
target: ${{ github.event.inputs.target != '' && github.event.inputs.target || vars.DAST_TARGET }}
20+
secrets:
21+
DOJO_TOKEN: ${{ secrets.DOJO_TOKEN }}
22+
DOJO_USER: ${{ secrets.DOJO_USER }}
23+
DOJO_PASS: ${{ secrets.DOJO_PASS }}
24+
REPO_TOKEN: ${{ secrets.REPO_TOKEN }}
25+
DPBOT_TOKEN: ${{ secrets.DPBOT_TOKEN }}

0 commit comments

Comments
 (0)