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

feature(rule): Added new rule for detecting sourcegraph access token #252

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

shivasurya
Copy link

Added sourcegraph access token rule and tested it locally. Happy to make changes if any.

Test

  • Added test
running 6 tests
test rules::rules_list_no_builtins ... ok
test rules::rules_list_jsonl ... ok
test help::help_rules ... ok
test rules::rules_list_noargs ... ok
test rules::rules_list_json ... ok
test rules::rules_check_builtins ... ok

test result: ok. 6 passed; 0 failed; 0 ignored; 0 measured; 78 filtered out; finished in 2.77s

@bradlarsen bradlarsen added enhancement New feature or request detection Related to rules or detection of sensitive information labels Feb 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
detection Related to rules or detection of sensitive information enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants