From 207932bb9c4a29fe75fe37ce7972c340c2ce0fad Mon Sep 17 00:00:00 2001 From: FelipeSantosAppSafe Date: Thu, 25 Sep 2025 20:57:24 -0300 Subject: [PATCH] Create security.yml --- .github/workflows/security.yml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 .github/workflows/security.yml diff --git a/.github/workflows/security.yml b/.github/workflows/security.yml new file mode 100644 index 0000000..675669c --- /dev/null +++ b/.github/workflows/security.yml @@ -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 }}