From beaf1fbe193ae88b288eef437beb6e33873ade40 Mon Sep 17 00:00:00 2001 From: walter-iriusrisk Date: Wed, 29 Nov 2023 15:33:12 +0000 Subject: [PATCH] adding truffelhog --- .github/workflows/main.yaml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml index 16d6f93..aee7416 100644 --- a/.github/workflows/main.yaml +++ b/.github/workflows/main.yaml @@ -41,6 +41,20 @@ jobs: pip install -r requirements.txt python manage.py test taskManager + secret_scanning: + runs-on: ubuntu-20.04 + needs: test + steps: + - uses: actions/checkout@v2 + + - run: docker run --rm -v $(pwd):/src hysnsec/trufflehog filesystem --directory=/src --json > trufflehog-output.json + + - uses: actions/upload-artifact@v2 + with: + name: TruffleHog + path: trufflehog-output.json + if: always() # what is this for? + integration: runs-on: ubuntu-20.04 needs: test