From 3b846c64759c239648406462293214214cc850c3 Mon Sep 17 00:00:00 2001 From: Mouhcine MESMOUKI Date: Thu, 23 Nov 2023 14:32:19 +0100 Subject: [PATCH] Adding: New workflow Trufflehog file --- .github/workflows/trufflehog.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .github/workflows/trufflehog.yml diff --git a/.github/workflows/trufflehog.yml b/.github/workflows/trufflehog.yml new file mode 100644 index 0000000..92c3b2d --- /dev/null +++ b/.github/workflows/trufflehog.yml @@ -0,0 +1,23 @@ +name: TruffleHog Secrets Scanning + +on: [push] + +jobs: + TruffleHog-Scan: + runs-on: ubuntu-latest + + steps: + - name: Check out code + uses: actions/checkout@v2 + + - name: Setup Python + uses: actions/setup-python@v2 + with: + python-version: '3.x' + + - name: Install TruffleHog + run: pip install truffleHog + + - name: Run TruffleHog + run: truffleHog --regex --entropy=False https://github.com/Crushoverride007/Project-Sigma.git +