Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 30 additions & 0 deletions .github/workflows/gitleaks_defenderforcloud.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
---
name: Gitleaks_DefenderforCloud
on: # yamllint disable-line rule:truthy

workflow_dispatch:
schedule:
- cron: "0 22 * * *" # every day 22:00 UTC
permissions:
actions: read
contents: read
security-events: write
pull-requests: read

concurrency:
group: gitleaks-${{ github.ref }}
cancel-in-progress: true

jobs:
scan:
uses: NHSDigital/nhsapp-github-migration-tools/.github/workflows/gitleaks_secret_scan.yml@main
secrets:
NHSAPP_GITLEAKS_LICENSE: ${{ secrets.NHSAPP_GITLEAKS_LICENSE }}
scan2:
needs: scan
if: always()
uses: NHSDigital/nhsapp-github-migration-tools/.github/workflows/gitleaks_defenderforcloud.yml@main
with:
artifact_name: gitleaks-results.sarif
# yamllint disable-line rule:new-line-at-end-of-file
sarif_path: results.sarif
Loading