From d2ed7a321f6b88d8343c19ccfbfb457546527c26 Mon Sep 17 00:00:00 2001 From: Kirill Saltanov Date: Sun, 17 Nov 2024 00:45:10 +0400 Subject: [PATCH] Update main.yml --- .github/workflows/main.yml | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 3c9085c..6f66a05 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -21,5 +21,14 @@ jobs: run: pip install bandit - name: Run Bandit Scan - run: bandit -ll -ii -r . - + #safe report in json format + run: bandit -ll -ii -r . -f json -o bandit-report.json + + - name: Upload Artifact + uses: actions/upload-artifact@v3 + #execute this step no matter of previous status + if: always() + with: + #how artifacts will be named when exported + name: bandit-findings.json + path: bandit-report.json