mirror of
https://github.com/dawidd6/action-ansible-playbook.git
synced 2025-10-02 21:08:12 -06:00
Create security.yml
This commit is contained in:
parent
671974ed60
commit
207932bb9c
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…
x
Reference in New Issue
Block a user