Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enhancement | GITLEAKS_NOTIFY_USER_LIST to use GitHub Teams #140

Open
tim-chaffin opened this issue Mar 12, 2024 · 0 comments
Open

Enhancement | GITLEAKS_NOTIFY_USER_LIST to use GitHub Teams #140

tim-chaffin opened this issue Mar 12, 2024 · 0 comments

Comments

@tim-chaffin
Copy link

It would be exceptionally convenient if instead of notifying a comma separated list of users, we could use a GitHub Team. The syntax would be identical to that which is used in CODEOWNERS.

Proposed usage:

name: gitleaks
on:
  schedule:
    - cron: "0 4 * * *" # run once a day at 4 AM
jobs:
  scan:
    name: gitleaks
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v3
        with:
          fetch-depth: 0
      - uses: gitleaks/gitleaks-action@v2
        env:
          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
          GITLEAKS_LICENSE: ${{ secrets.GITLEAKS_LICENSE}}
          GITLEAKS_NOTIFY_USER_LIST: @foo-org/github-security-managers
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant