Skip to content

Commit

Permalink
Merge pull request #53 from salman-accuknox/dev
Browse files Browse the repository at this point in the history
Dev
  • Loading branch information
salman-accuknox authored Dec 16, 2024
2 parents 8c0f0bb + 897d49b commit 75d8d6d
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/secret-scan.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: secret-scan
on:
push:
branches:
- main
- dev
pull_request:
branches:
- main
- dev
workflow_dispatch:

jobs:
truffle:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
fetch-depth: 0
ref: ${{ github.head_ref }}

- name: Accuknox Secret Scan
uses: pishone-accuknox/[email protected]
with:
endpoint: ${{ secrets.CSPM_URL }}
tenant_id: ${{ secrets.TENANT_ID }}
label: ${{ vars.LABEL_ID }}
token: ${{ secrets.CSPM_TOKEN }}
fail: "false"

0 comments on commit 75d8d6d

Please sign in to comment.