-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
a2a0270
commit 255362d
Showing
1 changed file
with
48 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
name: Trufflehog Monthly Deep Scan | ||
|
||
|
||
on: | ||
push: | ||
branches: | ||
- "**" | ||
|
||
jobs: | ||
trufflehog-scan: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v2 | ||
- name: Install Trufflehog-latest | ||
run: | | ||
pip3 install trufflehog | ||
- name: Run Trufflehog Monthly Deep Scan | ||
|
||
#Configure the correct git url of the repo to be scanned | ||
run: | | ||
trufflehog https://github.com/rahulgandhijayabalan-bc/ccs-ppg-notification-api.git --regex --entropy=TRUE | ||
- #name: Send email notification | ||
#uses: | ||
#dawidd6/action-send-mail@v3.1.0 | ||
#if: always() | ||
|
||
#with: | ||
#server_address: ${{ secrets.SERVER_ADDRESS }} | ||
#server_port: ${{ secrets.SERVER_PORT }} | ||
# username: ${{ secrets.USER_NAME }} | ||
#password: ${{ secrets.PASSWORD }} | ||
#subject: Trufflehog Monthly Deep Scan - "${{ github.repository }}" | ||
#to: "rahulgandhi.jayabalan@brickendon.com,ponselvam.sakthivel@brickendon.com, cybersecurity@crowncommercial.gov.uk" | ||
#from: "secops@brickendon.com" | ||
#body: | | ||
|
||
# Hi, | ||
|
||
# The Trufflehog Monthly Deep Scan has completed for "${{ github.repository }}". Please review the results below: | ||
|
||
#Scan Job URL: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }} | ||
|
||
#Scan Status: **${{ job.status }}** | ||
|
||
#Thank You. | ||
#Brickendon SecOps |