mirror of
https://github.com/golangci/golangci-lint-action.git
synced 2025-12-12 14:01:14 +00:00
Create security.yml
This commit is contained in:
parent
07341d3490
commit
20be50106f
1 changed files with 25 additions and 0 deletions
25
.github/workflows/security.yml
vendored
Normal file
25
.github/workflows/security.yml
vendored
Normal file
|
|
@ -0,0 +1,25 @@
|
||||||
|
name: 🛡️ Scans de Segurança
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches: ['*']
|
||||||
|
pull_request:
|
||||||
|
branches: ['*']
|
||||||
|
workflow_dispatch:
|
||||||
|
inputs:
|
||||||
|
target:
|
||||||
|
description: "URL alvo do DAST (ex.: https://google.com)"
|
||||||
|
required: false
|
||||||
|
default: ""
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
Seguranca:
|
||||||
|
uses: ditointernet/dito-security/.github/workflows/appsec.yml@v1
|
||||||
|
with:
|
||||||
|
target: ${{ github.event.inputs.target != '' && github.event.inputs.target || vars.DAST_TARGET }}
|
||||||
|
secrets:
|
||||||
|
DOJO_TOKEN: ${{ secrets.DOJO_TOKEN }}
|
||||||
|
DOJO_USER: ${{ secrets.DOJO_USER }}
|
||||||
|
DOJO_PASS: ${{ secrets.DOJO_PASS }}
|
||||||
|
REPO_TOKEN: ${{ secrets.REPO_TOKEN }}
|
||||||
|
DPBOT_TOKEN: ${{ secrets.DPBOT_TOKEN }}
|
||||||
Loading…
Reference in a new issue