Sha256: 8e2595477f0b3ea8a1dc26fb3307028557576045e5bcaf2694ac0322109d6945

Contents?: true

Size: 1.17 KB

Versions: 13

Compression:

Stored size: 1.17 KB

Contents

name: Github Secrets Scanner

on: [push]

jobs:
  build:

    runs-on: ubuntu-latest
    env:
      REPO: https://github.com/projecttacoma/cqm-models
      REMOTE_EXCLUDES_URL: https://raw.githubusercontent.com/casey-erdmann/bmat-gitleaks-automation/master/cqm-models/gitleaks.toml
      GITLEAKS_VERSION: v3.0.3
    steps:
    - name: Execute Gitleaks
      run: |
        wget ${REMOTE_EXCLUDES_URL} -O gitleaks.toml
        wget https://github.com/zricethezav/gitleaks/releases/download/${GITLEAKS_VERSION}/gitleaks-linux-amd64 -O gitleaks
        chmod +x gitleaks
        echo ${GITHUB_SHA}
        echo "gitleaks --repo=${REPO} -v --pretty --redact --commit=${GITHUB_SHA} --config=gitleaks.toml"
        ./gitleaks --repo=${REPO} -v --pretty --redact --commit=${GITHUB_SHA} --config=gitleaks.toml
    - name: Slack notification
      if: failure()
      env:
        SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }}
      uses: Ilshidur/action-slack@master
      with:
        args: 'Potential Secrets found in: https://github.com/{{ GITHUB_REPOSITORY }}/commit/{{ GITHUB_SHA }}. Link to build with full gitleaks output: https://github.com/{{ GITHUB_REPOSITORY }}/commit/{{ GITHUB_SHA }}/checks'

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
cqm-models-3.1.2 .github/workflows/gitleaks_github_actions.yml
cqm-models-4.1.1 .github/workflows/gitleaks_github_actions.yml
cqm-models-4.1.0 .github/workflows/gitleaks_github_actions.yml
cqm-models-4.0.2 .github/workflows/gitleaks_github_actions.yml
cqm-models-4.0.1 .github/workflows/gitleaks_github_actions.yml
cqm-models-4.0.0 .github/workflows/gitleaks_github_actions.yml
cqm-models-3.1.1 .github/workflows/gitleaks_github_actions.yml
cqm-models-3.1.0 .github/workflows/gitleaks_github_actions.yml
cqm-models-3.0.6 .github/workflows/gitleaks_github_actions.yml
cqm-models-3.0.5 .github/workflows/gitleaks_github_actions.yml
cqm-models-3.0.4 .github/workflows/gitleaks_github_actions.yml
cqm-models-3.0.3 .github/workflows/gitleaks_github_actions.yml
cqm-models-3.0.2 .github/workflows/gitleaks_github_actions.yml