Skip to content

Create Everest API Key Detector #4146

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

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

Conversation

harmonherring-pro
Copy link
Contributor

Description:

Creates a detector for Everest API Keys (docs)

Checklist:

  • Tests passing (make test-community)?
  • Lint passing (make lint this requires golangci-lint)?

@harmonherring-pro harmonherring-pro marked this pull request as ready for review May 16, 2025 19:14
@harmonherring-pro harmonherring-pro requested review from a team as code owners May 16, 2025 19:14
@kashifkhan0771
Copy link
Contributor

kashifkhan0771 commented May 19, 2025

Thank you @harmonherring-pro for the contribution - Can you also add the integration tests in *_integration_test.go file?

return
}

func verifyMatch(ctx context.Context, client *http.Client, token string) (bool, map[string]string, error) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@harmonherring-pro Possibly nitpick, but since we're returning nil in all cases, it would seem like a cleaner choice to remove map[string]string from the result of verifyMatch.

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

Successfully merging this pull request may close these issues.

3 participants