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

Add --after-date for github subcommand #2519

Open
dwisiswant0 opened this issue Feb 28, 2024 · 0 comments
Open

Add --after-date for github subcommand #2519

dwisiswant0 opened this issue Feb 28, 2024 · 0 comments

Comments

@dwisiswant0
Copy link

Please review the Community Note before submitting

Description

I've noticed that using the github subcommand without providing a --token only checks public repos. This works well for me because I'm specifically searching for leaked secrets in public repos. However, I want to automate this process using GitHub Actions, scheduling scans every week or so. The issue is, if I do this, I'll end up with the same results each time, which just creates unnecessary noise. Plus, using --since-commit isn't achievable by design.

Preferred Solution

I suggest adding support for --after-date to scan for leaked secrets in commits made after a specified date, making it easier to integrate into CI/CD pipelines. This way, I can save the date of the last scan and use it for the next one.

Additional Context

Implementing this feature would simplify the CI/CD setup and ensure more effective scanning by avoiding redundant results.

References

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

1 participant